YiAi/YiAiQuickDeploy/dist/modules/user/user.entity.js
2024-02-06 13:43:30 +08:00

1 line
6.7 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 _0x2532ed=_0x265a;function _0x265a(_0x18cd91,_0x54eba2){var _0x467879=_0x4678();return _0x265a=function(_0x265ab9,_0x554c62){_0x265ab9=_0x265ab9-0x172;var _0x5e322a=_0x467879[_0x265ab9];return _0x5e322a;},_0x265a(_0x18cd91,_0x54eba2);}(function(_0x1b7af1,_0x36a816){var _0xafab5=_0x265a,_0xd55be2=_0x1b7af1();while(!![]){try{var _0x2794ca=parseInt(_0xafab5(0x181))/0x1+-parseInt(_0xafab5(0x172))/0x2*(-parseInt(_0xafab5(0x1a5))/0x3)+parseInt(_0xafab5(0x193))/0x4*(-parseInt(_0xafab5(0x192))/0x5)+-parseInt(_0xafab5(0x1a6))/0x6+-parseInt(_0xafab5(0x18f))/0x7+parseInt(_0xafab5(0x199))/0x8*(parseInt(_0xafab5(0x1a2))/0x9)+parseInt(_0xafab5(0x17f))/0xa*(-parseInt(_0xafab5(0x18a))/0xb);if(_0x2794ca===_0x36a816)break;else _0xd55be2['push'](_0xd55be2['shift']());}catch(_0x3a3772){_0xd55be2['push'](_0xd55be2['shift']());}}}(_0x4678,0x874ef));var __decorate=this&&this[_0x2532ed(0x18d)]||function(_0x53f7d9,_0x1309b1,_0x51e900,_0x993dc7){var _0xacf6ca=_0x2532ed,_0x3c5322=arguments[_0xacf6ca(0x17a)],_0x507224=_0x3c5322<0x3?_0x1309b1:_0x993dc7===null?_0x993dc7=Object[_0xacf6ca(0x17c)](_0x1309b1,_0x51e900):_0x993dc7,_0x502b3e;if(typeof Reflect===_0xacf6ca(0x197)&&typeof Reflect['decorate']==='function')_0x507224=Reflect['decorate'](_0x53f7d9,_0x1309b1,_0x51e900,_0x993dc7);else{for(var _0x40618a=_0x53f7d9[_0xacf6ca(0x17a)]-0x1;_0x40618a>=0x0;_0x40618a--)if(_0x502b3e=_0x53f7d9[_0x40618a])_0x507224=(_0x3c5322<0x3?_0x502b3e(_0x507224):_0x3c5322>0x3?_0x502b3e(_0x1309b1,_0x51e900,_0x507224):_0x502b3e(_0x1309b1,_0x51e900))||_0x507224;}return _0x3c5322>0x3&&_0x507224&&Object[_0xacf6ca(0x190)](_0x1309b1,_0x51e900,_0x507224),_0x507224;},__metadata=this&&this[_0x2532ed(0x175)]||function(_0x481071,_0x42b12f){var _0x263910=_0x2532ed;if(typeof Reflect===_0x263910(0x197)&&typeof Reflect['metadata']===_0x263910(0x19f))return Reflect[_0x263910(0x182)](_0x481071,_0x42b12f);};Object[_0x2532ed(0x190)](exports,_0x2532ed(0x185),{'value':!![]}),exports['UserEntity']=void 0x0;const typeorm_1=require(_0x2532ed(0x19d)),baseEntity_1=require(_0x2532ed(0x19e));function _0x4678(){var _0x3da295=['client','phone','design:type','1314NOfkrC','invitedBy','用户状态','__metadata','password','openId','用户邀请链接被点击次数','sex','length','用户邮箱','getOwnPropertyDescriptor','sign','用户密码','30570dHAWpP','prototype','502696SSueNQ','metadata','viewer','https://public-1300678944.cos.ap-shanghai.myqcloud.com/ai/7f042f63f.png','__esModule','用户签名','email','Column','用户连续签到天数','1045jARXJK','username','inviteCode','__decorate','用户头像','6385407ezKvXO','defineProperty','用户性别','1035cYcntw','1504LtqQah','UserEntity','用户邀请码','最后一次登录IP','object','status','424SHzIQd','用户违规记录次数','consecutiveDays','Entity','typeorm','../../common/entity/baseEntity','function','lastLoginIp','violationCount','175977sDdOgi','inviteLinkCount','registerIp','3498ZQPsfe','2822376ilvjRr'];_0x4678=function(){return _0x3da295;};return _0x4678();}let UserEntity=class UserEntity extends baseEntity_1['BaseEntity']{};__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0xc,'comment':'用户昵称'}),__metadata('design:type',String)],UserEntity['prototype'],_0x2532ed(0x18b),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0x40,'comment':_0x2532ed(0x17e),'nullable':!![]}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x176),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'default':0x0,'comment':_0x2532ed(0x174)}),__metadata('design:type',Number)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x198),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'default':0x1,'comment':_0x2532ed(0x191)}),__metadata(_0x2532ed(0x1a9),Number)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x179),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'unique':!![],'comment':_0x2532ed(0x17b)}),__metadata('design:type',String)],UserEntity['prototype'],_0x2532ed(0x187),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'nullable':!![],'comment':'用户手机号'}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x1a8),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x12c,'nullable':!![],'default':_0x2532ed(0x184),'comment':_0x2532ed(0x18e)}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],'avatar',void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x12c,'nullable':!![],'default':'我是一台基于深度学习和自然语言处理技术的\x20AI\x20机器人旨在为用户提供高效、精准、个性化的智能服务。','comment':_0x2532ed(0x186)}),__metadata(_0x2532ed(0x1a9),String)],UserEntity['prototype'],_0x2532ed(0x17d),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0x40,'default':'','comment':'注册IP','nullable':!![]}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x1a4),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0x40,'default':'','comment':_0x2532ed(0x196),'nullable':!![]}),__metadata(_0x2532ed(0x1a9),String)],UserEntity['prototype'],_0x2532ed(0x1a0),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0xa,'default':'','comment':_0x2532ed(0x195)}),__metadata(_0x2532ed(0x1a9),String)],UserEntity['prototype'],_0x2532ed(0x18c),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0xa,'default':'','comment':'用户填写的别人的邀请码'}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x173),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0xa,'default':_0x2532ed(0x183),'comment':'用户角色'}),__metadata(_0x2532ed(0x1a9),String)],UserEntity['prototype'],'role',void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0x40,'default':'','comment':'微信openId','nullable':!![]}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x177),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'length':0x40,'comment':'用户注册来源','nullable':!![]}),__metadata(_0x2532ed(0x1a9),String)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x1a7),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'comment':_0x2532ed(0x178),'default':0x0}),__metadata(_0x2532ed(0x1a9),Number)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x1a3),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'comment':_0x2532ed(0x189),'default':0x0}),__metadata(_0x2532ed(0x1a9),Number)],UserEntity['prototype'],_0x2532ed(0x19b),void 0x0),__decorate([(0x0,typeorm_1[_0x2532ed(0x188)])({'comment':_0x2532ed(0x19a),'default':0x0}),__metadata(_0x2532ed(0x1a9),Number)],UserEntity[_0x2532ed(0x180)],_0x2532ed(0x1a1),void 0x0),UserEntity=__decorate([(0x0,typeorm_1[_0x2532ed(0x19c)])({'name':'users'})],UserEntity),exports[_0x2532ed(0x194)]=UserEntity;