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 _0xb098=['BLOB','long','preproduction','toString','utf8','getDataValue','production','DATE','sequelize','exports','STRING','TEXT'];(function(_0x60e180,_0x4ec70e){var _0x4ea48d=function(_0x36bd1f){while(--_0x36bd1f){_0x60e180['push'](_0x60e180['shift']());}};_0x4ea48d(++_0x4ec70e);}(_0xb098,0x1c4));var _0x8b09=function(_0x148ff8,_0x2b1a91){_0x148ff8=_0x148ff8-0x0;var _0x5b7095=_0xb098[_0x148ff8];return _0x5b7095;};'use strict';var Sequelize=require(_0x8b09('0x0'));module[_0x8b09('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x8b09('0x2')]},'notes':{'type':Sequelize[_0x8b09('0x3')]},'preproduction':{'type':Sequelize[_0x8b09('0x4')](_0x8b09('0x5')),'get':function(){if(this['getDataValue'](_0x8b09('0x6'))){return this['getDataValue'](_0x8b09('0x6'))[_0x8b09('0x7')](_0x8b09('0x8'));}}},'production':{'type':Sequelize[_0x8b09('0x4')](_0x8b09('0x5')),'get':function(){if(this[_0x8b09('0x9')](_0x8b09('0xa'))){return this[_0x8b09('0x9')](_0x8b09('0xa'))[_0x8b09('0x7')]('utf8');}}},'savedAt':{'type':Sequelize[_0x8b09('0xb')]},'publishedAt':{'type':Sequelize[_0x8b09('0xb')]}};