43bff88da0fa01ce98698402832577bb034a49a6
[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 _0xfead=['STRING','BLOB','long','getDataValue','toString','utf8','production','DATE','sequelize','exports'];(function(_0x3e5086,_0x48f4a2){var _0xfeb102=function(_0x5a945f){while(--_0x5a945f){_0x3e5086['push'](_0x3e5086['shift']());}};_0xfeb102(++_0x48f4a2);}(_0xfead,0x152));var _0xdfea=function(_0x1c4292,_0x1e4bf8){_0x1c4292=_0x1c4292-0x0;var _0x1fcb67=_0xfead[_0x1c4292];return _0x1fcb67;};'use strict';var Sequelize=require(_0xdfea('0x0'));module[_0xdfea('0x1')]={'name':{'type':Sequelize[_0xdfea('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xdfea('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xdfea('0x3')](_0xdfea('0x4')),'get':function(){if(this[_0xdfea('0x5')]('preproduction')){return this[_0xdfea('0x5')]('preproduction')[_0xdfea('0x6')](_0xdfea('0x7'));}}},'production':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0xdfea('0x5')]('production')){return this[_0xdfea('0x5')](_0xdfea('0x8'))[_0xdfea('0x6')]('utf8');}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xdfea('0x9')]}};