0f8eca1e1368fdc7829626ca01e1768bb1b7065c
[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 _0x6958=['preproduction','toString','long','production','utf8','DATE','sequelize','exports','STRING','TEXT','BLOB','getDataValue'];(function(_0x174bf0,_0x259bb7){var _0x1ad2fd=function(_0x4afa80){while(--_0x4afa80){_0x174bf0['push'](_0x174bf0['shift']());}};_0x1ad2fd(++_0x259bb7);}(_0x6958,0x11a));var _0x8695=function(_0x4237bb,_0x179a65){_0x4237bb=_0x4237bb-0x0;var _0x3482a5=_0x6958[_0x4237bb];return _0x3482a5;};'use strict';var Sequelize=require(_0x8695('0x0'));module[_0x8695('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x8695('0x2')]},'notes':{'type':Sequelize[_0x8695('0x3')]},'preproduction':{'type':Sequelize[_0x8695('0x4')]('long'),'get':function(){if(this[_0x8695('0x5')](_0x8695('0x6'))){return this[_0x8695('0x5')](_0x8695('0x6'))[_0x8695('0x7')]('utf8');}}},'production':{'type':Sequelize[_0x8695('0x4')](_0x8695('0x8')),'get':function(){if(this['getDataValue'](_0x8695('0x9'))){return this[_0x8695('0x5')](_0x8695('0x9'))[_0x8695('0x7')](_0x8695('0xa'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x8695('0xb')]}};