Files
UserBaseService/src/main/java/com/yunhai/userbase/model/sysuser/SysUserVo.java
T
chenxing c588dedea7
ci-userbase-service / build-and-push (push) Successful in 44s
跨校身份修订
2026-08-27 20:14:12 +08:00

43 lines
1.4 KiB
Java
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.
package com.yunhai.userbase.model.sysuser;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
/**
* @author chenx
* @date 2026/7/20 16:14
* @description 系统用户返回对象
*/
@Data
public class SysUserVo {
private Integer id;
private String account;
private LocalDate birthday;
private String realName;
private String phone;
private String idcard;
private String email;
private Integer gender;
private String profilePicture;
private List<Integer> roles;
/** 启用状态:StatusEnum 的 key(0=正常/未禁用,1=禁用) */
private Integer disabled;
/** 用户类型:UserTypeEnum 的 key(0=普通用户,1=超级管理员,2=学校管理员) */
private Integer type;
/** 当前组维度的排序号(组内 sort_no);根节点/未选组时为 null */
private Integer sortNo;
/** 组内状态:UserGroupRelStatusEnum 的 key(0=正常,1=转出);仅组上下文列表有值,根节点/未选组为 null */
private Integer groupStatus;
/**
* 主校身份名(如「老师/校领导」):列表页按页批量带出(动态解析主身份,无 N+1)。<br>
* roles 列已停写(冻结历史值),「用户身份」列展示一律切此字段。
*/
private String identityNames;
private Boolean expired;
private LocalDateTime createTime;
private LocalDateTime updateTime;
}