4ea4d4d6b1814adbd542ebe57fe0ae7a0c569c69
[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 _0x143a=['long','production','toString','utf8','DATE','sequelize','STRING','name','TEXT','getDataValue','preproduction','BLOB'];(function(_0x29c1be,_0x49daf3){var _0xf01dac=function(_0x113324){while(--_0x113324){_0x29c1be['push'](_0x29c1be['shift']());}};_0xf01dac(++_0x49daf3);}(_0x143a,0x1c1));var _0xa143=function(_0x28eaf8,_0xefcae){_0x28eaf8=_0x28eaf8-0x0;var _0x5abcfb=_0x143a[_0x28eaf8];return _0x5abcfb;};'use strict';var Sequelize=require(_0xa143('0x0'));module['exports']={'name':{'type':Sequelize[_0xa143('0x1')],'unique':_0xa143('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xa143('0x1')]},'notes':{'type':Sequelize[_0xa143('0x3')]},'preproduction':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0xa143('0x4')](_0xa143('0x5'))){return this['getDataValue'](_0xa143('0x5'))['toString']('utf8');}}},'production':{'type':Sequelize[_0xa143('0x6')](_0xa143('0x7')),'get':function(){if(this[_0xa143('0x4')]('production')){return this['getDataValue'](_0xa143('0x8'))[_0xa143('0x9')](_0xa143('0xa'));}}},'savedAt':{'type':Sequelize[_0xa143('0xb')]},'publishedAt':{'type':Sequelize[_0xa143('0xb')]}};