Built motion from commit c738b9ac.|2.6.25
[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 _0x3b83=['STRING','name','TEXT','BLOB','long','getDataValue','preproduction','utf8','production','toString','DATE','sequelize','exports'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x3b83,0x10f));var _0x33b8=function(_0x525c7b,_0x488fcc){_0x525c7b=_0x525c7b-0x0;var _0x27b33e=_0x3b83[_0x525c7b];return _0x27b33e;};'use strict';var Sequelize=require(_0x33b8('0x0'));module[_0x33b8('0x1')]={'name':{'type':Sequelize[_0x33b8('0x2')],'unique':_0x33b8('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x33b8('0x2')]},'notes':{'type':Sequelize[_0x33b8('0x4')]},'preproduction':{'type':Sequelize[_0x33b8('0x5')](_0x33b8('0x6')),'get':function(){if(this[_0x33b8('0x7')](_0x33b8('0x8'))){return this[_0x33b8('0x7')](_0x33b8('0x8'))['toString'](_0x33b8('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0x33b8('0x6')),'get':function(){if(this[_0x33b8('0x7')](_0x33b8('0xa'))){return this[_0x33b8('0x7')]('production')[_0x33b8('0xb')](_0x33b8('0x9'));}}},'savedAt':{'type':Sequelize[_0x33b8('0xc')]},'publishedAt':{'type':Sequelize[_0x33b8('0xc')]}};