b425b554ce944127ca9bc0d115888d2074a063a9
[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 _0x12d4=['STRING','name','TEXT','long','preproduction','toString','utf8','BLOB','production','DATE'];(function(_0xad2d7c,_0x2ed63c){var _0x3ab95e=function(_0x432f07){while(--_0x432f07){_0xad2d7c['push'](_0xad2d7c['shift']());}};_0x3ab95e(++_0x2ed63c);}(_0x12d4,0x1e0));var _0x412d=function(_0x174ef5,_0x256e8e){_0x174ef5=_0x174ef5-0x0;var _0x1cc379=_0x12d4[_0x174ef5];return _0x1cc379;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x412d('0x0')],'unique':_0x412d('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x412d('0x0')]},'notes':{'type':Sequelize[_0x412d('0x2')]},'preproduction':{'type':Sequelize['BLOB'](_0x412d('0x3')),'get':function(){if(this['getDataValue']('preproduction')){return this['getDataValue'](_0x412d('0x4'))[_0x412d('0x5')](_0x412d('0x6'));}}},'production':{'type':Sequelize[_0x412d('0x7')](_0x412d('0x3')),'get':function(){if(this['getDataValue'](_0x412d('0x8'))){return this['getDataValue'](_0x412d('0x8'))[_0x412d('0x5')](_0x412d('0x6'));}}},'savedAt':{'type':Sequelize[_0x412d('0x9')]},'publishedAt':{'type':Sequelize[_0x412d('0x9')]}};