Built motion from commit (unavailable).|2.5.5
[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 _0x5643=['BOOLEAN','setDataValue','crudPermissions','getDataValue','split','sequelize','exports','STRING','INTEGER'];(function(_0x37b659,_0x5cdd10){var _0x43ea79=function(_0x521565){while(--_0x521565){_0x37b659['push'](_0x37b659['shift']());}};_0x43ea79(++_0x5cdd10);}(_0x5643,0x1a3));var _0x3564=function(_0x326528,_0x45ed9f){_0x326528=_0x326528-0x0;var _0x56628c=_0x5643[_0x326528];return _0x56628c;};'use strict';var Sequelize=require(_0x3564('0x0'));module[_0x3564('0x1')]={'name':{'type':Sequelize[_0x3564('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x3564('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x3564('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x3564('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x3564('0x2')],'set':function(_0x22a27d){this[_0x3564('0x5')](_0x3564('0x6'),_0x22a27d?_0x22a27d['join'](''):[]);},'get':function(){return this[_0x3564('0x7')](_0x3564('0x6'))?this[_0x3564('0x7')](_0x3564('0x6'))[_0x3564('0x8')](''):[];}}};