Built motion from commit (unavailable).|2.5.31
[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 _0x0364=['name','STRING','TEXT','BLOB','preproduction','getDataValue','utf8','production','toString','DATE','sequelize'];(function(_0x160aed,_0x556cda){var _0x1c38a2=function(_0xc6591c){while(--_0xc6591c){_0x160aed['push'](_0x160aed['shift']());}};_0x1c38a2(++_0x556cda);}(_0x0364,0xaf));var _0x4036=function(_0x3f8980,_0x4f808d){_0x3f8980=_0x3f8980-0x0;var _0x1fafa6=_0x0364[_0x3f8980];return _0x1fafa6;};'use strict';var Sequelize=require(_0x4036('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x4036('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x4036('0x2')]},'notes':{'type':Sequelize[_0x4036('0x3')]},'preproduction':{'type':Sequelize[_0x4036('0x4')]('long'),'get':function(){if(this['getDataValue'](_0x4036('0x5'))){return this[_0x4036('0x6')](_0x4036('0x5'))['toString'](_0x4036('0x7'));}}},'production':{'type':Sequelize[_0x4036('0x4')]('long'),'get':function(){if(this['getDataValue'](_0x4036('0x8'))){return this['getDataValue'](_0x4036('0x8'))[_0x4036('0x9')](_0x4036('0x7'));}}},'savedAt':{'type':Sequelize[_0x4036('0xa')]},'publishedAt':{'type':Sequelize[_0x4036('0xa')]}};