a5b751c76bf280ceda693f11be80526c2c7a4ec0
[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 _0x531a=['sequelize','STRING','name','TEXT','getDataValue','preproduction','BLOB','long','production','utf8','DATE'];(function(_0x199c30,_0x13e224){var _0x3fdb56=function(_0x3a3b32){while(--_0x3a3b32){_0x199c30['push'](_0x199c30['shift']());}};_0x3fdb56(++_0x13e224);}(_0x531a,0x79));var _0xa531=function(_0x3566ea,_0x50e87d){_0x3566ea=_0x3566ea-0x0;var _0x24c0b9=_0x531a[_0x3566ea];return _0x24c0b9;};'use strict';var Sequelize=require(_0xa531('0x0'));module['exports']={'name':{'type':Sequelize[_0xa531('0x1')],'unique':_0xa531('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xa531('0x1')]},'notes':{'type':Sequelize[_0xa531('0x3')]},'preproduction':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0xa531('0x4')](_0xa531('0x5'))){return this[_0xa531('0x4')](_0xa531('0x5'))['toString']('utf8');}}},'production':{'type':Sequelize[_0xa531('0x6')](_0xa531('0x7')),'get':function(){if(this['getDataValue']('production')){return this[_0xa531('0x4')](_0xa531('0x8'))['toString'](_0xa531('0x9'));}}},'savedAt':{'type':Sequelize[_0xa531('0xa')]},'publishedAt':{'type':Sequelize[_0xa531('0xa')]}};