package com.lesingle.edu.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * 学生及其课后记录（用于课后记录页面）
 */
@Data
@Builder
@Schema(description = "学生及其课后记录")
public class StudentWithRecordResponse {

    @Schema(description = "学生 ID")
    private Long id;

    @Schema(description = "学生姓名")
    private String name;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "课后记录，未记录时为 null")
    private StudentRecordResponse record;
}
