af53a1b1abc3826f15b8483d0eafe79ee953a08d
[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 _0x38ca=['BLOB','long','getDataValue','preproduction','toString','utf8','production','sequelize','exports','STRING','name'];(function(_0x456fc1,_0x5e289d){var _0x35587a=function(_0x753883){while(--_0x753883){_0x456fc1['push'](_0x456fc1['shift']());}};_0x35587a(++_0x5e289d);}(_0x38ca,0x11a));var _0xa38c=function(_0x17ffc5,_0x194820){_0x17ffc5=_0x17ffc5-0x0;var _0x42371a=_0x38ca[_0x17ffc5];return _0x42371a;};'use strict';var Sequelize=require(_0xa38c('0x0'));module[_0xa38c('0x1')]={'name':{'type':Sequelize[_0xa38c('0x2')],'unique':_0xa38c('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xa38c('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xa38c('0x4')](_0xa38c('0x5')),'get':function(){if(this[_0xa38c('0x6')](_0xa38c('0x7'))){return this[_0xa38c('0x6')](_0xa38c('0x7'))[_0xa38c('0x8')](_0xa38c('0x9'));}}},'production':{'type':Sequelize[_0xa38c('0x4')](_0xa38c('0x5')),'get':function(){if(this[_0xa38c('0x6')](_0xa38c('0xa'))){return this['getDataValue']('production')[_0xa38c('0x8')](_0xa38c('0x9'));}}}};