006c26b0c13a14a8708371295fdfa64ce2ddd7e1
[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 _0x2b87=['name','TEXT','getDataValue','preproduction','toString','utf8','BLOB','long','production','DATE','sequelize','exports','STRING'];(function(_0x92ef08,_0x1c7caa){var _0x452787=function(_0x51800a){while(--_0x51800a){_0x92ef08['push'](_0x92ef08['shift']());}};_0x452787(++_0x1c7caa);}(_0x2b87,0x72));var _0x72b8=function(_0x46f135,_0x4bc81a){_0x46f135=_0x46f135-0x0;var _0x56a52c=_0x2b87[_0x46f135];return _0x56a52c;};'use strict';var Sequelize=require(_0x72b8('0x0'));module[_0x72b8('0x1')]={'name':{'type':Sequelize[_0x72b8('0x2')],'unique':_0x72b8('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x72b8('0x4')]},'preproduction':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0x72b8('0x5')](_0x72b8('0x6'))){return this[_0x72b8('0x5')]('preproduction')[_0x72b8('0x7')](_0x72b8('0x8'));}}},'production':{'type':Sequelize[_0x72b8('0x9')](_0x72b8('0xa')),'get':function(){if(this['getDataValue'](_0x72b8('0xb'))){return this[_0x72b8('0x5')](_0x72b8('0xb'))[_0x72b8('0x7')](_0x72b8('0x8'));}}},'savedAt':{'type':Sequelize[_0x72b8('0xc')]},'publishedAt':{'type':Sequelize[_0x72b8('0xc')]}};