Built motion from commit 9d0783e6.|2.6.13
[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 _0xfdc6=['DATE','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','production','toString','utf8'];(function(_0x2c239a,_0x4a6fbf){var _0x54b09e=function(_0x1b334e){while(--_0x1b334e){_0x2c239a['push'](_0x2c239a['shift']());}};_0x54b09e(++_0x4a6fbf);}(_0xfdc6,0xf3));var _0x6fdc=function(_0x12a2a6,_0x374ff1){_0x12a2a6=_0x12a2a6-0x0;var _0x1754ae=_0xfdc6[_0x12a2a6];return _0x1754ae;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x6fdc('0x0')],'unique':_0x6fdc('0x1'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x6fdc('0x2')]},'preproduction':{'type':Sequelize[_0x6fdc('0x3')](_0x6fdc('0x4')),'get':function(){if(this[_0x6fdc('0x5')](_0x6fdc('0x6'))){return this['getDataValue'](_0x6fdc('0x6'))['toString']('utf8');}}},'production':{'type':Sequelize['BLOB'](_0x6fdc('0x4')),'get':function(){if(this[_0x6fdc('0x5')](_0x6fdc('0x7'))){return this[_0x6fdc('0x5')]('production')[_0x6fdc('0x8')](_0x6fdc('0x9'));}}},'savedAt':{'type':Sequelize[_0x6fdc('0xa')]},'publishedAt':{'type':Sequelize[_0x6fdc('0xa')]}};