Built motion from commit (unavailable).|2.5.8
[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 _0xe0f5=['long','getDataValue','preproduction','toString','production','sequelize','exports','name','TEXT','BLOB'];(function(_0x45e98e,_0x169b60){var _0x374dba=function(_0x597612){while(--_0x597612){_0x45e98e['push'](_0x45e98e['shift']());}};_0x374dba(++_0x169b60);}(_0xe0f5,0x1c7));var _0x5e0f=function(_0x220c44,_0x36746b){_0x220c44=_0x220c44-0x0;var _0x585777=_0xe0f5[_0x220c44];return _0x585777;};'use strict';var Sequelize=require(_0x5e0f('0x0'));module[_0x5e0f('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x5e0f('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x5e0f('0x3')]},'preproduction':{'type':Sequelize[_0x5e0f('0x4')](_0x5e0f('0x5')),'get':function(){if(this[_0x5e0f('0x6')](_0x5e0f('0x7'))){return this['getDataValue'](_0x5e0f('0x7'))[_0x5e0f('0x8')]('utf8');}}},'production':{'type':Sequelize[_0x5e0f('0x4')]('long'),'get':function(){if(this['getDataValue'](_0x5e0f('0x9'))){return this[_0x5e0f('0x6')](_0x5e0f('0x9'))[_0x5e0f('0x8')]('utf8');}}}};