refactor:重构核心模块架构
- 重构用户管理服务,优化内存服务实现 - 简化zulip_core模块结构,移除冗余配置和接口 - 更新用户状态枚举和实体定义 - 优化登录核心服务的测试覆盖
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, OneToOne } from 'typeorm';
|
||||
import { UserStatus } from '../../../business/user_mgmt/user_status.enum';
|
||||
import { UserStatus } from './user_status.enum';
|
||||
import { ZulipAccounts } from '../zulip_accounts/zulip_accounts.entity';
|
||||
|
||||
/**
|
||||
@@ -465,13 +465,13 @@ export class Users {
|
||||
* - 支持数据恢复功能
|
||||
* - 删除操作的时间追踪
|
||||
*/
|
||||
@Column({
|
||||
type: 'datetime',
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: '软删除时间,null表示未删除'
|
||||
})
|
||||
deleted_at?: Date;
|
||||
// @Column({
|
||||
// type: 'datetime',
|
||||
// nullable: true,
|
||||
// default: null,
|
||||
// comment: '软删除时间,null表示未删除'
|
||||
// })
|
||||
// deleted_at?: Date;
|
||||
|
||||
/**
|
||||
* 关联的Zulip账号
|
||||
|
||||
Reference in New Issue
Block a user