0111210e54ddba29f0c91768a33ae01028d809a4
[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 _0x7763=['TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0x28b7ab,_0x16a764){var _0x56791b=function(_0x25d20d){while(--_0x25d20d){_0x28b7ab['push'](_0x28b7ab['shift']());}};_0x56791b(++_0x16a764);}(_0x7763,0x135));var _0x3776=function(_0x2a1507,_0x729808){_0x2a1507=_0x2a1507-0x0;var _0x557b4f=_0x7763[_0x2a1507];return _0x557b4f;};'use strict';var Sequelize=require(_0x3776('0x0'));module[_0x3776('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x3776('0x2')]},'notes':{'type':Sequelize[_0x3776('0x3')]},'preproduction':{'type':Sequelize[_0x3776('0x4')](_0x3776('0x5')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0x3776('0x6')](_0x3776('0x7'))[_0x3776('0x8')](_0x3776('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0x3776('0x5')),'get':function(){if(this[_0x3776('0x6')](_0x3776('0xa'))){return this[_0x3776('0x6')](_0x3776('0xa'))[_0x3776('0x8')](_0x3776('0x9'));}}},'savedAt':{'type':Sequelize[_0x3776('0xb')]},'publishedAt':{'type':Sequelize[_0x3776('0xb')]}};