7bc6b2ff0efb43694f809baf195dec61ae593963
[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 _0x2e48=['DATE','sequelize','exports','name','STRING','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production'];(function(_0x46aff0,_0x122890){var _0x9d78cf=function(_0x3f14cb){while(--_0x3f14cb){_0x46aff0['push'](_0x46aff0['shift']());}};_0x9d78cf(++_0x122890);}(_0x2e48,0x76));var _0x82e4=function(_0x51b661,_0x566ef8){_0x51b661=_0x51b661-0x0;var _0x5d1971=_0x2e48[_0x51b661];return _0x5d1971;};'use strict';var Sequelize=require(_0x82e4('0x0'));module[_0x82e4('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x82e4('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x82e4('0x3')]},'notes':{'type':Sequelize[_0x82e4('0x4')]},'preproduction':{'type':Sequelize[_0x82e4('0x5')](_0x82e4('0x6')),'get':function(){if(this[_0x82e4('0x7')](_0x82e4('0x8'))){return this[_0x82e4('0x7')]('preproduction')[_0x82e4('0x9')](_0x82e4('0xa'));}}},'production':{'type':Sequelize[_0x82e4('0x5')](_0x82e4('0x6')),'get':function(){if(this[_0x82e4('0x7')](_0x82e4('0xb'))){return this[_0x82e4('0x7')](_0x82e4('0xb'))[_0x82e4('0x9')](_0x82e4('0xa'));}}},'savedAt':{'type':Sequelize[_0x82e4('0xc')]},'publishedAt':{'type':Sequelize[_0x82e4('0xc')]}};