d979e30fb72794ad44d379bd2b21d6dffd8b545a
[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 _0x67d5=['BLOB','long','getDataValue','preproduction','toString','production','DATE','exports','STRING'];(function(_0x2a8d36,_0x287050){var _0x48ebcf=function(_0xbc481c){while(--_0xbc481c){_0x2a8d36['push'](_0x2a8d36['shift']());}};_0x48ebcf(++_0x287050);}(_0x67d5,0x18a));var _0x567d=function(_0x316274,_0x2a6aa5){_0x316274=_0x316274-0x0;var _0x17086b=_0x67d5[_0x316274];return _0x17086b;};'use strict';var Sequelize=require('sequelize');module[_0x567d('0x0')]={'name':{'type':Sequelize[_0x567d('0x1')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x567d('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x567d('0x2')](_0x567d('0x3')),'get':function(){if(this[_0x567d('0x4')](_0x567d('0x5'))){return this[_0x567d('0x4')](_0x567d('0x5'))[_0x567d('0x6')]('utf8');}}},'production':{'type':Sequelize[_0x567d('0x2')](_0x567d('0x3')),'get':function(){if(this[_0x567d('0x4')](_0x567d('0x7'))){return this[_0x567d('0x4')](_0x567d('0x7'))['toString']('utf8');}}},'savedAt':{'type':Sequelize[_0x567d('0x8')]},'publishedAt':{'type':Sequelize[_0x567d('0x8')]}};