Built motion from commit 58b0471d.|2.6.29
[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 _0x4796=['production','DATE','sequelize','exports','STRING','BLOB','long','preproduction','toString','utf8','getDataValue'];(function(_0x12d6c2,_0x409bc8){var _0x1c9825=function(_0x569f66){while(--_0x569f66){_0x12d6c2['push'](_0x12d6c2['shift']());}};_0x1c9825(++_0x409bc8);}(_0x4796,0x70));var _0x6479=function(_0x4c610b,_0x119651){_0x4c610b=_0x4c610b-0x0;var _0x4e1159=_0x4796[_0x4c610b];return _0x4e1159;};'use strict';var Sequelize=require(_0x6479('0x0'));module[_0x6479('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x6479('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x6479('0x3')](_0x6479('0x4')),'get':function(){if(this['getDataValue'](_0x6479('0x5'))){return this['getDataValue'](_0x6479('0x5'))[_0x6479('0x6')](_0x6479('0x7'));}}},'production':{'type':Sequelize[_0x6479('0x3')](_0x6479('0x4')),'get':function(){if(this['getDataValue']('production')){return this[_0x6479('0x8')](_0x6479('0x9'))[_0x6479('0x6')](_0x6479('0x7'));}}},'savedAt':{'type':Sequelize[_0x6479('0xa')]},'publishedAt':{'type':Sequelize[_0x6479('0xa')]}};