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 com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
@TableName("safety_self_inspection")
|
public class SafetySelfInspection implements Serializable {
|
|
private final static long serialVersionUID = 1L;
|
|
/** 自查清单名称 inspection_name **/
|
private String inspectionName;
|
|
/** 检查时间 inspection_time **/
|
@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
|
private Date inspectionTime;
|
|
/** 检察人员 inspector **/
|
private Long inspector;
|
|
/** 被检查公司id **/
|
private Long checkedCompanyId;
|
|
/** 被检查公司名字 **/
|
private String checkedCompanyName;
|
|
/** 状态 0:暂存 1:评审中 2:已评审 status **/
|
private Integer status;
|
|
/** 不合格项数 **/
|
@TableField(exist = false)
|
private Integer unqualifiedItem;
|
|
/** 项数 **/
|
@TableField(exist = false)
|
private Integer itemSum;
|
|
/** 合格率 **/
|
@TableField(exist = false)
|
private String qualifiedRate;
|
|
/** 角色id **/
|
@TableField(exist = false)
|
private Long roleid;
|
|
/** 检察人员 **/
|
@TableField(exist = false)
|
private String inspectorName;
|
|
/** 检查开始时间 **/
|
@TableField(exist = false)
|
@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
|
private Date inspectionStartTime;
|
|
/** 检查结束时间 **/
|
@TableField(exist = false)
|
@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
|
private Date inspectionEndTime;
|
|
/** 检查项集合 **/
|
@TableField(exist = false)
|
private List<SafetySelfInspectionItem> itemList;
|
/**
|
* 一级要素
|
*/
|
@TableField(exist = false)
|
private List<SafetyInspectionElementA> elementAList;
|
/**
|
* 评价专家
|
*/
|
@TableField(exist = false)
|
private List<InspectionExpert> expertList;
|
|
/** 主键id id **/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/** 有效标识 valid_flag **/
|
private Boolean validFlag;
|
|
/** 创建时间 create_time **/
|
private Date createTime;
|
|
/** 创建人 create_by **/
|
private String createBy;
|
|
/** 最新更新时间 update_time **/
|
private Date updateTime;
|
|
/** 最后更新人 update_by **/
|
private String updateBy;
|
|
/** 检查单位 **/
|
private String checkUnit;
|
|
//检查标识 2自查,1监管检查
|
private Byte flag;
|
/**
|
* 隐患总数
|
*/
|
@TableField(exist = false)
|
private Integer hdTocalCount;
|
/**
|
* 一般隐患数量
|
*/
|
@TableField(exist = false)
|
private Integer sameAsCount;
|
/**
|
* 重大隐患数量
|
*/
|
@TableField(exist = false)
|
private Integer majorCount;
|
/**
|
* 整改状态 0未整改 1部分整改 2全部整改
|
*/
|
@TableField(exist = false)
|
private Integer rectificationStatus;
|
|
public List<InspectionExpert> getExpertList() {
|
return expertList;
|
}
|
|
public Integer getHdTocalCount() {
|
return hdTocalCount;
|
}
|
|
public void setHdTocalCount(Integer hdTocalCount) {
|
this.hdTocalCount = hdTocalCount;
|
}
|
|
public Integer getSameAsCount() {
|
return sameAsCount;
|
}
|
|
public void setSameAsCount(Integer sameAsCount) {
|
this.sameAsCount = sameAsCount;
|
}
|
|
public Integer getMajorCount() {
|
return majorCount;
|
}
|
|
public void setMajorCount(Integer majorCount) {
|
this.majorCount = majorCount;
|
}
|
|
public Integer getRectificationStatus() {
|
return rectificationStatus;
|
}
|
|
public void setRectificationStatus(Integer rectificationStatus) {
|
this.rectificationStatus = rectificationStatus;
|
}
|
|
public void setExpertList(List<InspectionExpert> expertList) {
|
this.expertList = expertList;
|
}
|
|
public String getCheckUnit() {
|
return checkUnit;
|
}
|
|
public void setCheckUnit(String checkUnit) {
|
this.checkUnit = checkUnit;
|
}
|
|
public Byte getFlag() {
|
return flag;
|
}
|
|
public void setFlag(Byte flag) {
|
this.flag = flag;
|
}
|
|
public List<SafetyInspectionElementA> getElementAList() {
|
return elementAList;
|
}
|
|
public void setElementAList(List<SafetyInspectionElementA> elementAList) {
|
this.elementAList = elementAList;
|
}
|
|
|
public Long getCheckedCompanyId() {
|
return checkedCompanyId;
|
}
|
|
public void setCheckedCompanyId(Long checkedCompanyId) {
|
this.checkedCompanyId = checkedCompanyId;
|
}
|
|
public String getCheckedCompanyName() {
|
return checkedCompanyName;
|
}
|
|
public void setCheckedCompanyName(String checkedCompanyName) {
|
this.checkedCompanyName = checkedCompanyName;
|
}
|
|
public Integer getItemSum() {
|
return itemSum;
|
}
|
|
public void setItemSum(Integer itemSum) {
|
this.itemSum = itemSum;
|
}
|
|
public Long getRoleid() {
|
return roleid;
|
}
|
|
public void setRoleid(Long roleid) {
|
this.roleid = roleid;
|
}
|
|
public Integer getUnqualifiedItem() {
|
return unqualifiedItem;
|
}
|
|
public void setUnqualifiedItem(Integer unqualifiedItem) {
|
this.unqualifiedItem = unqualifiedItem;
|
}
|
|
public String getQualifiedRate() {
|
return qualifiedRate;
|
}
|
|
public void setQualifiedRate(String qualifiedRate) {
|
this.qualifiedRate = qualifiedRate;
|
}
|
|
/** 主键id id **/
|
public Long getId() {
|
return id;
|
}
|
|
/** 主键id id **/
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
/** 有效标识 valid_flag **/
|
public Boolean getValidFlag() {
|
return validFlag;
|
}
|
|
/** 有效标识 valid_flag **/
|
public void setValidFlag(Boolean validFlag) {
|
this.validFlag = validFlag;
|
}
|
|
/** 创建时间 create_time **/
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/** 创建时间 create_time **/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
/** 创建人 create_by **/
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
/** 创建人 create_by **/
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy == null ? null : createBy.trim();
|
}
|
|
/** 最新更新时间 update_time **/
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
/** 最新更新时间 update_time **/
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
/** 最后更新人 update_by **/
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
/** 最后更新人 update_by **/
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy == null ? null : updateBy.trim();
|
}
|
|
public String getInspectionName() {
|
return inspectionName;
|
}
|
|
public void setInspectionName(String inspectionName) {
|
this.inspectionName = inspectionName;
|
}
|
|
public Date getInspectionTime() {
|
return inspectionTime;
|
}
|
|
public void setInspectionTime(Date inspectionTime) {
|
this.inspectionTime = inspectionTime;
|
}
|
|
public Long getInspector() {
|
return inspector;
|
}
|
|
public void setInspector(Long inspector) {
|
this.inspector = inspector;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public String getInspectorName() {
|
return inspectorName;
|
}
|
|
public void setInspectorName(String inspectorName) {
|
this.inspectorName = inspectorName;
|
}
|
|
public Date getInspectionStartTime() {
|
return inspectionStartTime;
|
}
|
|
public void setInspectionStartTime(Date inspectionStartTime) {
|
this.inspectionStartTime = inspectionStartTime;
|
}
|
|
public Date getInspectionEndTime() {
|
return inspectionEndTime;
|
}
|
|
public void setInspectionEndTime(Date inspectionEndTime) {
|
this.inspectionEndTime = inspectionEndTime;
|
}
|
|
public List<SafetySelfInspectionItem> getItemList() {
|
return itemList;
|
}
|
|
public void setItemList(List<SafetySelfInspectionItem> itemList) {
|
this.itemList = itemList;
|
}
|
}
|