Built motion from commit (unavailable).|2.5.2
[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 _0x938a=['getDataValue','sequelize','exports','STRING','BOOLEAN','crudPermissions','join'];(function(_0x286d32,_0x2b1a60){var _0x2549f1=function(_0x1258d3){while(--_0x1258d3){_0x286d32['push'](_0x286d32['shift']());}};_0x2549f1(++_0x2b1a60);}(_0x938a,0x1f2));var _0xa938=function(_0x28636a,_0x50445e){_0x28636a=_0x28636a-0x0;var _0x362fd2=_0x938a[_0x28636a];return _0x362fd2;};'use strict';var Sequelize=require(_0xa938('0x0'));module[_0xa938('0x1')]={'name':{'type':Sequelize[_0xa938('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xa938('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xa938('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xa938('0x2')],'set':function(_0x42c636){this['setDataValue'](_0xa938('0x4'),_0x42c636?_0x42c636[_0xa938('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0xa938('0x4'))?this[_0xa938('0x6')]('crudPermissions')['split'](''):[];}}};