ce6ee1041148cb5189cf437cc4e619a3e671721a
[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 _0xcd7a=['production','DATE','sequelize','name','STRING','long','getDataValue','preproduction','toString','utf8','BLOB'];(function(_0x1a1389,_0x588d1c){var _0xc0618d=function(_0x3efb69){while(--_0x3efb69){_0x1a1389['push'](_0x1a1389['shift']());}};_0xc0618d(++_0x588d1c);}(_0xcd7a,0x115));var _0xacd7=function(_0x1af1d5,_0x3d653a){_0x1af1d5=_0x1af1d5-0x0;var _0x5a18a9=_0xcd7a[_0x1af1d5];return _0x5a18a9;};'use strict';var Sequelize=require(_0xacd7('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xacd7('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0xacd7('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0xacd7('0x3')),'get':function(){if(this[_0xacd7('0x4')](_0xacd7('0x5'))){return this[_0xacd7('0x4')](_0xacd7('0x5'))[_0xacd7('0x6')](_0xacd7('0x7'));}}},'production':{'type':Sequelize[_0xacd7('0x8')](_0xacd7('0x3')),'get':function(){if(this[_0xacd7('0x4')](_0xacd7('0x9'))){return this[_0xacd7('0x4')](_0xacd7('0x9'))[_0xacd7('0x6')]('utf8');}}},'savedAt':{'type':Sequelize[_0xacd7('0xa')]},'publishedAt':{'type':Sequelize[_0xacd7('0xa')]}};