Built motion from commit 616d3211.|2.6.4
[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 _0x4186=['exports','STRING','name','long','getDataValue','preproduction','utf8','BLOB','production','toString','DATE','sequelize'];(function(_0x3b0873,_0x202700){var _0x257003=function(_0x5dcfa3){while(--_0x5dcfa3){_0x3b0873['push'](_0x3b0873['shift']());}};_0x257003(++_0x202700);}(_0x4186,0x11f));var _0x6418=function(_0x2d4421,_0x15a84f){_0x2d4421=_0x2d4421-0x0;var _0x2d3b01=_0x4186[_0x2d4421];return _0x2d3b01;};'use strict';var Sequelize=require(_0x6418('0x0'));module[_0x6418('0x1')]={'name':{'type':Sequelize[_0x6418('0x2')],'unique':_0x6418('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x6418('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0x6418('0x4')),'get':function(){if(this[_0x6418('0x5')](_0x6418('0x6'))){return this[_0x6418('0x5')](_0x6418('0x6'))['toString'](_0x6418('0x7'));}}},'production':{'type':Sequelize[_0x6418('0x8')](_0x6418('0x4')),'get':function(){if(this['getDataValue'](_0x6418('0x9'))){return this['getDataValue'](_0x6418('0x9'))[_0x6418('0xa')](_0x6418('0x7'));}}},'savedAt':{'type':Sequelize[_0x6418('0xb')]},'publishedAt':{'type':Sequelize['DATE']}};