9fffffca23d78f013c74334289533de0bd5dca6e
[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 _0x1b29=['name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0x5ddeec,_0x51f9b8){var _0x99a12f=function(_0x35221b){while(--_0x35221b){_0x5ddeec['push'](_0x5ddeec['shift']());}};_0x99a12f(++_0x51f9b8);}(_0x1b29,0x7f));var _0x91b2=function(_0x337d16,_0x2983d8){_0x337d16=_0x337d16-0x0;var _0x2ca9bc=_0x1b29[_0x337d16];return _0x2ca9bc;};'use strict';var Sequelize=require(_0x91b2('0x0'));module[_0x91b2('0x1')]={'name':{'type':Sequelize[_0x91b2('0x2')],'unique':_0x91b2('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x91b2('0x2')]},'notes':{'type':Sequelize[_0x91b2('0x4')]},'preproduction':{'type':Sequelize[_0x91b2('0x5')](_0x91b2('0x6')),'get':function(){if(this[_0x91b2('0x7')](_0x91b2('0x8'))){return this[_0x91b2('0x7')]('preproduction')[_0x91b2('0x9')](_0x91b2('0xa'));}}},'production':{'type':Sequelize[_0x91b2('0x5')](_0x91b2('0x6')),'get':function(){if(this[_0x91b2('0x7')](_0x91b2('0xb'))){return this[_0x91b2('0x7')](_0x91b2('0xb'))[_0x91b2('0x9')](_0x91b2('0xa'));}}},'savedAt':{'type':Sequelize[_0x91b2('0xc')]},'publishedAt':{'type':Sequelize[_0x91b2('0xc')]}};