856eb172d99df6dd76bcc3b4be3a6042604d179c
[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 _0x13bd=['preproduction','utf8','BLOB','production','toString','STRING','TEXT','long','getDataValue'];(function(_0x1780f8,_0x11ba93){var _0x33a410=function(_0x2a015f){while(--_0x2a015f){_0x1780f8['push'](_0x1780f8['shift']());}};_0x33a410(++_0x11ba93);}(_0x13bd,0x68));var _0xd13b=function(_0x2656a4,_0x28dd1b){_0x2656a4=_0x2656a4-0x0;var _0x48ce85=_0x13bd[_0x2656a4];return _0x48ce85;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xd13b('0x0')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xd13b('0x0')]},'notes':{'type':Sequelize[_0xd13b('0x1')]},'preproduction':{'type':Sequelize['BLOB'](_0xd13b('0x2')),'get':function(){if(this[_0xd13b('0x3')]('preproduction')){return this[_0xd13b('0x3')](_0xd13b('0x4'))['toString'](_0xd13b('0x5'));}}},'production':{'type':Sequelize[_0xd13b('0x6')]('long'),'get':function(){if(this[_0xd13b('0x3')](_0xd13b('0x7'))){return this['getDataValue'](_0xd13b('0x7'))[_0xd13b('0x8')](_0xd13b('0x5'));}}}};