Built motion from commit (unavailable).|2.5.31
[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 _0x23d3=['crudPermissions','split','sequelize','exports','STRING','INTEGER','BOOLEAN','setDataValue','join','getDataValue'];(function(_0x5c351c,_0x2046d8){var _0x26f3b3=function(_0x47ac18){while(--_0x47ac18){_0x5c351c['push'](_0x5c351c['shift']());}};_0x26f3b3(++_0x2046d8);}(_0x23d3,0xe8));var _0x323d=function(_0x1c633d,_0x498586){_0x1c633d=_0x1c633d-0x0;var _0x58ba1e=_0x23d3[_0x1c633d];return _0x58ba1e;};'use strict';var Sequelize=require(_0x323d('0x0'));module[_0x323d('0x1')]={'name':{'type':Sequelize[_0x323d('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x323d('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x323d('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x323d('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x323d('0x2')],'set':function(_0xeb2e57){this[_0x323d('0x5')]('crudPermissions',_0xeb2e57?_0xeb2e57[_0x323d('0x6')](''):[]);},'get':function(){return this[_0x323d('0x7')](_0x323d('0x8'))?this[_0x323d('0x7')]('crudPermissions')[_0x323d('0x9')](''):[];}}};