201c3789b160cd2680ae01ccd7ca7b98a074ab28
[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 _0xdc96=['exports','name','TEXT','BLOB','getDataValue','preproduction','utf8','long','production'];(function(_0x36de71,_0x148629){var _0x304290=function(_0x217b19){while(--_0x217b19){_0x36de71['push'](_0x36de71['shift']());}};_0x304290(++_0x148629);}(_0xdc96,0x1b0));var _0x6dc9=function(_0x45d3f0,_0x4be53f){_0x45d3f0=_0x45d3f0-0x0;var _0x314b79=_0xdc96[_0x45d3f0];return _0x314b79;};'use strict';var Sequelize=require('sequelize');module[_0x6dc9('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x6dc9('0x1'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x6dc9('0x2')]},'preproduction':{'type':Sequelize[_0x6dc9('0x3')]('long'),'get':function(){if(this[_0x6dc9('0x4')]('preproduction')){return this[_0x6dc9('0x4')](_0x6dc9('0x5'))['toString'](_0x6dc9('0x6'));}}},'production':{'type':Sequelize[_0x6dc9('0x3')](_0x6dc9('0x7')),'get':function(){if(this[_0x6dc9('0x4')]('production')){return this['getDataValue'](_0x6dc9('0x8'))['toString'](_0x6dc9('0x6'));}}}};