fc2c6a1a9d3f192507e8df42acc27fb870a8fd8d
[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 _0xef3f=['long','getDataValue','preproduction','toString','production','DATE','sequelize','exports','name','STRING','BLOB'];(function(_0x2edb9f,_0x36fad0){var _0x4e5979=function(_0x425f9f){while(--_0x425f9f){_0x2edb9f['push'](_0x2edb9f['shift']());}};_0x4e5979(++_0x36fad0);}(_0xef3f,0xe2));var _0xfef3=function(_0x2d5910,_0x376c4e){_0x2d5910=_0x2d5910-0x0;var _0x1aa5b8=_0xef3f[_0x2d5910];return _0x1aa5b8;};'use strict';var Sequelize=require(_0xfef3('0x0'));module[_0xfef3('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xfef3('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xfef3('0x3')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xfef3('0x4')](_0xfef3('0x5')),'get':function(){if(this[_0xfef3('0x6')](_0xfef3('0x7'))){return this['getDataValue'](_0xfef3('0x7'))[_0xfef3('0x8')]('utf8');}}},'production':{'type':Sequelize['BLOB']('long'),'get':function(){if(this['getDataValue'](_0xfef3('0x9'))){return this[_0xfef3('0x6')](_0xfef3('0x9'))['toString']('utf8');}}},'savedAt':{'type':Sequelize[_0xfef3('0xa')]},'publishedAt':{'type':Sequelize['DATE']}};