1f90293378abf95d142ba3ca6f038b7792830a6f
[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 _0x717b=['getDataValue','preproduction','utf8','production','toString','DATE','sequelize','STRING','name','long'];(function(_0x485432,_0x2c6736){var _0x31cf34=function(_0x640b21){while(--_0x640b21){_0x485432['push'](_0x485432['shift']());}};_0x31cf34(++_0x2c6736);}(_0x717b,0x6a));var _0xb717=function(_0x5a302c,_0x1d4804){_0x5a302c=_0x5a302c-0x0;var _0x454fd5=_0x717b[_0x5a302c];return _0x454fd5;};'use strict';var Sequelize=require(_0xb717('0x0'));module['exports']={'name':{'type':Sequelize[_0xb717('0x1')],'unique':_0xb717('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xb717('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0xb717('0x3')),'get':function(){if(this[_0xb717('0x4')](_0xb717('0x5'))){return this[_0xb717('0x4')](_0xb717('0x5'))['toString'](_0xb717('0x6'));}}},'production':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0xb717('0x4')](_0xb717('0x7'))){return this[_0xb717('0x4')](_0xb717('0x7'))[_0xb717('0x8')](_0xb717('0x6'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xb717('0x9')]}};