Built motion from commit (unavailable).|2.5.23
[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 _0x9b83=['crudPermissions','split','sequelize','exports','STRING','INTEGER','BOOLEAN','setDataValue','join','getDataValue'];(function(_0x5ab6a5,_0x4977b1){var _0x3cb85c=function(_0x585e95){while(--_0x585e95){_0x5ab6a5['push'](_0x5ab6a5['shift']());}};_0x3cb85c(++_0x4977b1);}(_0x9b83,0x84));var _0x39b8=function(_0x2f9467,_0x40576f){_0x2f9467=_0x2f9467-0x0;var _0x39894c=_0x9b83[_0x2f9467];return _0x39894c;};'use strict';var Sequelize=require(_0x39b8('0x0'));module[_0x39b8('0x1')]={'name':{'type':Sequelize[_0x39b8('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x39b8('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x39b8('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x39b8('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x39b8('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x39b8('0x2')],'set':function(_0x2fdfef){this[_0x39b8('0x5')]('crudPermissions',_0x2fdfef?_0x2fdfef[_0x39b8('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x39b8('0x7')](_0x39b8('0x8'))[_0x39b8('0x9')](''):[];}}};