31ea31a82b6a955aa88d9fd998611c4b487811c9
[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 _0x7f9e=['DATE','sequelize','exports','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','toString','production','utf8'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x7f9e,0x90));var _0xe7f9=function(_0xd0a847,_0x72562b){_0xd0a847=_0xd0a847-0x0;var _0x2536ec=_0x7f9e[_0xd0a847];return _0x2536ec;};'use strict';var Sequelize=require(_0xe7f9('0x0'));module[_0xe7f9('0x1')]={'name':{'type':Sequelize[_0xe7f9('0x2')],'unique':_0xe7f9('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0xe7f9('0x4')]},'preproduction':{'type':Sequelize[_0xe7f9('0x5')](_0xe7f9('0x6')),'get':function(){if(this[_0xe7f9('0x7')](_0xe7f9('0x8'))){return this[_0xe7f9('0x7')](_0xe7f9('0x8'))[_0xe7f9('0x9')]('utf8');}}},'production':{'type':Sequelize[_0xe7f9('0x5')]('long'),'get':function(){if(this[_0xe7f9('0x7')](_0xe7f9('0xa'))){return this['getDataValue'](_0xe7f9('0xa'))[_0xe7f9('0x9')](_0xe7f9('0xb'));}}},'savedAt':{'type':Sequelize[_0xe7f9('0xc')]},'publishedAt':{'type':Sequelize[_0xe7f9('0xc')]}};