408b047ce04696ab607d4d616ef9c133d69f2760
[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 _0x514d=['toString','long','production','utf8','DATE','sequelize','exports','STRING','name','TEXT','BLOB','preproduction','getDataValue'];(function(_0x27ff27,_0x47898e){var _0x20fe26=function(_0x36f39e){while(--_0x36f39e){_0x27ff27['push'](_0x27ff27['shift']());}};_0x20fe26(++_0x47898e);}(_0x514d,0x87));var _0xd514=function(_0x5d314f,_0x349994){_0x5d314f=_0x5d314f-0x0;var _0xf2f268=_0x514d[_0x5d314f];return _0xf2f268;};'use strict';var Sequelize=require(_0xd514('0x0'));module[_0xd514('0x1')]={'name':{'type':Sequelize[_0xd514('0x2')],'unique':_0xd514('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xd514('0x2')]},'notes':{'type':Sequelize[_0xd514('0x4')]},'preproduction':{'type':Sequelize[_0xd514('0x5')]('long'),'get':function(){if(this['getDataValue'](_0xd514('0x6'))){return this[_0xd514('0x7')](_0xd514('0x6'))[_0xd514('0x8')]('utf8');}}},'production':{'type':Sequelize[_0xd514('0x5')](_0xd514('0x9')),'get':function(){if(this['getDataValue'](_0xd514('0xa'))){return this[_0xd514('0x7')](_0xd514('0xa'))[_0xd514('0x8')](_0xd514('0xb'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xd514('0xc')]}};