Built motion from commit 43538d75.|2.5.35
[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 _0x8742=['utf8','production','DATE','sequelize','exports','STRING','long','getDataValue','preproduction','toString'];(function(_0x284506,_0x191316){var _0x1e9ee5=function(_0xe7eaa){while(--_0xe7eaa){_0x284506['push'](_0x284506['shift']());}};_0x1e9ee5(++_0x191316);}(_0x8742,0xe9));var _0x2874=function(_0x1b10e3,_0x39cae8){_0x1b10e3=_0x1b10e3-0x0;var _0x5d2d6a=_0x8742[_0x1b10e3];return _0x5d2d6a;};'use strict';var Sequelize=require(_0x2874('0x0'));module[_0x2874('0x1')]={'name':{'type':Sequelize[_0x2874('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x2874('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0x2874('0x3')),'get':function(){if(this[_0x2874('0x4')](_0x2874('0x5'))){return this[_0x2874('0x4')](_0x2874('0x5'))[_0x2874('0x6')](_0x2874('0x7'));}}},'production':{'type':Sequelize['BLOB'](_0x2874('0x3')),'get':function(){if(this[_0x2874('0x4')]('production')){return this[_0x2874('0x4')](_0x2874('0x8'))[_0x2874('0x6')](_0x2874('0x7'));}}},'savedAt':{'type':Sequelize[_0x2874('0x9')]},'publishedAt':{'type':Sequelize[_0x2874('0x9')]}};