d803bf0e40a70dafd15fb7624954ec9048846012
[motion2.git] / server / api / userProfileSection / userProfileSection.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 _0xf45e=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','STRING'];(function(_0x47a7d0,_0x4e182d){var _0xb9bd08=function(_0x588ee2){while(--_0x588ee2){_0x47a7d0['push'](_0x47a7d0['shift']());}};_0xb9bd08(++_0x4e182d);}(_0xf45e,0x115));var _0xef45=function(_0x12c7dd,_0x4d52f9){_0x12c7dd=_0x12c7dd-0x0;var _0x4c1b4b=_0xf45e[_0x12c7dd];return _0x4c1b4b;};'use strict';var Sequelize=require(_0xef45('0x0'));module['exports']={'name':{'type':Sequelize[_0xef45('0x1')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0xef45('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0xef45('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xef45('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xef45('0x1')],'set':function(_0x37772f){this[_0xef45('0x4')](_0xef45('0x5'),_0x37772f?_0x37772f[_0xef45('0x6')](''):[]);},'get':function(){return this[_0xef45('0x7')](_0xef45('0x5'))?this[_0xef45('0x7')](_0xef45('0x5'))[_0xef45('0x8')](''):[];}}};