d9811fb5ce36ddc889a381c9e6c8a07ccb3e9f8f
[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 _0x39ee=['production','toString','DATE','STRING','name','BLOB','long','getDataValue','preproduction','utf8'];(function(_0xfe5403,_0x1628b1){var _0x2d1e48=function(_0x71342){while(--_0x71342){_0xfe5403['push'](_0xfe5403['shift']());}};_0x2d1e48(++_0x1628b1);}(_0x39ee,0x8f));var _0xe39e=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x39ee[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xe39e('0x0')],'unique':_0xe39e('0x1'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xe39e('0x2')](_0xe39e('0x3')),'get':function(){if(this[_0xe39e('0x4')](_0xe39e('0x5'))){return this[_0xe39e('0x4')](_0xe39e('0x5'))['toString'](_0xe39e('0x6'));}}},'production':{'type':Sequelize[_0xe39e('0x2')](_0xe39e('0x3')),'get':function(){if(this['getDataValue'](_0xe39e('0x7'))){return this['getDataValue'](_0xe39e('0x7'))[_0xe39e('0x8')]('utf8');}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xe39e('0x9')]}};