package com.lesingle.edu.dto.response;

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

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 学生班级历史响应
 * 用于返回学生班级历史信息给前端
 */
@Data
@Builder
@Schema(description = "学生班级历史响应")
public class StudentClassHistoryResponse {

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

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

    @Schema(description = "班级 ID")
    private Long classId;

    @Schema(description = "开始日期")
    private LocalDate startDate;

    @Schema(description = "结束日期")
    private LocalDate endDate;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
}
