74e2c1e3ea4b9c6cd942298de43960d2406aa0f0
[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 _0x2b4c=['DATE','sequelize','exports','STRING','name','TEXT','BLOB','getDataValue','preproduction','toString','utf8','long','production'];(function(_0x2a558d,_0x2df0ff){var _0xa7bc9c=function(_0x12a30e){while(--_0x12a30e){_0x2a558d['push'](_0x2a558d['shift']());}};_0xa7bc9c(++_0x2df0ff);}(_0x2b4c,0xc4));var _0xc2b4=function(_0x4380a2,_0x364079){_0x4380a2=_0x4380a2-0x0;var _0x341751=_0x2b4c[_0x4380a2];return _0x341751;};'use strict';var Sequelize=require(_0xc2b4('0x0'));module[_0xc2b4('0x1')]={'name':{'type':Sequelize[_0xc2b4('0x2')],'unique':_0xc2b4('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xc2b4('0x2')]},'notes':{'type':Sequelize[_0xc2b4('0x4')]},'preproduction':{'type':Sequelize[_0xc2b4('0x5')]('long'),'get':function(){if(this[_0xc2b4('0x6')](_0xc2b4('0x7'))){return this[_0xc2b4('0x6')](_0xc2b4('0x7'))[_0xc2b4('0x8')](_0xc2b4('0x9'));}}},'production':{'type':Sequelize[_0xc2b4('0x5')](_0xc2b4('0xa')),'get':function(){if(this[_0xc2b4('0x6')]('production')){return this['getDataValue'](_0xc2b4('0xb'))['toString'](_0xc2b4('0x9'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xc2b4('0xc')]}};