fd0c9e5aa5a779948f28481d521b10f0fad932f1
[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 _0xe9e9=['STRING','name','TEXT','long','preproduction','toString','utf8','BLOB','getDataValue','production','DATE','sequelize','exports'];(function(_0x5dc424,_0x4b48be){var _0x1dc446=function(_0x22f8d8){while(--_0x22f8d8){_0x5dc424['push'](_0x5dc424['shift']());}};_0x1dc446(++_0x4b48be);}(_0xe9e9,0x1b8));var _0x9e9e=function(_0x12d25c,_0x550563){_0x12d25c=_0x12d25c-0x0;var _0x41e4a1=_0xe9e9[_0x12d25c];return _0x41e4a1;};'use strict';var Sequelize=require(_0x9e9e('0x0'));module[_0x9e9e('0x1')]={'name':{'type':Sequelize[_0x9e9e('0x2')],'unique':_0x9e9e('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x9e9e('0x4')]},'preproduction':{'type':Sequelize['BLOB'](_0x9e9e('0x5')),'get':function(){if(this['getDataValue']('preproduction')){return this['getDataValue'](_0x9e9e('0x6'))[_0x9e9e('0x7')](_0x9e9e('0x8'));}}},'production':{'type':Sequelize[_0x9e9e('0x9')](_0x9e9e('0x5')),'get':function(){if(this[_0x9e9e('0xa')](_0x9e9e('0xb'))){return this[_0x9e9e('0xa')]('production')['toString'](_0x9e9e('0x8'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x9e9e('0xc')]}};