Built motion from commit 00bf23f6.|2.6.16
[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 _0xce30=['STRING','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','exports'];(function(_0x1e86d9,_0x3b18aa){var _0x2d2b54=function(_0x1bdc19){while(--_0x1bdc19){_0x1e86d9['push'](_0x1e86d9['shift']());}};_0x2d2b54(++_0x3b18aa);}(_0xce30,0x1ad));var _0x0ce3=function(_0x43be21,_0x1a1140){_0x43be21=_0x43be21-0x0;var _0x535370=_0xce30[_0x43be21];return _0x535370;};'use strict';var Sequelize=require('sequelize');module[_0x0ce3('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x0ce3('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x0ce3('0x2')](_0x0ce3('0x3')),'get':function(){if(this[_0x0ce3('0x4')]('preproduction')){return this[_0x0ce3('0x4')](_0x0ce3('0x5'))[_0x0ce3('0x6')](_0x0ce3('0x7'));}}},'production':{'type':Sequelize[_0x0ce3('0x2')](_0x0ce3('0x3')),'get':function(){if(this[_0x0ce3('0x4')](_0x0ce3('0x8'))){return this[_0x0ce3('0x4')]('production')[_0x0ce3('0x6')]('utf8');}}},'savedAt':{'type':Sequelize[_0x0ce3('0x9')]},'publishedAt':{'type':Sequelize['DATE']}};