package com.sdut.labex.entity;

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 lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实验
 *
 * @TableName experiments
 */
@TableName(value = "experiments")
@Data
public class Experiment implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 项目名
     */
    private String name;

    /**
     * 审核状态(0未审，1通过，2拒绝)
     */
    private Integer status;

    /**
     * 上课班级
     */
    private String className;

    /**
     * 申请时间
     */
    private Date applyTime;
    @TableField(exist = false)
    private String applyTimeStr;
    /**
     * 申请人
     */
    private String applyUser;
    /*
     * 附件
     * */
    private String annex;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}