SysUserVO.java 1009 Bytes
package com.youjia.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 账号列表 / 详情视图。
 */
@Getter
@Setter
@Schema(description = "账号视图")
public class SysUserVO {

    private Long userId;
    private String account;
    private String name;
    private String mobile;
    private String email;

    @Schema(description = "所属组织 ID")
    private Long orgId;

    @Schema(description = "所属组织完整路径")
    private String orgPath;

    @Schema(description = "数据域")
    private Integer dataScope;

    @Schema(description = "数据域文案")
    private String dataScopeLabel;

    private Integer status;
    private LocalDateTime lastLoginAt;

    @Schema(description = "角色名称列表")
    private List<String> roleNames;

    @Schema(description = "角色编码列表")
    private List<String> roleCodes;

    private String remark;
}