|
@@ -0,0 +1,174 @@
|
|
|
+package generator.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.rongwei.rwcommon.base.BaseDo;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 危害特性应知卡
|
|
|
+ * @TableName asp_hazard_property
|
|
|
+ */
|
|
|
+@TableName(value ="asp_hazard_property")
|
|
|
+@Data
|
|
|
+public class AspHazardProperty extends BaseDo implements Serializable {
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @TableId
|
|
|
+ private String id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ private String tenantid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 扩展json格式配置
|
|
|
+ */
|
|
|
+ private String roption;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 岗位名称
|
|
|
+ */
|
|
|
+ private String postname;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主要危险有害因素
|
|
|
+ */
|
|
|
+ private String riskfactors;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 易导致事故风险
|
|
|
+ */
|
|
|
+ private String accidentrisk;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 风险等级
|
|
|
+ */
|
|
|
+ private String risklevel;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 风险管控措施
|
|
|
+ */
|
|
|
+ private String controlmeasures;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 应急处置对策
|
|
|
+ */
|
|
|
+ private String countermeasures;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 安全警示标示
|
|
|
+ */
|
|
|
+ private String safetywarningsigns;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 附件
|
|
|
+ */
|
|
|
+ private String annex;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业编码
|
|
|
+ */
|
|
|
+ private Integer enterprisecode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上次同步时间
|
|
|
+ */
|
|
|
+ private Date synctime;
|
|
|
+
|
|
|
+ @TableField(exist = false)
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean equals(Object that) {
|
|
|
+ if (this == that) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (that == null) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ AspHazardProperty other = (AspHazardProperty) that;
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
+ && (this.getTenantid() == null ? other.getTenantid() == null : this.getTenantid().equals(other.getTenantid()))
|
|
|
+ && (this.getRoption() == null ? other.getRoption() == null : this.getRoption().equals(other.getRoption()))
|
|
|
+ && (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
|
|
|
+ && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
|
|
|
+ && (this.getCreatedate() == null ? other.getCreatedate() == null : this.getCreatedate().equals(other.getCreatedate()))
|
|
|
+ && (this.getCreateuserid() == null ? other.getCreateuserid() == null : this.getCreateuserid().equals(other.getCreateuserid()))
|
|
|
+ && (this.getModifydate() == null ? other.getModifydate() == null : this.getModifydate().equals(other.getModifydate()))
|
|
|
+ && (this.getModifyuserid() == null ? other.getModifyuserid() == null : this.getModifyuserid().equals(other.getModifyuserid()))
|
|
|
+ && (this.getCreateusername() == null ? other.getCreateusername() == null : this.getCreateusername().equals(other.getCreateusername()))
|
|
|
+ && (this.getModifyusername() == null ? other.getModifyusername() == null : this.getModifyusername().equals(other.getModifyusername()))
|
|
|
+ && (this.getPostname() == null ? other.getPostname() == null : this.getPostname().equals(other.getPostname()))
|
|
|
+ && (this.getRiskfactors() == null ? other.getRiskfactors() == null : this.getRiskfactors().equals(other.getRiskfactors()))
|
|
|
+ && (this.getAccidentrisk() == null ? other.getAccidentrisk() == null : this.getAccidentrisk().equals(other.getAccidentrisk()))
|
|
|
+ && (this.getRisklevel() == null ? other.getRisklevel() == null : this.getRisklevel().equals(other.getRisklevel()))
|
|
|
+ && (this.getControlmeasures() == null ? other.getControlmeasures() == null : this.getControlmeasures().equals(other.getControlmeasures()))
|
|
|
+ && (this.getCountermeasures() == null ? other.getCountermeasures() == null : this.getCountermeasures().equals(other.getCountermeasures()))
|
|
|
+ && (this.getSafetywarningsigns() == null ? other.getSafetywarningsigns() == null : this.getSafetywarningsigns().equals(other.getSafetywarningsigns()))
|
|
|
+ && (this.getAnnex() == null ? other.getAnnex() == null : this.getAnnex().equals(other.getAnnex()))
|
|
|
+ && (this.getEnterprisecode() == null ? other.getEnterprisecode() == null : this.getEnterprisecode().equals(other.getEnterprisecode()))
|
|
|
+ && (this.getSynctime() == null ? other.getSynctime() == null : this.getSynctime().equals(other.getSynctime()));
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int hashCode() {
|
|
|
+ final int prime = 31;
|
|
|
+ int result = 1;
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
+ result = prime * result + ((getTenantid() == null) ? 0 : getTenantid().hashCode());
|
|
|
+ result = prime * result + ((getRoption() == null) ? 0 : getRoption().hashCode());
|
|
|
+ result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
|
|
|
+ result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
|
|
|
+ result = prime * result + ((getCreatedate() == null) ? 0 : getCreatedate().hashCode());
|
|
|
+ result = prime * result + ((getCreateuserid() == null) ? 0 : getCreateuserid().hashCode());
|
|
|
+ result = prime * result + ((getModifydate() == null) ? 0 : getModifydate().hashCode());
|
|
|
+ result = prime * result + ((getModifyuserid() == null) ? 0 : getModifyuserid().hashCode());
|
|
|
+ result = prime * result + ((getCreateusername() == null) ? 0 : getCreateusername().hashCode());
|
|
|
+ result = prime * result + ((getModifyusername() == null) ? 0 : getModifyusername().hashCode());
|
|
|
+ result = prime * result + ((getPostname() == null) ? 0 : getPostname().hashCode());
|
|
|
+ result = prime * result + ((getRiskfactors() == null) ? 0 : getRiskfactors().hashCode());
|
|
|
+ result = prime * result + ((getAccidentrisk() == null) ? 0 : getAccidentrisk().hashCode());
|
|
|
+ result = prime * result + ((getRisklevel() == null) ? 0 : getRisklevel().hashCode());
|
|
|
+ result = prime * result + ((getControlmeasures() == null) ? 0 : getControlmeasures().hashCode());
|
|
|
+ result = prime * result + ((getCountermeasures() == null) ? 0 : getCountermeasures().hashCode());
|
|
|
+ result = prime * result + ((getSafetywarningsigns() == null) ? 0 : getSafetywarningsigns().hashCode());
|
|
|
+ result = prime * result + ((getAnnex() == null) ? 0 : getAnnex().hashCode());
|
|
|
+ result = prime * result + ((getEnterprisecode() == null) ? 0 : getEnterprisecode().hashCode());
|
|
|
+ result = prime * result + ((getSynctime() == null) ? 0 : getSynctime().hashCode());
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ StringBuilder sb = new StringBuilder();
|
|
|
+ sb.append(getClass().getSimpleName());
|
|
|
+ sb.append(" [");
|
|
|
+ sb.append("Hash = ").append(hashCode());
|
|
|
+ sb.append(", id=").append(id);
|
|
|
+ sb.append(", tenantid=").append(tenantid);
|
|
|
+ sb.append(", roption=").append(roption);
|
|
|
+ sb.append(", postname=").append(postname);
|
|
|
+ sb.append(", riskfactors=").append(riskfactors);
|
|
|
+ sb.append(", accidentrisk=").append(accidentrisk);
|
|
|
+ sb.append(", risklevel=").append(risklevel);
|
|
|
+ sb.append(", controlmeasures=").append(controlmeasures);
|
|
|
+ sb.append(", countermeasures=").append(countermeasures);
|
|
|
+ sb.append(", safetywarningsigns=").append(safetywarningsigns);
|
|
|
+ sb.append(", annex=").append(annex);
|
|
|
+ sb.append(", enterprisecode=").append(enterprisecode);
|
|
|
+ sb.append(", synctime=").append(synctime);
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
+ sb.append("]");
|
|
|
+ return sb.toString();
|
|
|
+ }
|
|
|
+}
|