Built motion from commit 14588770.|2.5.38
[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 _0x5458=['exports','STRING','TEXT','long','getDataValue','preproduction','toString','utf8','BLOB','production','DATE','sequelize'];(function(_0x17cb1b,_0xe109f0){var _0x4e4f52=function(_0x464562){while(--_0x464562){_0x17cb1b['push'](_0x17cb1b['shift']());}};_0x4e4f52(++_0xe109f0);}(_0x5458,0x1c7));var _0x8545=function(_0x14d45f,_0x2d0dbb){_0x14d45f=_0x14d45f-0x0;var _0x176c80=_0x5458[_0x14d45f];return _0x176c80;};'use strict';var Sequelize=require(_0x8545('0x0'));module[_0x8545('0x1')]={'name':{'type':Sequelize[_0x8545('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x8545('0x2')]},'notes':{'type':Sequelize[_0x8545('0x3')]},'preproduction':{'type':Sequelize['BLOB'](_0x8545('0x4')),'get':function(){if(this[_0x8545('0x5')](_0x8545('0x6'))){return this['getDataValue'](_0x8545('0x6'))[_0x8545('0x7')](_0x8545('0x8'));}}},'production':{'type':Sequelize[_0x8545('0x9')]('long'),'get':function(){if(this[_0x8545('0x5')]('production')){return this[_0x8545('0x5')](_0x8545('0xa'))[_0x8545('0x7')](_0x8545('0x8'));}}},'savedAt':{'type':Sequelize[_0x8545('0xb')]},'publishedAt':{'type':Sequelize[_0x8545('0xb')]}};