Built motion from commit a61a4a20.|2.5.46
[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 _0x7833=['production','DATE','sequelize','exports','name','TEXT','BLOB','long','preproduction','getDataValue','toString','utf8'];(function(_0x76b16d,_0x28f1bd){var _0x16453a=function(_0x412dae){while(--_0x412dae){_0x76b16d['push'](_0x76b16d['shift']());}};_0x16453a(++_0x28f1bd);}(_0x7833,0x1d6));var _0x3783=function(_0x2642cb,_0x4b917f){_0x2642cb=_0x2642cb-0x0;var _0xe6e41=_0x7833[_0x2642cb];return _0xe6e41;};'use strict';var Sequelize=require(_0x3783('0x0'));module[_0x3783('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x3783('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x3783('0x3')]},'preproduction':{'type':Sequelize[_0x3783('0x4')](_0x3783('0x5')),'get':function(){if(this['getDataValue'](_0x3783('0x6'))){return this[_0x3783('0x7')](_0x3783('0x6'))[_0x3783('0x8')](_0x3783('0x9'));}}},'production':{'type':Sequelize[_0x3783('0x4')](_0x3783('0x5')),'get':function(){if(this[_0x3783('0x7')](_0x3783('0xa'))){return this[_0x3783('0x7')](_0x3783('0xa'))[_0x3783('0x8')](_0x3783('0x9'));}}},'savedAt':{'type':Sequelize[_0x3783('0xb')]},'publishedAt':{'type':Sequelize[_0x3783('0xb')]}};