Built motion from commit 6a0adb95.|2.6.31
[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 _0x991e=['toString','utf8','production','DATE','sequelize','BLOB','long','preproduction','getDataValue'];(function(_0x922aba,_0x50eec5){var _0x762c50=function(_0x1149d4){while(--_0x1149d4){_0x922aba['push'](_0x922aba['shift']());}};_0x762c50(++_0x50eec5);}(_0x991e,0x70));var _0xe991=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0x991e[_0x138adb];return _0x1b27f2;};'use strict';var Sequelize=require(_0xe991('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xe991('0x1')](_0xe991('0x2')),'get':function(){if(this['getDataValue'](_0xe991('0x3'))){return this[_0xe991('0x4')](_0xe991('0x3'))[_0xe991('0x5')](_0xe991('0x6'));}}},'production':{'type':Sequelize[_0xe991('0x1')](_0xe991('0x2')),'get':function(){if(this[_0xe991('0x4')](_0xe991('0x7'))){return this[_0xe991('0x4')]('production')[_0xe991('0x5')](_0xe991('0x6'));}}},'savedAt':{'type':Sequelize[_0xe991('0x8')]},'publishedAt':{'type':Sequelize[_0xe991('0x8')]}};