107523e10d615b4dc73114132fd70b7ace4aa8c3
[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 _0x52ad=['toString','DATE','STRING','TEXT','BLOB','getDataValue','preproduction','utf8','long','production'];(function(_0x2e58fb,_0x317293){var _0x10fbb2=function(_0x2362bf){while(--_0x2362bf){_0x2e58fb['push'](_0x2e58fb['shift']());}};_0x10fbb2(++_0x317293);}(_0x52ad,0xd4));var _0xd52a=function(_0x22a974,_0x27f666){_0x22a974=_0x22a974-0x0;var _0x25ba43=_0x52ad[_0x22a974];return _0x25ba43;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xd52a('0x0')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xd52a('0x0')]},'notes':{'type':Sequelize[_0xd52a('0x1')]},'preproduction':{'type':Sequelize[_0xd52a('0x2')]('long'),'get':function(){if(this[_0xd52a('0x3')]('preproduction')){return this[_0xd52a('0x3')](_0xd52a('0x4'))['toString'](_0xd52a('0x5'));}}},'production':{'type':Sequelize[_0xd52a('0x2')](_0xd52a('0x6')),'get':function(){if(this[_0xd52a('0x3')](_0xd52a('0x7'))){return this[_0xd52a('0x3')](_0xd52a('0x7'))[_0xd52a('0x8')](_0xd52a('0x5'));}}},'savedAt':{'type':Sequelize[_0xd52a('0x9')]},'publishedAt':{'type':Sequelize[_0xd52a('0x9')]}};