fc63d3fdd2c51abbbd78baf389089b15c3df3bee
[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 _0x3562=['production','DATE','sequelize','exports','name','STRING','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8'];(function(_0x3bc3fd,_0x4dd9b4){var _0x2bc389=function(_0x43b207){while(--_0x43b207){_0x3bc3fd['push'](_0x3bc3fd['shift']());}};_0x2bc389(++_0x4dd9b4);}(_0x3562,0x9e));var _0x2356=function(_0x1b515f,_0x52aa6b){_0x1b515f=_0x1b515f-0x0;var _0x66ff73=_0x3562[_0x1b515f];return _0x66ff73;};'use strict';var Sequelize=require(_0x2356('0x0'));module[_0x2356('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x2356('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x2356('0x3')]},'notes':{'type':Sequelize[_0x2356('0x4')]},'preproduction':{'type':Sequelize[_0x2356('0x5')](_0x2356('0x6')),'get':function(){if(this[_0x2356('0x7')](_0x2356('0x8'))){return this['getDataValue'](_0x2356('0x8'))[_0x2356('0x9')](_0x2356('0xa'));}}},'production':{'type':Sequelize[_0x2356('0x5')](_0x2356('0x6')),'get':function(){if(this['getDataValue'](_0x2356('0xb'))){return this[_0x2356('0x7')](_0x2356('0xb'))['toString'](_0x2356('0xa'));}}},'savedAt':{'type':Sequelize[_0x2356('0xc')]},'publishedAt':{'type':Sequelize[_0x2356('0xc')]}};