package com.lesingle.edu.dto.response;

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

import java.time.LocalDateTime;

/**
 * 班级教师关系响应
 * 用于返回班级教师关系信息给前端
 */
@Data
@Builder
@Schema(description = "班级教师关系响应")
public class ClassTeacherResponse {

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

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

    @Schema(description = "教师 ID")
    private Long teacherId;

    @Schema(description = "角色")
    private String role;

    @Schema(description = "教师姓名")
    private String teacherName;

    @Schema(description = "是否班主任")
    private Boolean isPrimary;

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