package com.attendance.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = true) @TableName("edu_class") @Schema(description = "班级实体") public class EduClass extends BaseEntity { @Schema(description = "班级名称") private String className; @Schema(description = "班级编码") private String classCode; @Schema(description = "年级") private String grade; @Schema(description = "专业") private String major; @Schema(description = "所属学校ID") private Long schoolId; @Schema(description = "学生人数") private Integer studentCount; @Schema(description = "班主任ID") private Long headteacherId; @Schema(description = "状态") private Integer status; }