YiAi/YiAiQuickDeploy/dist/modules/user/user.entity.js

1 line
6.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';var _0x5624c9=_0x43cf;(function(_0x4a063b,_0x5eecc6){var _0x36c1f3=_0x43cf,_0x1b427e=_0x4a063b();while(!![]){try{var _0x2c2551=parseInt(_0x36c1f3(0x1a3))/0x1+parseInt(_0x36c1f3(0x1b1))/0x2+-parseInt(_0x36c1f3(0x1a1))/0x3+parseInt(_0x36c1f3(0x1a9))/0x4*(parseInt(_0x36c1f3(0x193))/0x5)+parseInt(_0x36c1f3(0x199))/0x6+-parseInt(_0x36c1f3(0x187))/0x7+-parseInt(_0x36c1f3(0x185))/0x8;if(_0x2c2551===_0x5eecc6)break;else _0x1b427e['push'](_0x1b427e['shift']());}catch(_0x5ced45){_0x1b427e['push'](_0x1b427e['shift']());}}}(_0x1e9a,0xe5a2e));var __decorate=this&&this[_0x5624c9(0x188)]||function(_0x4f1520,_0x110d21,_0x4e8d4e,_0x481b7b){var _0x9a1625=_0x5624c9,_0xae7921=arguments[_0x9a1625(0x1af)],_0x5f26e7=_0xae7921<0x3?_0x110d21:_0x481b7b===null?_0x481b7b=Object[_0x9a1625(0x19b)](_0x110d21,_0x4e8d4e):_0x481b7b,_0x38440f;if(typeof Reflect===_0x9a1625(0x18e)&&typeof Reflect['decorate']===_0x9a1625(0x182))_0x5f26e7=Reflect['decorate'](_0x4f1520,_0x110d21,_0x4e8d4e,_0x481b7b);else{for(var _0x595c95=_0x4f1520['length']-0x1;_0x595c95>=0x0;_0x595c95--)if(_0x38440f=_0x4f1520[_0x595c95])_0x5f26e7=(_0xae7921<0x3?_0x38440f(_0x5f26e7):_0xae7921>0x3?_0x38440f(_0x110d21,_0x4e8d4e,_0x5f26e7):_0x38440f(_0x110d21,_0x4e8d4e))||_0x5f26e7;}return _0xae7921>0x3&&_0x5f26e7&&Object[_0x9a1625(0x19c)](_0x110d21,_0x4e8d4e,_0x5f26e7),_0x5f26e7;},__metadata=this&&this['__metadata']||function(_0x1c0b09,_0x518272){var _0x4845f1=_0x5624c9;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x4845f1(0x182))return Reflect[_0x4845f1(0x1b2)](_0x1c0b09,_0x518272);};function _0x1e9a(){var _0x4ea6b0=['用户邀请链接被点击次数','Column','username','用户昵称','5002929WMExyy','用户邮箱','1260892FOBaUw','inviteLinkCount','users','invitedBy','lastLoginIp','微信openId','1264XTtDwO','用户密码','UserEntity','sign','用户填写的别人的邀请码','inviteCode','length','BaseEntity','3346144hnMPZW','metadata','用户签名','function','registerIp','client','11193080xHCtsF','用户连续签到天数','4023355LwnlUw','__decorate','用户角色','用户头像','最后一次登录IP','design:type','__esModule','object','用户手机号','prototype','注册IP','avatar','4890OgnfZt','openId','../../common/entity/baseEntity','用户注册来源','consecutiveDays','phone','8034726mREFqr','用户状态','getOwnPropertyDescriptor','defineProperty'];_0x1e9a=function(){return _0x4ea6b0;};return _0x1e9a();}function _0x43cf(_0x299782,_0x17afc8){var _0x1e9af4=_0x1e9a();return _0x43cf=function(_0x43cfa9,_0x2db3ce){_0x43cfa9=_0x43cfa9-0x182;var _0x5bb58c=_0x1e9af4[_0x43cfa9];return _0x5bb58c;},_0x43cf(_0x299782,_0x17afc8);}Object[_0x5624c9(0x19c)](exports,_0x5624c9(0x18d),{'value':!![]}),exports['UserEntity']=void 0x0;const typeorm_1=require('typeorm'),baseEntity_1=require(_0x5624c9(0x195));let UserEntity=class UserEntity extends baseEntity_1[_0x5624c9(0x1b0)]{};__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0xc,'comment':_0x5624c9(0x1a0)}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x19f),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'comment':_0x5624c9(0x1aa),'nullable':!![]}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],'password',void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'default':0x0,'comment':_0x5624c9(0x19a)}),__metadata(_0x5624c9(0x18c),Number)],UserEntity[_0x5624c9(0x190)],'status',void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'default':0x1,'comment':'用户性别'}),__metadata(_0x5624c9(0x18c),Number)],UserEntity['prototype'],'sex',void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'unique':!![],'comment':_0x5624c9(0x1a2)}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],'email',void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x40,'nullable':!![],'comment':_0x5624c9(0x18f)}),__metadata('design:type',String)],UserEntity['prototype'],_0x5624c9(0x198),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x12c,'nullable':!![],'default':'https://public-1300678944.cos.ap-shanghai.myqcloud.com/ai/7f042f63f.png','comment':_0x5624c9(0x18a)}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x192),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x12c,'nullable':!![],'default':'我是一台基于深度学习和自然语言处理技术的\x20AI\x20机器人旨在为用户提供高效、精准、个性化的智能服务。','comment':_0x5624c9(0x1b3)}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x1ac),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x40,'default':'','comment':_0x5624c9(0x191),'nullable':!![]}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x183),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x40,'default':'','comment':_0x5624c9(0x18b),'nullable':!![]}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x1a7),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0xa,'default':'','comment':'用户邀请码'}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x1ae),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0xa,'default':'','comment':_0x5624c9(0x1ad)}),__metadata(_0x5624c9(0x18c),String)],UserEntity['prototype'],_0x5624c9(0x1a6),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0xa,'default':'viewer','comment':_0x5624c9(0x189)}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],'role',void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x40,'default':'','comment':_0x5624c9(0x1a8),'nullable':!![]}),__metadata(_0x5624c9(0x18c),String)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x194),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'length':0x40,'comment':_0x5624c9(0x196),'nullable':!![]}),__metadata(_0x5624c9(0x18c),String)],UserEntity['prototype'],_0x5624c9(0x184),void 0x0),__decorate([(0x0,typeorm_1[_0x5624c9(0x19e)])({'comment':_0x5624c9(0x19d),'default':0x0}),__metadata(_0x5624c9(0x18c),Number)],UserEntity['prototype'],_0x5624c9(0x1a4),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'comment':_0x5624c9(0x186),'default':0x0}),__metadata(_0x5624c9(0x18c),Number)],UserEntity[_0x5624c9(0x190)],_0x5624c9(0x197),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'comment':'用户违规记录次数','default':0x0}),__metadata(_0x5624c9(0x18c),Number)],UserEntity[_0x5624c9(0x190)],'violationCount',void 0x0),UserEntity=__decorate([(0x0,typeorm_1['Entity'])({'name':_0x5624c9(0x1a5)})],UserEntity),exports[_0x5624c9(0x1ab)]=UserEntity;