ganzi-api/inventory-dao/src/main/java/com/rzyc/model/RkSources.java
2022-09-16 15:07:17 +08:00

470 lines
12 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.rzyc.model;
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
/**
* <p>
*
* </p>
*
* @author
* @since 2022-08-02
*/
@TableName("rk_sources")
@ApiModel(value="RkSources对象", description="")
public class RkSources implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
@TableId("source_id")
private String sourceId;
@ApiModelProperty(value = "风险源名")
@TableField(exist = false)
private String sourceName;
@ApiModelProperty(value = "企业id")
@TableField("enterprise_id")
private String enterpriseId;
@ApiModelProperty(value = "企业名")
@TableField("ent_name")
private String entName;
@ApiModelProperty(value = "区id")
@TableField("orgcode")
private String orgcode;
@ApiModelProperty(value = "街道id")
@TableField("street_code")
private String streetCode;
@ApiModelProperty(value = "社区id")
@TableField("community_code")
private String communityCode;
@ApiModelProperty(value = "经度")
@TableField("lon")
private String lon;
@ApiModelProperty(value = "纬度")
@TableField("lat")
private String lat;
@ApiModelProperty(value = "x坐标")
@TableField("xindex")
private String xindex;
@ApiModelProperty(value = "y坐标")
@TableField("yindex")
private String yindex;
@ApiModelProperty(value = "平面图id")
@TableField("document_id")
private String documentId;
@ApiModelProperty(value = "行业id")
@TableField("base_inclass_id")
private String baseInclassId;
@ApiModelProperty(value = "场所位置")
@TableField("palce")
private String palce;
@ApiModelProperty(value = "风险源id")
@TableField("rk_source_id")
private String rkSourceId;
@ApiModelProperty(value = "事故类型id")
@TableField("type_id")
private String typeId;
@ApiModelProperty(value = "事故类型名")
@TableField(exist = false)
private String typeName;
@ApiModelProperty(value = "其他伤害类")
@TableField("hurt_type_id")
private String hurtTypeId;
@ApiModelProperty(value = "是否涉及有害气体")
@TableField("is_harmful_gas")
private Integer isHarmfulGas;
@ApiModelProperty(value = "是否对周围有影响")
@TableField("is_influential")
private Integer isInfluential;
@ApiModelProperty(value = "风险源描述")
@TableField("details")
private String details;
@ApiModelProperty(value = "涉及人员数量")
@TableField("personnel_num")
private Integer personnelNum;
@ApiModelProperty(value = "设备设施总价值")
@TableField("price")
private Integer price;
@ApiModelProperty(value = "可能性 1、基本不可能 2、较不可能 3、可能 4、较可能 5、很可能")
@TableField("possibility")
private Integer possibility;
@ApiModelProperty(value = "后果严重性 1、很小 2、小 3、一般 4、大 5、很大")
@TableField("seriousness")
private Integer seriousness;
@ApiModelProperty(value = "危险源风险等级 1、低风险 2、一般风险 3、较大风险 4、重大风险")
@TableField("risk_grade")
private Integer riskGrade;
@ApiModelProperty(value = "工程技术")
@TableField("engineering")
private String engineering;
@ApiModelProperty(value = "管理措施")
@TableField("measures")
private String measures;
@ApiModelProperty(value = "创建人")
@TableField("created")
private String created;
@ApiModelProperty(value = "修改人")
@TableField("modified")
private String modified;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "修改时间")
@TableField("modify_time")
private Date modifyTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
@TableField("create_time")
private Date createTime;
@ApiModelProperty(value = "是否受控")
@TableField("controlled")
private Integer controlled;
@ApiModelProperty(value = "状态1、草稿 2、处理中 3、待处理 4、处理过 5、已完成")
@TableField("status")
private String status;
@ApiModelProperty(value = "可能引发的基础设施中断")
@TableField("infrastructure")
private String infrastructure;
@ApiModelProperty(value = "删除状态 1、正常 2已删除")
@TableField("del_state")
private Integer delState;
public String getDocumentId() {
return documentId;
}
public void setDocumentId(String documentId) {
this.documentId = documentId;
}
public Integer getDelState() {
return delState;
}
public void setDelState(Integer delState) {
this.delState = delState;
}
public String getSourceName() {
return sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public String getSourceId() {
return sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public String getEnterpriseId() {
return enterpriseId;
}
public void setEnterpriseId(String enterpriseId) {
this.enterpriseId = enterpriseId;
}
public String getEntName() {
return entName;
}
public void setEntName(String entName) {
this.entName = entName;
}
public String getOrgcode() {
return orgcode;
}
public void setOrgcode(String orgcode) {
this.orgcode = orgcode;
}
public String getStreetCode() {
return streetCode;
}
public void setStreetCode(String streetCode) {
this.streetCode = streetCode;
}
public String getCommunityCode() {
return communityCode;
}
public void setCommunityCode(String communityCode) {
this.communityCode = communityCode;
}
public String getLon() {
return lon;
}
public void setLon(String lon) {
this.lon = lon;
}
public String getLat() {
return lat;
}
public void setLat(String lat) {
this.lat = lat;
}
public String getXindex() {
return xindex;
}
public void setXindex(String xindex) {
this.xindex = xindex;
}
public String getYindex() {
return yindex;
}
public void setYindex(String yindex) {
this.yindex = yindex;
}
public String getBaseInclassId() {
return baseInclassId;
}
public void setBaseInclassId(String baseInclassId) {
this.baseInclassId = baseInclassId;
}
public String getPalce() {
return palce;
}
public void setPalce(String palce) {
this.palce = palce;
}
public String getRkSourceId() {
return rkSourceId;
}
public void setRkSourceId(String rkSourceId) {
this.rkSourceId = rkSourceId;
}
public String getTypeId() {
return typeId;
}
public void setTypeId(String typeId) {
this.typeId = typeId;
}
public String getHurtTypeId() {
return hurtTypeId;
}
public void setHurtTypeId(String hurtTypeId) {
this.hurtTypeId = hurtTypeId;
}
public Integer getIsHarmfulGas() {
return isHarmfulGas;
}
public void setIsHarmfulGas(Integer isHarmfulGas) {
this.isHarmfulGas = isHarmfulGas;
}
public Integer getIsInfluential() {
return isInfluential;
}
public void setIsInfluential(Integer isInfluential) {
this.isInfluential = isInfluential;
}
public String getDetails() {
return details;
}
public void setDetails(String details) {
this.details = details;
}
public Integer getPersonnelNum() {
return personnelNum;
}
public void setPersonnelNum(Integer personnelNum) {
this.personnelNum = personnelNum;
}
public Integer getPrice() {
return price;
}
public void setPrice(Integer price) {
this.price = price;
}
public Integer getPossibility() {
return possibility;
}
public void setPossibility(Integer possibility) {
this.possibility = possibility;
}
public Integer getSeriousness() {
return seriousness;
}
public void setSeriousness(Integer seriousness) {
this.seriousness = seriousness;
}
public Integer getRiskGrade() {
return riskGrade;
}
public void setRiskGrade(Integer riskGrade) {
this.riskGrade = riskGrade;
}
public String getEngineering() {
return engineering;
}
public void setEngineering(String engineering) {
this.engineering = engineering;
}
public String getMeasures() {
return measures;
}
public void setMeasures(String measures) {
this.measures = measures;
}
public String getCreated() {
return created;
}
public void setCreated(String created) {
this.created = created;
}
public String getModified() {
return modified;
}
public void setModified(String modified) {
this.modified = modified;
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Integer getControlled() {
return controlled;
}
public void setControlled(Integer controlled) {
this.controlled = controlled;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getInfrastructure() {
return infrastructure;
}
public void setInfrastructure(String infrastructure) {
this.infrastructure = infrastructure;
}
@Override
public String toString() {
return "RkSources{" +
"sourceId=" + sourceId +
", enterpriseId=" + enterpriseId +
", orgcode=" + orgcode +
", streetCode=" + streetCode +
", communityCode=" + communityCode +
", lon=" + lon +
", lat=" + lat +
", xindex=" + xindex +
", yindex=" + yindex +
", palce=" + palce +
", rkSourceId=" + rkSourceId +
", typeId=" + typeId +
", hurtTypeId=" + hurtTypeId +
", isHarmfulGas=" + isHarmfulGas +
", isInfluential=" + isInfluential +
", details=" + details +
", personnelNum=" + personnelNum +
", price=" + price +
", possibility=" + possibility +
", seriousness=" + seriousness +
", riskGrade=" + riskGrade +
", engineering=" + engineering +
", measures=" + measures +
", created=" + created +
", modified=" + modified +
", modifyTime=" + modifyTime +
", createTime=" + createTime +
", controlled=" + controlled +
", status=" + status +
", infrastructure=" + infrastructure +
"}";
}
}