Built motion from commit 85328c08.|2.5.50
[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 _0x6dda=['DATE','sequelize','exports','name','STRING','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0x6dda,0x17a));var _0xa6dd=function(_0x2e237b,_0x2f518e){_0x2e237b=_0x2e237b-0x0;var _0x404ad5=_0x6dda[_0x2e237b];return _0x404ad5;};'use strict';var Sequelize=require(_0xa6dd('0x0'));module[_0xa6dd('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xa6dd('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xa6dd('0x3')]},'notes':{'type':Sequelize[_0xa6dd('0x4')]},'preproduction':{'type':Sequelize[_0xa6dd('0x5')](_0xa6dd('0x6')),'get':function(){if(this[_0xa6dd('0x7')](_0xa6dd('0x8'))){return this[_0xa6dd('0x7')](_0xa6dd('0x8'))[_0xa6dd('0x9')](_0xa6dd('0xa'));}}},'production':{'type':Sequelize['BLOB'](_0xa6dd('0x6')),'get':function(){if(this[_0xa6dd('0x7')]('production')){return this[_0xa6dd('0x7')](_0xa6dd('0xb'))[_0xa6dd('0x9')](_0xa6dd('0xa'));}}},'savedAt':{'type':Sequelize[_0xa6dd('0xc')]},'publishedAt':{'type':Sequelize[_0xa6dd('0xc')]}};