Built motion from commit 19a84241.|2.5.34
[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 _0x894b=['long','getDataValue','preproduction','utf8','production','toString','DATE','sequelize','exports','STRING','BLOB'];(function(_0xb47224,_0x157c49){var _0x36cb66=function(_0x165bce){while(--_0x165bce){_0xb47224['push'](_0xb47224['shift']());}};_0x36cb66(++_0x157c49);}(_0x894b,0x104));var _0xb894=function(_0x254725,_0x3c36f1){_0x254725=_0x254725-0x0;var _0x2d9b53=_0x894b[_0x254725];return _0x2d9b53;};'use strict';var Sequelize=require(_0xb894('0x0'));module[_0xb894('0x1')]={'name':{'type':Sequelize[_0xb894('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xb894('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xb894('0x3')](_0xb894('0x4')),'get':function(){if(this[_0xb894('0x5')]('preproduction')){return this[_0xb894('0x5')](_0xb894('0x6'))['toString'](_0xb894('0x7'));}}},'production':{'type':Sequelize[_0xb894('0x3')](_0xb894('0x4')),'get':function(){if(this['getDataValue'](_0xb894('0x8'))){return this[_0xb894('0x5')](_0xb894('0x8'))[_0xb894('0x9')](_0xb894('0x7'));}}},'savedAt':{'type':Sequelize[_0xb894('0xa')]},'publishedAt':{'type':Sequelize[_0xb894('0xa')]}};