1f271e84f19cb28c9c797b4681e10171d88209a5
[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 _0xf11e=['long','getDataValue','preproduction','toString','utf8','BLOB','production','DATE','sequelize','STRING','name'];(function(_0x4f1ed8,_0xf41af7){var _0x5566d5=function(_0x239193){while(--_0x239193){_0x4f1ed8['push'](_0x4f1ed8['shift']());}};_0x5566d5(++_0xf41af7);}(_0xf11e,0x11b));var _0xef11=function(_0x3a2d4e,_0x5f154c){_0x3a2d4e=_0x3a2d4e-0x0;var _0x3c62b8=_0xf11e[_0x3a2d4e];return _0x3c62b8;};'use strict';var Sequelize=require(_0xef11('0x0'));module['exports']={'name':{'type':Sequelize[_0xef11('0x1')],'unique':_0xef11('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xef11('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0xef11('0x3')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0xef11('0x4')](_0xef11('0x5'))[_0xef11('0x6')](_0xef11('0x7'));}}},'production':{'type':Sequelize[_0xef11('0x8')](_0xef11('0x3')),'get':function(){if(this[_0xef11('0x4')]('production')){return this[_0xef11('0x4')](_0xef11('0x9'))[_0xef11('0x6')](_0xef11('0x7'));}}},'savedAt':{'type':Sequelize[_0xef11('0xa')]},'publishedAt':{'type':Sequelize[_0xef11('0xa')]}};