Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / userProfile / userProfile.attributes.js
1 const a798_0x455f=['sequelize','attributes','exports','split','STRING','join','getDataValue','crudPermissions','name'];(function(_0x13c7de,_0x4c3b4d){const _0x455fdf=function(_0x53cfc1){while(--_0x53cfc1){_0x13c7de['push'](_0x13c7de['shift']());}};_0x455fdf(++_0x4c3b4d);}(a798_0x455f,0xcc));const a798_0x53cf=function(_0x13c7de,_0x4c3b4d){_0x13c7de=_0x13c7de-0x155;let _0x455fdf=a798_0x455f[_0x13c7de];return _0x455fdf;};const a798_0x5c62e0=a798_0x53cf;'use strict';const {DataTypes}=require(a798_0x5c62e0(0x158)),attributes={'name':{'type':DataTypes[a798_0x5c62e0(0x15c)],'allowNull':![],'unique':a798_0x5c62e0(0x157)},'crudPermissions':{'type':DataTypes[a798_0x5c62e0(0x15c)],'set':function(_0x3f0690){const _0x3573f0=a798_0x5c62e0;this['setDataValue'](_0x3573f0(0x156),_0x3f0690?_0x3f0690[_0x3573f0(0x15d)](''):[]);},'get':function(){const _0x47d2f3=a798_0x5c62e0;return this[_0x47d2f3(0x155)]('crudPermissions')?this['getDataValue'](_0x47d2f3(0x156))[_0x47d2f3(0x15b)](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':DataTypes['STRING'],'allowNull':!![]}};module[a798_0x5c62e0(0x15a)][a798_0x5c62e0(0x159)]=attributes;