package com.eleadmin.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 测试
 *
 * @author gxwebsoft.com
 * @since 2020-03-14 11:29:04
 */
@Data
@ApiModel(description = "测试")
@TableName("oa_demo")
public class Demo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Integer demoId;

    @ApiModelProperty(value = "测试名称")
    private String demoName;

    @ApiModelProperty(value = "测试类型")
    private String demoType;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    private String status;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
