77f0a71ff585f6a720a7863959e086e4ab31b5d7
[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 _0x2fd5=['DATE','sequelize','exports','STRING','TEXT','BLOB','getDataValue','preproduction','toString','utf8','production'];(function(_0x56f530,_0x38a38a){var _0x577d6d=function(_0x19ec64){while(--_0x19ec64){_0x56f530['push'](_0x56f530['shift']());}};_0x577d6d(++_0x38a38a);}(_0x2fd5,0x182));var _0x52fd=function(_0x2e4ad1,_0x3a19fd){_0x2e4ad1=_0x2e4ad1-0x0;var _0x3ffd0e=_0x2fd5[_0x2e4ad1];return _0x3ffd0e;};'use strict';var Sequelize=require(_0x52fd('0x0'));module[_0x52fd('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x52fd('0x2')]},'notes':{'type':Sequelize[_0x52fd('0x3')]},'preproduction':{'type':Sequelize[_0x52fd('0x4')]('long'),'get':function(){if(this[_0x52fd('0x5')](_0x52fd('0x6'))){return this['getDataValue'](_0x52fd('0x6'))[_0x52fd('0x7')](_0x52fd('0x8'));}}},'production':{'type':Sequelize[_0x52fd('0x4')]('long'),'get':function(){if(this[_0x52fd('0x5')](_0x52fd('0x9'))){return this['getDataValue'](_0x52fd('0x9'))[_0x52fd('0x7')](_0x52fd('0x8'));}}},'savedAt':{'type':Sequelize[_0x52fd('0xa')]},'publishedAt':{'type':Sequelize[_0x52fd('0xa')]}};