e00a2578fc9128ebc15ed81a42c7a71a8b533079
[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 _0x22ea=['name','TEXT','long','getDataValue','preproduction','BLOB','production','toString','utf8','DATE','sequelize','exports','STRING'];(function(_0x240618,_0x4f2f56){var _0x546fe0=function(_0x515f09){while(--_0x515f09){_0x240618['push'](_0x240618['shift']());}};_0x546fe0(++_0x4f2f56);}(_0x22ea,0xb3));var _0xa22e=function(_0x49d0da,_0x1bd55b){_0x49d0da=_0x49d0da-0x0;var _0x49b451=_0x22ea[_0x49d0da];return _0x49b451;};'use strict';var Sequelize=require(_0xa22e('0x0'));module[_0xa22e('0x1')]={'name':{'type':Sequelize[_0xa22e('0x2')],'unique':_0xa22e('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0xa22e('0x4')]},'preproduction':{'type':Sequelize['BLOB'](_0xa22e('0x5')),'get':function(){if(this[_0xa22e('0x6')](_0xa22e('0x7'))){return this[_0xa22e('0x6')](_0xa22e('0x7'))['toString']('utf8');}}},'production':{'type':Sequelize[_0xa22e('0x8')](_0xa22e('0x5')),'get':function(){if(this[_0xa22e('0x6')](_0xa22e('0x9'))){return this[_0xa22e('0x6')](_0xa22e('0x9'))[_0xa22e('0xa')](_0xa22e('0xb'));}}},'savedAt':{'type':Sequelize[_0xa22e('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};