Built motion from commit da617fac.|2.6.6
[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 _0x9218=['long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING','name','TEXT','BLOB'];(function(_0x1ca98c,_0x32b91e){var _0x35fc49=function(_0x41f58e){while(--_0x41f58e){_0x1ca98c['push'](_0x1ca98c['shift']());}};_0x35fc49(++_0x32b91e);}(_0x9218,0x10b));var _0x8921=function(_0xa720e9,_0xf162db){_0xa720e9=_0xa720e9-0x0;var _0x902310=_0x9218[_0xa720e9];return _0x902310;};'use strict';var Sequelize=require(_0x8921('0x0'));module[_0x8921('0x1')]={'name':{'type':Sequelize[_0x8921('0x2')],'unique':_0x8921('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x8921('0x2')]},'notes':{'type':Sequelize[_0x8921('0x4')]},'preproduction':{'type':Sequelize[_0x8921('0x5')](_0x8921('0x6')),'get':function(){if(this[_0x8921('0x7')](_0x8921('0x8'))){return this['getDataValue'](_0x8921('0x8'))[_0x8921('0x9')](_0x8921('0xa'));}}},'production':{'type':Sequelize[_0x8921('0x5')](_0x8921('0x6')),'get':function(){if(this[_0x8921('0x7')](_0x8921('0xb'))){return this[_0x8921('0x7')]('production')[_0x8921('0x9')]('utf8');}}},'savedAt':{'type':Sequelize[_0x8921('0xc')]},'publishedAt':{'type':Sequelize[_0x8921('0xc')]}};