020779264bef877de78b6979ee979d6a8af9853b
[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 _0xfcbb=['BOOLEAN','setDataValue','getDataValue','crudPermissions','split','sequelize','exports','STRING'];(function(_0x5dc8fe,_0x1e28c1){var _0x4295f2=function(_0x5bc6b1){while(--_0x5bc6b1){_0x5dc8fe['push'](_0x5dc8fe['shift']());}};_0x4295f2(++_0x1e28c1);}(_0xfcbb,0x10d));var _0xbfcb=function(_0x4ecd96,_0x172d60){_0x4ecd96=_0x4ecd96-0x0;var _0x267364=_0xfcbb[_0x4ecd96];return _0x267364;};'use strict';var Sequelize=require(_0xbfcb('0x0'));module[_0xbfcb('0x1')]={'name':{'type':Sequelize[_0xbfcb('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0xbfcb('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xbfcb('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xbfcb('0x2')],'set':function(_0x135741){this[_0xbfcb('0x4')]('crudPermissions',_0x135741?_0x135741['join'](''):[]);},'get':function(){return this[_0xbfcb('0x5')](_0xbfcb('0x6'))?this[_0xbfcb('0x5')](_0xbfcb('0x6'))[_0xbfcb('0x7')](''):[];}}};