37fd4321e13e2443df933164994f21d5e1976d8b
[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 _0x2743=['BLOB','long','preproduction','getDataValue','toString','utf8','DATE','sequelize','name','STRING','TEXT'];(function(_0x2321a6,_0x3dab65){var _0x9ccd30=function(_0x394576){while(--_0x394576){_0x2321a6['push'](_0x2321a6['shift']());}};_0x9ccd30(++_0x3dab65);}(_0x2743,0x13b));var _0x3274=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2743[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x3274('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x3274('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x3274('0x2')]},'notes':{'type':Sequelize[_0x3274('0x3')]},'preproduction':{'type':Sequelize[_0x3274('0x4')](_0x3274('0x5')),'get':function(){if(this['getDataValue'](_0x3274('0x6'))){return this[_0x3274('0x7')](_0x3274('0x6'))[_0x3274('0x8')](_0x3274('0x9'));}}},'production':{'type':Sequelize[_0x3274('0x4')](_0x3274('0x5')),'get':function(){if(this[_0x3274('0x7')]('production')){return this[_0x3274('0x7')]('production')[_0x3274('0x8')](_0x3274('0x9'));}}},'savedAt':{'type':Sequelize[_0x3274('0xa')]},'publishedAt':{'type':Sequelize['DATE']}};