Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
index be92a1c..434cde0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8fe4=['sequelize','exports','STRING','BOOLEAN','setDataValue','crudPermissions','join','split'];(function(_0x48010f,_0x41a6e2){var _0x598b25=function(_0x36f9cc){while(--_0x36f9cc){_0x48010f['push'](_0x48010f['shift']());}};_0x598b25(++_0x41a6e2);}(_0x8fe4,0x170));var _0x48fe=function(_0x90c8e7,_0x3c4a17){_0x90c8e7=_0x90c8e7-0x0;var _0x47953f=_0x8fe4[_0x90c8e7];return _0x47953f;};'use strict';var Sequelize=require(_0x48fe('0x0'));module[_0x48fe('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x48fe('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x48fe('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x48fe('0x2')],'set':function(_0x3cc016){this[_0x48fe('0x4')](_0x48fe('0x5'),_0x3cc016?_0x3cc016[_0x48fe('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this['getDataValue']('crudPermissions')[_0x48fe('0x7')](''):[];}}};
\ No newline at end of file
+var _0x5b12=['split','sequelize','exports','STRING','INTEGER','BOOLEAN','setDataValue','getDataValue','crudPermissions'];(function(_0x226d30,_0x492f31){var _0x22c105=function(_0x2aa414){while(--_0x2aa414){_0x226d30['push'](_0x226d30['shift']());}};_0x22c105(++_0x492f31);}(_0x5b12,0xa3));var _0x25b1=function(_0x3a9f7c,_0x1caeff){_0x3a9f7c=_0x3a9f7c-0x0;var _0x4e5bee=_0x5b12[_0x3a9f7c];return _0x4e5bee;};'use strict';var Sequelize=require(_0x25b1('0x0'));module[_0x25b1('0x1')]={'name':{'type':Sequelize[_0x25b1('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x25b1('0x3')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x25b1('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x25b1('0x2')],'set':function(_0x47995b){this[_0x25b1('0x5')]('crudPermissions',_0x47995b?_0x47995b['join'](''):[]);},'get':function(){return this[_0x25b1('0x6')]('crudPermissions')?this['getDataValue'](_0x25b1('0x7'))[_0x25b1('0x8')](''):[];}}};
\ No newline at end of file