68bdab58bb8512e94e3b62933de3c8b9f961b633
[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 _0xcd15=['exports','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize'];(function(_0x381a28,_0x4eb359){var _0x5e572d=function(_0x46b8bf){while(--_0x46b8bf){_0x381a28['push'](_0x381a28['shift']());}};_0x5e572d(++_0x4eb359);}(_0xcd15,0xf6));var _0x5cd1=function(_0x178e48,_0x3c9509){_0x178e48=_0x178e48-0x0;var _0x440d7e=_0xcd15[_0x178e48];return _0x440d7e;};'use strict';var Sequelize=require(_0x5cd1('0x0'));module[_0x5cd1('0x1')]={'name':{'type':Sequelize[_0x5cd1('0x2')],'unique':_0x5cd1('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x5cd1('0x2')]},'notes':{'type':Sequelize[_0x5cd1('0x4')]},'preproduction':{'type':Sequelize[_0x5cd1('0x5')](_0x5cd1('0x6')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0x5cd1('0x7')](_0x5cd1('0x8'))[_0x5cd1('0x9')](_0x5cd1('0xa'));}}},'production':{'type':Sequelize[_0x5cd1('0x5')](_0x5cd1('0x6')),'get':function(){if(this[_0x5cd1('0x7')](_0x5cd1('0xb'))){return this[_0x5cd1('0x7')](_0x5cd1('0xb'))['toString'](_0x5cd1('0xa'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x5cd1('0xc')]}};