Built motion from commit bab6f49e.|2.6.17
[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 _0xdcd5=['exports','STRING','name','TEXT','BLOB','getDataValue','preproduction','toString','utf8','long','production','DATE','sequelize'];(function(_0x18313b,_0x5c914f){var _0x2ba97d=function(_0x41143d){while(--_0x41143d){_0x18313b['push'](_0x18313b['shift']());}};_0x2ba97d(++_0x5c914f);}(_0xdcd5,0x110));var _0x5dcd=function(_0x1b4c04,_0x8d961d){_0x1b4c04=_0x1b4c04-0x0;var _0x374f5d=_0xdcd5[_0x1b4c04];return _0x374f5d;};'use strict';var Sequelize=require(_0x5dcd('0x0'));module[_0x5dcd('0x1')]={'name':{'type':Sequelize[_0x5dcd('0x2')],'unique':_0x5dcd('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x5dcd('0x2')]},'notes':{'type':Sequelize[_0x5dcd('0x4')]},'preproduction':{'type':Sequelize[_0x5dcd('0x5')]('long'),'get':function(){if(this[_0x5dcd('0x6')](_0x5dcd('0x7'))){return this[_0x5dcd('0x6')](_0x5dcd('0x7'))[_0x5dcd('0x8')](_0x5dcd('0x9'));}}},'production':{'type':Sequelize[_0x5dcd('0x5')](_0x5dcd('0xa')),'get':function(){if(this['getDataValue']('production')){return this[_0x5dcd('0x6')](_0x5dcd('0xb'))[_0x5dcd('0x8')]('utf8');}}},'savedAt':{'type':Sequelize[_0x5dcd('0xc')]},'publishedAt':{'type':Sequelize[_0x5dcd('0xc')]}};