sxwz2.0/src/main/java/art/kexue/sxwz/entity/dto/UserDetailDto.java

25 lines
761 B
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 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;
}