Built motion from commit 85328c08.|2.5.50
[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 _0x7cf8=['sequelize','exports','STRING','name','TEXT','BLOB','preproduction','getDataValue','toString','utf8','long','production','DATE'];(function(_0xcd9ec8,_0x27699f){var _0x5aa31b=function(_0x32f922){while(--_0x32f922){_0xcd9ec8['push'](_0xcd9ec8['shift']());}};_0x5aa31b(++_0x27699f);}(_0x7cf8,0xa9));var _0x87cf=function(_0x2bb35c,_0x1fe5ec){_0x2bb35c=_0x2bb35c-0x0;var _0x377721=_0x7cf8[_0x2bb35c];return _0x377721;};'use strict';var Sequelize=require(_0x87cf('0x0'));module[_0x87cf('0x1')]={'name':{'type':Sequelize[_0x87cf('0x2')],'unique':_0x87cf('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x87cf('0x2')]},'notes':{'type':Sequelize[_0x87cf('0x4')]},'preproduction':{'type':Sequelize[_0x87cf('0x5')]('long'),'get':function(){if(this['getDataValue'](_0x87cf('0x6'))){return this[_0x87cf('0x7')](_0x87cf('0x6'))[_0x87cf('0x8')](_0x87cf('0x9'));}}},'production':{'type':Sequelize[_0x87cf('0x5')](_0x87cf('0xa')),'get':function(){if(this[_0x87cf('0x7')](_0x87cf('0xb'))){return this[_0x87cf('0x7')](_0x87cf('0xb'))['toString'](_0x87cf('0x9'));}}},'savedAt':{'type':Sequelize[_0x87cf('0xc')]},'publishedAt':{'type':Sequelize[_0x87cf('0xc')]}};