Built motion from commit (unavailable).|2.3.1
[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 _0x714c=['production','exports','STRING','name','TEXT','long','getDataValue','preproduction','toString','utf8','BLOB'];(function(_0x328985,_0x16fe30){var _0x5ee9db=function(_0x2d5f11){while(--_0x2d5f11){_0x328985['push'](_0x328985['shift']());}};_0x5ee9db(++_0x16fe30);}(_0x714c,0x18d));var _0xc714=function(_0x5d72da,_0xb7ce32){_0x5d72da=_0x5d72da-0x0;var _0x43ebe7=_0x714c[_0x5d72da];return _0x43ebe7;};'use strict';var Sequelize=require('sequelize');module[_0xc714('0x0')]={'name':{'type':Sequelize[_0xc714('0x1')],'unique':_0xc714('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xc714('0x1')]},'notes':{'type':Sequelize[_0xc714('0x3')]},'preproduction':{'type':Sequelize['BLOB'](_0xc714('0x4')),'get':function(){if(this[_0xc714('0x5')]('preproduction')){return this['getDataValue'](_0xc714('0x6'))[_0xc714('0x7')](_0xc714('0x8'));}}},'production':{'type':Sequelize[_0xc714('0x9')]('long'),'get':function(){if(this['getDataValue'](_0xc714('0xa'))){return this[_0xc714('0x5')](_0xc714('0xa'))[_0xc714('0x7')](_0xc714('0x8'));}}}};