e24df61a865327dc3f25e1b58bd9ca08e391ca68
[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 _0xa3db=['name','TEXT','BLOB','getDataValue','preproduction','toString','utf8','long','production','DATE','sequelize','exports','STRING'];(function(_0x53fbb0,_0x455217){var _0x482d7d=function(_0x5ab559){while(--_0x5ab559){_0x53fbb0['push'](_0x53fbb0['shift']());}};_0x482d7d(++_0x455217);}(_0xa3db,0x183));var _0xba3d=function(_0x483591,_0x57104e){_0x483591=_0x483591-0x0;var _0x3536c0=_0xa3db[_0x483591];return _0x3536c0;};'use strict';var Sequelize=require(_0xba3d('0x0'));module[_0xba3d('0x1')]={'name':{'type':Sequelize[_0xba3d('0x2')],'unique':_0xba3d('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xba3d('0x2')]},'notes':{'type':Sequelize[_0xba3d('0x4')]},'preproduction':{'type':Sequelize[_0xba3d('0x5')]('long'),'get':function(){if(this[_0xba3d('0x6')](_0xba3d('0x7'))){return this[_0xba3d('0x6')]('preproduction')[_0xba3d('0x8')](_0xba3d('0x9'));}}},'production':{'type':Sequelize[_0xba3d('0x5')](_0xba3d('0xa')),'get':function(){if(this['getDataValue'](_0xba3d('0xb'))){return this[_0xba3d('0x6')](_0xba3d('0xb'))[_0xba3d('0x8')](_0xba3d('0x9'));}}},'savedAt':{'type':Sequelize[_0xba3d('0xc')]},'publishedAt':{'type':Sequelize[_0xba3d('0xc')]}};