Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
index 2fe9d91..233bf72 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x757a=['BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','exports','STRING'];(function(_0xf23ae0,_0x13041f){var _0x441c81=function(_0x3964c9){while(--_0x3964c9){_0xf23ae0['push'](_0xf23ae0['shift']());}};_0x441c81(++_0x13041f);}(_0x757a,0xde));var _0xa757=function(_0x463e6c,_0xaff7c1){_0x463e6c=_0x463e6c-0x0;var _0x3dbb9c=_0x757a[_0x463e6c];return _0x3dbb9c;};'use strict';var Sequelize=require('sequelize');module[_0xa757('0x0')]={'name':{'type':Sequelize[_0xa757('0x1')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xa757('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xa757('0x1')],'set':function(_0x1c2932){this[_0xa757('0x3')](_0xa757('0x4'),_0x1c2932?_0x1c2932[_0xa757('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0xa757('0x4'))?this[_0xa757('0x6')]('crudPermissions')[_0xa757('0x7')](''):[];}}};
\ No newline at end of file
+var _0x8f59=['INTEGER','BOOLEAN','setDataValue','crudPermissions','getDataValue','sequelize','exports','STRING'];(function(_0x548e95,_0x1d1247){var _0x1c687b=function(_0x4df838){while(--_0x4df838){_0x548e95['push'](_0x548e95['shift']());}};_0x1c687b(++_0x1d1247);}(_0x8f59,0x11d));var _0x98f5=function(_0x394c2e,_0x436edd){_0x394c2e=_0x394c2e-0x0;var _0x2907aa=_0x8f59[_0x394c2e];return _0x2907aa;};'use strict';var Sequelize=require(_0x98f5('0x0'));module[_0x98f5('0x1')]={'name':{'type':Sequelize[_0x98f5('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x98f5('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x98f5('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x98f5('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x98f5('0x2')],'set':function(_0x320235){this[_0x98f5('0x5')](_0x98f5('0x6'),_0x320235?_0x320235['join'](''):[]);},'get':function(){return this[_0x98f5('0x7')](_0x98f5('0x6'))?this[_0x98f5('0x7')]('crudPermissions')['split'](''):[];}}};
\ No newline at end of file