Built motion from commit da24aabd.|2.6.20
[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 _0x7e89=['preproduction','toString','utf8','production','DATE','sequelize','exports','STRING','name','TEXT','BLOB','long','getDataValue'];(function(_0x7403f7,_0x142a90){var _0x212744=function(_0x55eeb9){while(--_0x55eeb9){_0x7403f7['push'](_0x7403f7['shift']());}};_0x212744(++_0x142a90);}(_0x7e89,0x1bf));var _0x97e8=function(_0x3cafb8,_0x32860e){_0x3cafb8=_0x3cafb8-0x0;var _0x4b7f85=_0x7e89[_0x3cafb8];return _0x4b7f85;};'use strict';var Sequelize=require(_0x97e8('0x0'));module[_0x97e8('0x1')]={'name':{'type':Sequelize[_0x97e8('0x2')],'unique':_0x97e8('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x97e8('0x2')]},'notes':{'type':Sequelize[_0x97e8('0x4')]},'preproduction':{'type':Sequelize[_0x97e8('0x5')](_0x97e8('0x6')),'get':function(){if(this[_0x97e8('0x7')]('preproduction')){return this[_0x97e8('0x7')](_0x97e8('0x8'))[_0x97e8('0x9')](_0x97e8('0xa'));}}},'production':{'type':Sequelize[_0x97e8('0x5')](_0x97e8('0x6')),'get':function(){if(this[_0x97e8('0x7')]('production')){return this['getDataValue'](_0x97e8('0xb'))[_0x97e8('0x9')](_0x97e8('0xa'));}}},'savedAt':{'type':Sequelize[_0x97e8('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};