package com.gk.hotwork.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 javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; @TableName("taskgas") public class TaskGasInfo implements Serializable { /** 作业气体浓度表 id **/ @TableField(exist = false) private static final long serialVersionUID = 1L; @TableId(type = IdType.AUTO) private Long id; /** 作业编号 taskcode **/ @NotBlank(message = "作业编号不能为空") private String taskcode; /** 作业人员 taskworker **/ private String taskworker; /** 气体类型 gastype **/ @NotBlank(message = "气体类型不能为空") private String gastype; /** 气体浓度值 gasvalue **/ @NotNull(message = "气体浓度值不能为空") private BigDecimal gasvalue; /** 气体单位 gasunit **/ @NotBlank(message = "气体单位不能为空") private String gasunit; /** 是否报警 iswarn **/ private Byte iswarn; /** 是否预警 isyujing **/ private Byte isyujing; /** 是否发短信 issms **/ private Byte issms; /** 是否处理 ismend **/ private Byte ismend; /** 上传时间 updatetime **/ private Date updatetime; /** 作业气体浓度表 id **/ public Long getId() { return id; } /** 作业气体浓度表 id **/ public void setId(Long id) { this.id = id; } /** taskcode **/ public String getTaskcode() { return taskcode; } /** taskcode **/ public void setTaskcode(String taskcode) { this.taskcode = taskcode == null ? null : taskcode.trim(); } /** 作业人员 taskworker **/ public String getTaskworker() { return taskworker; } /** 作业人员 taskworker **/ public void setTaskworker(String taskworker) { this.taskworker = taskworker == null ? null : taskworker.trim(); } /** 气体类型 gastype **/ public String getGastype() { return gastype; } /** 气体类型 gastype **/ public void setGastype(String gastype) { this.gastype = gastype == null ? null : gastype.trim(); } /** 气体浓度值 gasvalue **/ public BigDecimal getGasvalue() { return gasvalue; } /** 气体浓度值 gasvalue **/ public void setGasvalue(BigDecimal gasvalue) { this.gasvalue = gasvalue; } /** 气体单位 gasunit **/ public String getGasunit() { return gasunit; } /** 气体单位 gasunit **/ public void setGasunit(String gasunit) { this.gasunit = gasunit == null ? null : gasunit.trim(); } /** 是否报警 iswarn **/ public Byte getIswarn() { return iswarn; } /** 是否报警 iswarn **/ public void setIswarn(Byte iswarn) { this.iswarn = iswarn; } /** 是否预警 isyujing **/ public Byte getIsyujing() { return isyujing; } /** 是否预警 isyujing **/ public void setIsyujing(Byte isyujing) { this.isyujing = isyujing; } /** 是否发短信 issms **/ public Byte getIssms() { return issms; } /** 是否发短信 issms **/ public void setIssms(Byte issms) { this.issms = issms; } /** 是否处理 ismend **/ public Byte getIsmend() { return ismend; } /** 是否处理 ismend **/ public void setIsmend(Byte ismend) { this.ismend = ismend; } /** 上传时间 updatetime **/ public Date getUpdatetime() { return updatetime; } /** 上传时间 updatetime **/ public void setUpdatetime(Date updatetime) { this.updatetime = updatetime; } }