Built motion from commit 753c950e.|2.5.42
[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 _0xb9e0=['getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING','name','TEXT','BLOB','long'];(function(_0x26efac,_0x21ab8a){var _0x8482e4=function(_0x14db32){while(--_0x14db32){_0x26efac['push'](_0x26efac['shift']());}};_0x8482e4(++_0x21ab8a);}(_0xb9e0,0x18c));var _0x0b9e=function(_0x246508,_0x4716f7){_0x246508=_0x246508-0x0;var _0x3f6f41=_0xb9e0[_0x246508];return _0x3f6f41;};'use strict';var Sequelize=require(_0x0b9e('0x0'));module[_0x0b9e('0x1')]={'name':{'type':Sequelize[_0x0b9e('0x2')],'unique':_0x0b9e('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x0b9e('0x2')]},'notes':{'type':Sequelize[_0x0b9e('0x4')]},'preproduction':{'type':Sequelize[_0x0b9e('0x5')](_0x0b9e('0x6')),'get':function(){if(this[_0x0b9e('0x7')](_0x0b9e('0x8'))){return this[_0x0b9e('0x7')](_0x0b9e('0x8'))[_0x0b9e('0x9')](_0x0b9e('0xa'));}}},'production':{'type':Sequelize[_0x0b9e('0x5')](_0x0b9e('0x6')),'get':function(){if(this['getDataValue'](_0x0b9e('0xb'))){return this[_0x0b9e('0x7')](_0x0b9e('0xb'))[_0x0b9e('0x9')](_0x0b9e('0xa'));}}},'savedAt':{'type':Sequelize[_0x0b9e('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};