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