03add695e2d29c72192dc549d134e405d91f3adf
[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 _0x3dab=['long','production','DATE','sequelize','STRING','name','TEXT','BLOB','getDataValue','preproduction','toString','utf8'];(function(_0x5a7c9a,_0x2c8225){var _0x403017=function(_0x19bdad){while(--_0x19bdad){_0x5a7c9a['push'](_0x5a7c9a['shift']());}};_0x403017(++_0x2c8225);}(_0x3dab,0x1d7));var _0xb3da=function(_0x269c4e,_0x240fae){_0x269c4e=_0x269c4e-0x0;var _0x456a0b=_0x3dab[_0x269c4e];return _0x456a0b;};'use strict';var Sequelize=require(_0xb3da('0x0'));module['exports']={'name':{'type':Sequelize[_0xb3da('0x1')],'unique':_0xb3da('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0xb3da('0x3')]},'preproduction':{'type':Sequelize[_0xb3da('0x4')]('long'),'get':function(){if(this[_0xb3da('0x5')](_0xb3da('0x6'))){return this['getDataValue'](_0xb3da('0x6'))[_0xb3da('0x7')](_0xb3da('0x8'));}}},'production':{'type':Sequelize['BLOB'](_0xb3da('0x9')),'get':function(){if(this[_0xb3da('0x5')]('production')){return this[_0xb3da('0x5')](_0xb3da('0xa'))[_0xb3da('0x7')](_0xb3da('0x8'));}}},'savedAt':{'type':Sequelize[_0xb3da('0xb')]},'publishedAt':{'type':Sequelize['DATE']}};