31b2406432ac6a4dc712ca72516e73e98636e001
[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 _0x4981=['name','TEXT','BLOB','getDataValue','preproduction','toString','long','production','utf8','DATE','sequelize','exports','STRING'];(function(_0x5b9ff9,_0xb61e54){var _0x176014=function(_0x4adbcd){while(--_0x4adbcd){_0x5b9ff9['push'](_0x5b9ff9['shift']());}};_0x176014(++_0xb61e54);}(_0x4981,0x19d));var _0x1498=function(_0x33e82a,_0x286676){_0x33e82a=_0x33e82a-0x0;var _0x14f9b5=_0x4981[_0x33e82a];return _0x14f9b5;};'use strict';var Sequelize=require(_0x1498('0x0'));module[_0x1498('0x1')]={'name':{'type':Sequelize[_0x1498('0x2')],'unique':_0x1498('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x1498('0x2')]},'notes':{'type':Sequelize[_0x1498('0x4')]},'preproduction':{'type':Sequelize[_0x1498('0x5')]('long'),'get':function(){if(this[_0x1498('0x6')](_0x1498('0x7'))){return this[_0x1498('0x6')](_0x1498('0x7'))[_0x1498('0x8')]('utf8');}}},'production':{'type':Sequelize[_0x1498('0x5')](_0x1498('0x9')),'get':function(){if(this['getDataValue'](_0x1498('0xa'))){return this[_0x1498('0x6')](_0x1498('0xa'))[_0x1498('0x8')](_0x1498('0xb'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x1498('0xc')]}};