d58d149785a86df35b912dc12dcf58799c74c379
[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 _0x5f6f=['sequelize','exports','STRING','name','BLOB','long','getDataValue','preproduction','toString','utf8','production'];(function(_0x375bec,_0x2f32d9){var _0x3cb1f1=function(_0x45fff8){while(--_0x45fff8){_0x375bec['push'](_0x375bec['shift']());}};_0x3cb1f1(++_0x2f32d9);}(_0x5f6f,0x1ef));var _0xf5f6=function(_0x592238,_0xc8ff1e){_0x592238=_0x592238-0x0;var _0x4bdf33=_0x5f6f[_0x592238];return _0x4bdf33;};'use strict';var Sequelize=require(_0xf5f6('0x0'));module[_0xf5f6('0x1')]={'name':{'type':Sequelize[_0xf5f6('0x2')],'unique':_0xf5f6('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xf5f6('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xf5f6('0x4')](_0xf5f6('0x5')),'get':function(){if(this[_0xf5f6('0x6')]('preproduction')){return this[_0xf5f6('0x6')](_0xf5f6('0x7'))[_0xf5f6('0x8')](_0xf5f6('0x9'));}}},'production':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0xf5f6('0x6')](_0xf5f6('0xa'))){return this[_0xf5f6('0x6')](_0xf5f6('0xa'))[_0xf5f6('0x8')](_0xf5f6('0x9'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize['DATE']}};