62a3d8f56d57108f8a051d511551828150706e5e
[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 _0x4678=['utf8','production','sequelize','exports','STRING','name','TEXT','long','getDataValue','preproduction','toString'];(function(_0x54c8be,_0x553317){var _0x2a6285=function(_0x660d4f){while(--_0x660d4f){_0x54c8be['push'](_0x54c8be['shift']());}};_0x2a6285(++_0x553317);}(_0x4678,0x1a4));var _0x8467=function(_0x41b0dc,_0x4b0337){_0x41b0dc=_0x41b0dc-0x0;var _0x323d7f=_0x4678[_0x41b0dc];return _0x323d7f;};'use strict';var Sequelize=require(_0x8467('0x0'));module[_0x8467('0x1')]={'name':{'type':Sequelize[_0x8467('0x2')],'unique':_0x8467('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x8467('0x4')]},'preproduction':{'type':Sequelize['BLOB'](_0x8467('0x5')),'get':function(){if(this[_0x8467('0x6')]('preproduction')){return this[_0x8467('0x6')](_0x8467('0x7'))[_0x8467('0x8')](_0x8467('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0x8467('0x5')),'get':function(){if(this['getDataValue']('production')){return this['getDataValue'](_0x8467('0xa'))[_0x8467('0x8')]('utf8');}}}};