82da75609404707e8c505c3bd8d7e273bda2a4fd
[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 _0x068d=['name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','exports','STRING'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x068d,0x166));var _0xd068=function(_0x562404,_0x2b5929){_0x562404=_0x562404-0x0;var _0x505e39=_0x068d[_0x562404];return _0x505e39;};'use strict';var Sequelize=require('sequelize');module[_0xd068('0x0')]={'name':{'type':Sequelize[_0xd068('0x1')],'unique':_0xd068('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0xd068('0x3')]},'preproduction':{'type':Sequelize[_0xd068('0x4')](_0xd068('0x5')),'get':function(){if(this[_0xd068('0x6')](_0xd068('0x7'))){return this[_0xd068('0x6')](_0xd068('0x7'))[_0xd068('0x8')](_0xd068('0x9'));}}},'production':{'type':Sequelize[_0xd068('0x4')](_0xd068('0x5')),'get':function(){if(this['getDataValue'](_0xd068('0xa'))){return this[_0xd068('0x6')](_0xd068('0xa'))[_0xd068('0x8')](_0xd068('0x9'));}}},'savedAt':{'type':Sequelize[_0xd068('0xb')]},'publishedAt':{'type':Sequelize[_0xd068('0xb')]}};