c02f3c9e9a17d5cbd8de08dd58cbad0ffe41bd5f
[motion-next.git] / server / api / userProfileSection / userProfileSection.attributes.js
1 const a677_0x7eff=['exports','INTEGER','getDataValue','sequelize','setDataValue','BOOLEAN','crudPermissions','join','STRING','split'];(function(_0x45b02f,_0x7effdc){const _0x1ff903=function(_0x3acf1f){while(--_0x3acf1f){_0x45b02f['push'](_0x45b02f['shift']());}};_0x1ff903(++_0x7effdc);}(a677_0x7eff,0x1b8));const a677_0x1ff9=function(_0x45b02f,_0x7effdc){_0x45b02f=_0x45b02f-0x0;let _0x1ff903=a677_0x7eff[_0x45b02f];return _0x1ff903;};const _0xdff58=a677_0x1ff9;'use strict';const Sequelize=require(_0xdff58('0x3'));module[_0xdff58('0x0')]={'name':{'type':Sequelize[_0xdff58('0x8')],'allowNull':![]},'category':{'type':Sequelize[_0xdff58('0x8')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xdff58('0x1')],'allowNull':![]},'enabled':{'type':Sequelize[_0xdff58('0x5')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xdff58('0x5')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xdff58('0x8')],'set':function(_0x3acf1f){const _0x447417=_0xdff58;this[_0x447417('0x4')](_0x447417('0x6'),_0x3acf1f?_0x3acf1f[_0x447417('0x7')](''):[]);},'get':function(){const _0x5aa56d=_0xdff58;return this['getDataValue'](_0x5aa56d('0x6'))?this[_0x5aa56d('0x2')]('crudPermissions')[_0x5aa56d('0x9')](''):[];}}};