892c4759043b5fc0f42b6c8fa7ed5b77545846e8
[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 _0x3e1f=['DATE','sequelize','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','toString','production','utf8'];(function(_0x27a3b3,_0x7f2027){var _0x425752=function(_0x2730cc){while(--_0x2730cc){_0x27a3b3['push'](_0x27a3b3['shift']());}};_0x425752(++_0x7f2027);}(_0x3e1f,0xe5));var _0xf3e1=function(_0x421196,_0x1cbd94){_0x421196=_0x421196-0x0;var _0x2738af=_0x3e1f[_0x421196];return _0x2738af;};'use strict';var Sequelize=require(_0xf3e1('0x0'));module['exports']={'name':{'type':Sequelize[_0xf3e1('0x1')],'unique':_0xf3e1('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xf3e1('0x1')]},'notes':{'type':Sequelize[_0xf3e1('0x3')]},'preproduction':{'type':Sequelize[_0xf3e1('0x4')](_0xf3e1('0x5')),'get':function(){if(this[_0xf3e1('0x6')]('preproduction')){return this['getDataValue'](_0xf3e1('0x7'))[_0xf3e1('0x8')]('utf8');}}},'production':{'type':Sequelize['BLOB'](_0xf3e1('0x5')),'get':function(){if(this[_0xf3e1('0x6')](_0xf3e1('0x9'))){return this[_0xf3e1('0x6')]('production')[_0xf3e1('0x8')](_0xf3e1('0xa'));}}},'savedAt':{'type':Sequelize[_0xf3e1('0xb')]},'publishedAt':{'type':Sequelize[_0xf3e1('0xb')]}};