4a64b403c3c6c6ae050509acb1ae23b2a5e92255
[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 _0x038f=['name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0x33bc64,_0x4d1e92){var _0x3fdd34=function(_0x4b40a4){while(--_0x4b40a4){_0x33bc64['push'](_0x33bc64['shift']());}};_0x3fdd34(++_0x4d1e92);}(_0x038f,0xf4));var _0xf038=function(_0x54d52,_0x2473ba){_0x54d52=_0x54d52-0x0;var _0x968345=_0x038f[_0x54d52];return _0x968345;};'use strict';var Sequelize=require(_0xf038('0x0'));module[_0xf038('0x1')]={'name':{'type':Sequelize[_0xf038('0x2')],'unique':_0xf038('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xf038('0x2')]},'notes':{'type':Sequelize[_0xf038('0x4')]},'preproduction':{'type':Sequelize[_0xf038('0x5')](_0xf038('0x6')),'get':function(){if(this[_0xf038('0x7')](_0xf038('0x8'))){return this[_0xf038('0x7')](_0xf038('0x8'))[_0xf038('0x9')](_0xf038('0xa'));}}},'production':{'type':Sequelize['BLOB'](_0xf038('0x6')),'get':function(){if(this[_0xf038('0x7')](_0xf038('0xb'))){return this['getDataValue'](_0xf038('0xb'))[_0xf038('0x9')](_0xf038('0xa'));}}},'savedAt':{'type':Sequelize[_0xf038('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};