Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / api / userProfileSection / userProfileSection.attributes.js
1 const a677_0x4a35=['exports','getDataValue','crudPermissions','INTEGER','BOOLEAN','join','STRING'];(function(_0x757738,_0x4a3556){const _0x1af2ea=function(_0x4e025d){while(--_0x4e025d){_0x757738['push'](_0x757738['shift']());}};_0x1af2ea(++_0x4a3556);}(a677_0x4a35,0x199));const a677_0x1af2=function(_0x757738,_0x4a3556){_0x757738=_0x757738-0x0;let _0x1af2ea=a677_0x4a35[_0x757738];return _0x1af2ea;};const _0x1c4259=a677_0x1af2;'use strict';const Sequelize=require('sequelize');module[_0x1c4259('0x4')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x1c4259('0x3')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x1c4259('0x0')],'allowNull':![]},'enabled':{'type':Sequelize[_0x1c4259('0x1')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x1c4259('0x1')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x4e025d){const _0x53ad7f=_0x1c4259;this['setDataValue']('crudPermissions',_0x4e025d?_0x4e025d[_0x53ad7f('0x2')](''):[]);},'get':function(){const _0x57b19d=_0x1c4259;return this[_0x57b19d('0x5')]('crudPermissions')?this['getDataValue'](_0x57b19d('0x6'))['split'](''):[];}}};