package com.limap.demo.domain;

import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.limap.common.annotation.Excel;
import com.limap.common.core.domain.BasePlusEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 主子表演示对象 demo_classes
 * 
 * @author metaee
 * @date 2023-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "demo_classes")
public class DemoClasses extends BasePlusEntity {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @TableId(type = IdType.AUTO)
    private Long classesId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String classesName;

    /** 班级年级 */
    @Excel(name = "班级年级")
    private Long classesGrade;

    /** 班主任 */
    @Excel(name = "班主任")
    private String classesTeacher;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 单表演示信息 */
    @TableField(exist = false)
    private List<DemoStudent> demoStudentList;
}
