d6325b6af8237a75fc908eecd25af62b276aeb62
[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 _0xe809=['utf8','production','DATE','sequelize','exports','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','toString'];(function(_0x46218a,_0x196ffc){var _0x618b81=function(_0x5aac78){while(--_0x5aac78){_0x46218a['push'](_0x46218a['shift']());}};_0x618b81(++_0x196ffc);}(_0xe809,0x9f));var _0x9e80=function(_0x40001a,_0x4f6311){_0x40001a=_0x40001a-0x0;var _0x4b8436=_0xe809[_0x40001a];return _0x4b8436;};'use strict';var Sequelize=require(_0x9e80('0x0'));module[_0x9e80('0x1')]={'name':{'type':Sequelize[_0x9e80('0x2')],'unique':_0x9e80('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x9e80('0x2')]},'notes':{'type':Sequelize[_0x9e80('0x4')]},'preproduction':{'type':Sequelize[_0x9e80('0x5')](_0x9e80('0x6')),'get':function(){if(this[_0x9e80('0x7')](_0x9e80('0x8'))){return this[_0x9e80('0x7')]('preproduction')[_0x9e80('0x9')](_0x9e80('0xa'));}}},'production':{'type':Sequelize[_0x9e80('0x5')](_0x9e80('0x6')),'get':function(){if(this[_0x9e80('0x7')](_0x9e80('0xb'))){return this[_0x9e80('0x7')](_0x9e80('0xb'))[_0x9e80('0x9')](_0x9e80('0xa'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x9e80('0xc')]}};