Built motion from commit 52c8a02d.|2.6.29
[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 _0xf975=['production','DATE','sequelize','STRING','TEXT','BLOB','preproduction','getDataValue','toString','utf8','long'];(function(_0x14e210,_0x1d6397){var _0x53fa61=function(_0x553231){while(--_0x553231){_0x14e210['push'](_0x14e210['shift']());}};_0x53fa61(++_0x1d6397);}(_0xf975,0x162));var _0x5f97=function(_0x5cd66b,_0x456626){_0x5cd66b=_0x5cd66b-0x0;var _0x212c9e=_0xf975[_0x5cd66b];return _0x212c9e;};'use strict';var Sequelize=require(_0x5f97('0x0'));module['exports']={'name':{'type':Sequelize[_0x5f97('0x1')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x5f97('0x1')]},'notes':{'type':Sequelize[_0x5f97('0x2')]},'preproduction':{'type':Sequelize[_0x5f97('0x3')]('long'),'get':function(){if(this['getDataValue'](_0x5f97('0x4'))){return this[_0x5f97('0x5')](_0x5f97('0x4'))[_0x5f97('0x6')](_0x5f97('0x7'));}}},'production':{'type':Sequelize['BLOB'](_0x5f97('0x8')),'get':function(){if(this[_0x5f97('0x5')](_0x5f97('0x9'))){return this[_0x5f97('0x5')]('production')['toString'](_0x5f97('0x7'));}}},'savedAt':{'type':Sequelize[_0x5f97('0xa')]},'publishedAt':{'type':Sequelize[_0x5f97('0xa')]}};