Built motion from commit (unavailable).|2.4.18
[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 _0x6343=['crudPermissions','join','split','exports','STRING','BOOLEAN'];(function(_0x149b0d,_0x5727ee){var _0x2972cc=function(_0x420fd0){while(--_0x420fd0){_0x149b0d['push'](_0x149b0d['shift']());}};_0x2972cc(++_0x5727ee);}(_0x6343,0x1e9));var _0x3634=function(_0x236dd8,_0x446ac8){_0x236dd8=_0x236dd8-0x0;var _0x3f6f6a=_0x6343[_0x236dd8];return _0x3f6f6a;};'use strict';var Sequelize=require('sequelize');module[_0x3634('0x0')]={'name':{'type':Sequelize[_0x3634('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0x3634('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x3634('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x3634('0x1')],'set':function(_0x45748d){this['setDataValue'](_0x3634('0x3'),_0x45748d?_0x45748d[_0x3634('0x4')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this['getDataValue'](_0x3634('0x3'))[_0x3634('0x5')](''):[];}}};