package com.limap.demo.domain;

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.TreePlusEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

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

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

    /** 学生名称 */
    @Excel(name = "学生名称")
    private String schoolName;

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