package com.gk.hotwork.Domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 风险源
|
*/
|
@TableName("risk_source")
|
public class RiskSource implements Serializable {
|
|
private final static long serialVersionUID = 1L;
|
|
//ID,主键
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
//风险源名称
|
private String name;
|
|
//风险源类型,1-设施设备,2-作业活动
|
private Byte type;
|
|
//风险等级,1-低风险,2-一般风险,3-较大风险,4-重大风险
|
private Byte level;
|
|
//状态,1-有效,2-无效,3-删除
|
private Byte status;
|
|
//可能导致的事故描述
|
private String accidentDesc;
|
|
//区域位置
|
private String location;
|
|
//所属部门ID
|
private Long depId;
|
|
//所属部门名称
|
private String depName;
|
|
//创建时间
|
private Date createTime;
|
|
//创建人ID
|
private Long createUid;
|
|
//创建人姓名
|
private String createUname;
|
|
//最新编辑时间
|
private Date editTime;
|
|
//最新编辑人ID
|
private Long editUid;
|
|
//最新编辑人姓名
|
private String editUname;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Byte getType() {
|
return type;
|
}
|
|
public void setType(Byte type) {
|
this.type = type;
|
}
|
|
public Byte getLevel() {
|
return level;
|
}
|
|
public void setLevel(Byte level) {
|
this.level = level;
|
}
|
|
public Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
|
public String getAccidentDesc() {
|
return accidentDesc;
|
}
|
|
public void setAccidentDesc(String accidentDesc) {
|
this.accidentDesc = accidentDesc;
|
}
|
|
public String getLocation() {
|
return location;
|
}
|
|
public void setLocation(String location) {
|
this.location = location;
|
}
|
|
public Long getDepId() {
|
return depId;
|
}
|
|
public void setDepId(Long depId) {
|
this.depId = depId;
|
}
|
|
public String getDepName() {
|
return depName;
|
}
|
|
public void setDepName(String depName) {
|
this.depName = depName;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Long getCreateUid() {
|
return createUid;
|
}
|
|
public void setCreateUid(Long createUid) {
|
this.createUid = createUid;
|
}
|
|
public String getCreateUname() {
|
return createUname;
|
}
|
|
public void setCreateUname(String createUname) {
|
this.createUname = createUname;
|
}
|
|
public Date getEditTime() {
|
return editTime;
|
}
|
|
public void setEditTime(Date editTime) {
|
this.editTime = editTime;
|
}
|
|
public Long getEditUid() {
|
return editUid;
|
}
|
|
public void setEditUid(Long editUid) {
|
this.editUid = editUid;
|
}
|
|
public String getEditUname() {
|
return editUname;
|
}
|
|
public void setEditUname(String editUname) {
|
this.editUname = editUname;
|
}
|
}
|