74a591256859b32b94b6000860def23154086c22
[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 _0xec0a=['production','DATE','sequelize','exports','STRING','name','preproduction','getDataValue','toString','utf8','BLOB','long'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xec0a,0x86));var _0xaec0=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0xec0a[_0x3947c9];return _0x2e7871;};'use strict';var Sequelize=require(_0xaec0('0x0'));module[_0xaec0('0x1')]={'name':{'type':Sequelize[_0xaec0('0x2')],'unique':_0xaec0('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xaec0('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB']('long'),'get':function(){if(this['getDataValue'](_0xaec0('0x4'))){return this[_0xaec0('0x5')](_0xaec0('0x4'))[_0xaec0('0x6')](_0xaec0('0x7'));}}},'production':{'type':Sequelize[_0xaec0('0x8')](_0xaec0('0x9')),'get':function(){if(this[_0xaec0('0x5')]('production')){return this['getDataValue'](_0xaec0('0xa'))[_0xaec0('0x6')](_0xaec0('0x7'));}}},'savedAt':{'type':Sequelize[_0xaec0('0xb')]},'publishedAt':{'type':Sequelize[_0xaec0('0xb')]}};