Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
index be92a1c..05ac2a4 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 _0xe5b5=['exports','STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize'];(function(_0x337860,_0x1b2a6b){var _0x587649=function(_0x4c2fe9){while(--_0x4c2fe9){_0x337860['push'](_0x337860['shift']());}};_0x587649(++_0x1b2a6b);}(_0xe5b5,0x12b));var _0x5e5b=function(_0x5d8018,_0x588592){_0x5d8018=_0x5d8018-0x0;var _0x151ac4=_0xe5b5[_0x5d8018];return _0x151ac4;};'use strict';var Sequelize=require(_0x5e5b('0x0'));module[_0x5e5b('0x1')]={'name':{'type':Sequelize[_0x5e5b('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x5e5b('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x5e5b('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x5e5b('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x5e5b('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x5e5b('0x2')],'set':function(_0xf20c6a){this[_0x5e5b('0x5')](_0x5e5b('0x6'),_0xf20c6a?_0xf20c6a[_0x5e5b('0x7')](''):[]);},'get':function(){return this[_0x5e5b('0x8')](_0x5e5b('0x6'))?this[_0x5e5b('0x8')](_0x5e5b('0x6'))[_0x5e5b('0x9')](''):[];}}};
\ No newline at end of file