76407881c761fd1a30accd3a3e3a25bcb1e6e3b5
[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 _0xfdc6=['DATE','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','production','toString','utf8'];(function(_0x5dcda1,_0x5b4550){var _0xf433b9=function(_0x44013e){while(--_0x44013e){_0x5dcda1['push'](_0x5dcda1['shift']());}};_0xf433b9(++_0x5b4550);}(_0xfdc6,0xf3));var _0x6fdc=function(_0x20629d,_0x1a6757){_0x20629d=_0x20629d-0x0;var _0x4ca950=_0xfdc6[_0x20629d];return _0x4ca950;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x6fdc('0x0')],'unique':_0x6fdc('0x1'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x6fdc('0x2')]},'preproduction':{'type':Sequelize[_0x6fdc('0x3')](_0x6fdc('0x4')),'get':function(){if(this[_0x6fdc('0x5')](_0x6fdc('0x6'))){return this['getDataValue'](_0x6fdc('0x6'))['toString']('utf8');}}},'production':{'type':Sequelize['BLOB'](_0x6fdc('0x4')),'get':function(){if(this[_0x6fdc('0x5')](_0x6fdc('0x7'))){return this[_0x6fdc('0x5')]('production')[_0x6fdc('0x8')](_0x6fdc('0x9'));}}},'savedAt':{'type':Sequelize[_0x6fdc('0xa')]},'publishedAt':{'type':Sequelize[_0x6fdc('0xa')]}};