Built motion from commit (unavailable).|2.5.23
[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 _0xf5b9=['long','production','toString','DATE','sequelize','STRING','name','getDataValue','preproduction','BLOB'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0xf5b9,0xf4));var _0x9f5b=function(_0x434ac6,_0x475902){_0x434ac6=_0x434ac6-0x0;var _0x21f629=_0xf5b9[_0x434ac6];return _0x21f629;};'use strict';var Sequelize=require(_0x9f5b('0x0'));module['exports']={'name':{'type':Sequelize[_0x9f5b('0x1')],'unique':_0x9f5b('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x9f5b('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0x9f5b('0x3')](_0x9f5b('0x4'))){return this['getDataValue'](_0x9f5b('0x4'))['toString']('utf8');}}},'production':{'type':Sequelize[_0x9f5b('0x5')](_0x9f5b('0x6')),'get':function(){if(this[_0x9f5b('0x3')](_0x9f5b('0x7'))){return this[_0x9f5b('0x3')](_0x9f5b('0x7'))[_0x9f5b('0x8')]('utf8');}}},'savedAt':{'type':Sequelize[_0x9f5b('0x9')]},'publishedAt':{'type':Sequelize[_0x9f5b('0x9')]}};