e0dfe3badd1ac1825c22e70fd4c624867afe7676
[motion2.git] / server / api / squareProject / squareProject.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x56a0=['name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0xee21c0,_0x54a3ab){var _0x668fb9=function(_0x3f2b93){while(--_0x3f2b93){_0xee21c0['push'](_0xee21c0['shift']());}};_0x668fb9(++_0x54a3ab);}(_0x56a0,0x101));var _0x056a=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x56a0[_0x3ab51d];return _0x29a04e;};'use strict';var Sequelize=require(_0x056a('0x0'));module[_0x056a('0x1')]={'name':{'type':Sequelize[_0x056a('0x2')],'unique':_0x056a('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x056a('0x2')]},'notes':{'type':Sequelize[_0x056a('0x4')]},'preproduction':{'type':Sequelize[_0x056a('0x5')](_0x056a('0x6')),'get':function(){if(this[_0x056a('0x7')](_0x056a('0x8'))){return this[_0x056a('0x7')](_0x056a('0x8'))[_0x056a('0x9')](_0x056a('0xa'));}}},'production':{'type':Sequelize[_0x056a('0x5')]('long'),'get':function(){if(this[_0x056a('0x7')](_0x056a('0xb'))){return this['getDataValue']('production')[_0x056a('0x9')]('utf8');}}},'savedAt':{'type':Sequelize[_0x056a('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};