25 lines
761 B
Java
25 lines
761 B
Java
package art.kexue.sxwz.entity.dto;
|
||
|
||
import art.kexue.sxwz.entity.Account;
|
||
import art.kexue.sxwz.entity.EduStudent;
|
||
import art.kexue.sxwz.entity.EduTeacher;
|
||
import art.kexue.sxwz.entity.SysUser;
|
||
import io.swagger.v3.oas.annotations.media.Schema;
|
||
import lombok.Data;
|
||
|
||
@Data
|
||
@Schema(name = "UserDetailDto", description = "用户详细信息(包含sysUser、student、teacher、account)")
|
||
public class UserDetailDto {
|
||
|
||
@Schema(description = "用户基础信息")
|
||
private SysUser sysUser;
|
||
|
||
@Schema(description = "学生信息(如果是学生)")
|
||
private EduStudent student;
|
||
|
||
@Schema(description = "教师信息(如果是教师)")
|
||
private EduTeacher teacher;
|
||
|
||
@Schema(description = "账户信息")
|
||
private Account account;
|
||
} |