bc269e90d7f5b8b7669e57dfffc7fda466315d6b
[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 _0xd566=['TEXT','long','getDataValue','preproduction','utf8','BLOB','production','toString','DATE','sequelize','exports','STRING','name'];(function(_0x511ff6,_0x426c0b){var _0x2ce7af=function(_0x52e7a5){while(--_0x52e7a5){_0x511ff6['push'](_0x511ff6['shift']());}};_0x2ce7af(++_0x426c0b);}(_0xd566,0x100));var _0x6d56=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xd566[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require(_0x6d56('0x0'));module[_0x6d56('0x1')]={'name':{'type':Sequelize[_0x6d56('0x2')],'unique':_0x6d56('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x6d56('0x2')]},'notes':{'type':Sequelize[_0x6d56('0x4')]},'preproduction':{'type':Sequelize['BLOB'](_0x6d56('0x5')),'get':function(){if(this[_0x6d56('0x6')](_0x6d56('0x7'))){return this[_0x6d56('0x6')]('preproduction')['toString'](_0x6d56('0x8'));}}},'production':{'type':Sequelize[_0x6d56('0x9')]('long'),'get':function(){if(this[_0x6d56('0x6')](_0x6d56('0xa'))){return this[_0x6d56('0x6')](_0x6d56('0xa'))[_0x6d56('0xb')](_0x6d56('0x8'));}}},'savedAt':{'type':Sequelize[_0x6d56('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};