YiAi/YiAiQuickDeploy/dist/modules/user/user.entity.js
2024-07-02 16:38:26 +08:00

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 _0x7f8d7=_0xd600;(function(_0x282b9c,_0x4dd7f4){var _0x543cc1=_0xd600,_0x5eca40=_0x282b9c();while(!![]){try{var _0x1b954a=parseInt(_0x543cc1(0x103))/0x1+parseInt(_0x543cc1(0x10d))/0x2*(-parseInt(_0x543cc1(0xfd))/0x3)+parseInt(_0x543cc1(0xef))/0x4*(-parseInt(_0x543cc1(0x10c))/0x5)+parseInt(_0x543cc1(0xf6))/0x6*(-parseInt(_0x543cc1(0xfb))/0x7)+parseInt(_0x543cc1(0xe4))/0x8+-parseInt(_0x543cc1(0xea))/0x9*(-parseInt(_0x543cc1(0x110))/0xa)+parseInt(_0x543cc1(0xe9))/0xb;if(_0x1b954a===_0x4dd7f4)break;else _0x5eca40['push'](_0x5eca40['shift']());}catch(_0x266f1e){_0x5eca40['push'](_0x5eca40['shift']());}}}(_0x1ea1,0x76d96));function _0xd600(_0x284a67,_0x48d418){var _0x1ea173=_0x1ea1();return _0xd600=function(_0xd600fa,_0x25b1cd){_0xd600fa=_0xd600fa-0xe4;var _0x1ed390=_0x1ea173[_0xd600fa];return _0x1ed390;},_0xd600(_0x284a67,_0x48d418);}var __decorate=this&&this['__decorate']||function(_0x565a56,_0x3c8106,_0x13a060,_0x2f2e64){var _0x4fb68b=_0xd600,_0x29c014=arguments[_0x4fb68b(0x10b)],_0x398438=_0x29c014<0x3?_0x3c8106:_0x2f2e64===null?_0x2f2e64=Object['getOwnPropertyDescriptor'](_0x3c8106,_0x13a060):_0x2f2e64,_0x3f1b8c;if(typeof Reflect===_0x4fb68b(0xf8)&&typeof Reflect[_0x4fb68b(0x111)]===_0x4fb68b(0xf4))_0x398438=Reflect[_0x4fb68b(0x111)](_0x565a56,_0x3c8106,_0x13a060,_0x2f2e64);else{for(var _0x1bcc1c=_0x565a56[_0x4fb68b(0x10b)]-0x1;_0x1bcc1c>=0x0;_0x1bcc1c--)if(_0x3f1b8c=_0x565a56[_0x1bcc1c])_0x398438=(_0x29c014<0x3?_0x3f1b8c(_0x398438):_0x29c014>0x3?_0x3f1b8c(_0x3c8106,_0x13a060,_0x398438):_0x3f1b8c(_0x3c8106,_0x13a060))||_0x398438;}return _0x29c014>0x3&&_0x398438&&Object[_0x4fb68b(0x106)](_0x3c8106,_0x13a060,_0x398438),_0x398438;},__metadata=this&&this[_0x7f8d7(0xf2)]||function(_0x25eef3,_0x40b53b){var _0x36c979=_0x7f8d7;if(typeof Reflect===_0x36c979(0xf8)&&typeof Reflect['metadata']===_0x36c979(0xf4))return Reflect['metadata'](_0x25eef3,_0x40b53b);};Object[_0x7f8d7(0x106)](exports,_0x7f8d7(0xec),{'value':!![]}),exports['UserEntity']=void 0x0;const typeorm_1=require(_0x7f8d7(0xfe)),baseEntity_1=require(_0x7f8d7(0x113));let UserEntity=class UserEntity extends baseEntity_1[_0x7f8d7(0xe6)]{};__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0xc,'comment':_0x7f8d7(0x10a)}),__metadata(_0x7f8d7(0x114),String)],UserEntity[_0x7f8d7(0xee)],'username',void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0x40,'comment':'用户密码','nullable':!![]}),__metadata(_0x7f8d7(0x114),String)],UserEntity[_0x7f8d7(0xee)],'password',void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'default':0x0,'comment':_0x7f8d7(0x101)}),__metadata(_0x7f8d7(0x114),Number)],UserEntity[_0x7f8d7(0xee)],_0x7f8d7(0x10e),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'default':0x1,'comment':_0x7f8d7(0x107)}),__metadata(_0x7f8d7(0x114),Number)],UserEntity['prototype'],_0x7f8d7(0xf0),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'unique':!![],'comment':_0x7f8d7(0xe8)}),__metadata('design:type',String)],UserEntity['prototype'],'email',void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'nullable':!![],'comment':'用户手机号'}),__metadata(_0x7f8d7(0x114),String)],UserEntity['prototype'],_0x7f8d7(0xf7),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0x12c,'nullable':!![],'default':'https://public-1300678944.cos.ap-shanghai.myqcloud.com/ai/7f042f63f.png','comment':_0x7f8d7(0xfc)}),__metadata('design:type',String)],UserEntity[_0x7f8d7(0xee)],_0x7f8d7(0x105),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x12c,'nullable':!![],'default':'我是一台基于深度学习和自然语言处理技术的\x20AI\x20机器人旨在为用户提供高效、精准、个性化的智能服务。','comment':'用户签名'}),__metadata('design:type',String)],UserEntity['prototype'],_0x7f8d7(0xed),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0x40,'default':'','comment':'注册IP','nullable':!![]}),__metadata('design:type',String)],UserEntity[_0x7f8d7(0xee)],'registerIp',void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0x40,'default':'','comment':_0x7f8d7(0x10f),'nullable':!![]}),__metadata(_0x7f8d7(0x114),String)],UserEntity['prototype'],_0x7f8d7(0xe7),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0xa,'default':'','comment':'用户邀请码'}),__metadata('design:type',String)],UserEntity[_0x7f8d7(0xee)],_0x7f8d7(0xeb),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0xa,'default':'','comment':_0x7f8d7(0x108)}),__metadata(_0x7f8d7(0x114),String)],UserEntity[_0x7f8d7(0xee)],_0x7f8d7(0xfa),void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0xa,'default':_0x7f8d7(0xe5),'comment':_0x7f8d7(0x109)}),__metadata(_0x7f8d7(0x114),String)],UserEntity[_0x7f8d7(0xee)],'role',void 0x0),__decorate([(0x0,typeorm_1['Column'])({'length':0x40,'default':'','comment':_0x7f8d7(0xf1),'nullable':!![]}),__metadata(_0x7f8d7(0x114),String)],UserEntity[_0x7f8d7(0xee)],_0x7f8d7(0x104),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'length':0x40,'comment':_0x7f8d7(0x100),'nullable':!![]}),__metadata('design:type',String)],UserEntity[_0x7f8d7(0xee)],'client',void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'comment':_0x7f8d7(0x112),'default':0x0}),__metadata(_0x7f8d7(0x114),Number)],UserEntity['prototype'],_0x7f8d7(0xf5),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'comment':'用户连续签到天数','default':0x0}),__metadata('design:type',Number)],UserEntity[_0x7f8d7(0xee)],_0x7f8d7(0xf3),void 0x0),__decorate([(0x0,typeorm_1[_0x7f8d7(0xff)])({'comment':_0x7f8d7(0x102),'default':0x0}),__metadata('design:type',Number)],UserEntity['prototype'],_0x7f8d7(0x115),void 0x0),UserEntity=__decorate([(0x0,typeorm_1['Entity'])({'name':'users'})],UserEntity),exports[_0x7f8d7(0xf9)]=UserEntity;function _0x1ea1(){var _0x21d3bd=['用户违规记录次数','270585CbEMAK','openId','avatar','defineProperty','用户性别','用户填写的别人的邀请码','用户角色','用户昵称','length','17155hYBNdj','477464RHwLTd','status','最后一次登录IP','10ggzVRg','decorate','用户邀请链接被点击次数','../../common/entity/baseEntity','design:type','violationCount','3319728XjzAEc','viewer','BaseEntity','lastLoginIp','用户邮箱','11177947PwnMfW','2428992CFJKkb','inviteCode','__esModule','sign','prototype','1044nFkMDw','sex','微信openId','__metadata','consecutiveDays','function','inviteLinkCount','2103522dUJGyG','phone','object','UserEntity','invitedBy','7ZmQGrd','用户头像','3NbIXpo','typeorm','Column','用户注册来源','用户状态'];_0x1ea1=function(){return _0x21d3bd;};return _0x1ea1();}