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