c347122f0d17f05d99195dbdbcf38a3095620a98
[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 _0xc6b1=['STRING','TEXT','BLOB','getDataValue','toString','utf8','long','production','DATE','sequelize','exports'];(function(_0x410fc7,_0x45fa53){var _0x2ef9e5=function(_0x9f67f3){while(--_0x9f67f3){_0x410fc7['push'](_0x410fc7['shift']());}};_0x2ef9e5(++_0x45fa53);}(_0xc6b1,0xc4));var _0x1c6b=function(_0x5369c0,_0x68faf0){_0x5369c0=_0x5369c0-0x0;var _0x12e913=_0xc6b1[_0x5369c0];return _0x12e913;};'use strict';var Sequelize=require(_0x1c6b('0x0'));module[_0x1c6b('0x1')]={'name':{'type':Sequelize[_0x1c6b('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x1c6b('0x2')]},'notes':{'type':Sequelize[_0x1c6b('0x3')]},'preproduction':{'type':Sequelize[_0x1c6b('0x4')]('long'),'get':function(){if(this[_0x1c6b('0x5')]('preproduction')){return this[_0x1c6b('0x5')]('preproduction')[_0x1c6b('0x6')](_0x1c6b('0x7'));}}},'production':{'type':Sequelize['BLOB'](_0x1c6b('0x8')),'get':function(){if(this['getDataValue']('production')){return this[_0x1c6b('0x5')](_0x1c6b('0x9'))[_0x1c6b('0x6')](_0x1c6b('0x7'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x1c6b('0xa')]}};