package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 班级实体
 */
@Schema(description = "班级实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("clazz")
public class Clazz extends BaseEntity {

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "班级名称")
    private String name;

    @Schema(description = "年级")
    private String grade;

    @Schema(description = "班级描述")
    private String description;

    @Schema(description = "容纳人数")
    private Integer capacity;

    // 暂时注释掉数据库中不存在的字段
    // @Schema(description = "课时数")
    // private Integer lessonCount;

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

}
