package com.ruoyi.project.dc.incidentReport.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.framework.web.domain.BaseEntity; import java.util.Date; /** * 事件上报对象 dc_incident_report * * @author wm * @date 2020-12-07 */ public class IncidentReport extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ private Long incidentReportId; /** 创建人id */ @Excel(name = "创建人id") private Long createUserId; /** 更新者id */ @Excel(name = "更新者id") private Long updateUserId; /** 事件名称 */ @Excel(name = "事件名称") private String eventName; /** 事件简介 */ @Excel(name = "事件简介") private String introduction; /** 事件地点 */ @Excel(name = "事件地点") private String eventLocation; /** 事件时间 */ @Excel(name = "事件时间", width = 30, dateFormat = "yyyy-MM-dd") private Date eventTime; /** 是否上报 */ @Excel(name = "是否上报") private String whetherToReport; /** 处理状态 */ @Excel(name = "处理状态") private String processingStatus; /** 事件所属图片 */ @Excel(name = "事件所属图片") private String ownedPicture; /** 事件所属文件 */ @Excel(name = "事件所属文件") private String ownedFile; //公司id private Long companyId; public Long getCompanyId() { return companyId; } public void setCompanyId(Long companyId) { this.companyId = companyId; } public void setIncidentReportId(Long incidentReportId) { this.incidentReportId = incidentReportId; } public Long getIncidentReportId() { return incidentReportId; } public void setCreateUserId(Long createUserId) { this.createUserId = createUserId; } public Long getCreateUserId() { return createUserId; } public void setUpdateUserId(Long updateUserId) { this.updateUserId = updateUserId; } public Long getUpdateUserId() { return updateUserId; } public void setEventName(String eventName) { this.eventName = eventName; } public String getEventName() { return eventName; } public void setIntroduction(String introduction) { this.introduction = introduction; } public String getIntroduction() { return introduction; } public void setEventLocation(String eventLocation) { this.eventLocation = eventLocation; } public String getEventLocation() { return eventLocation; } public void setEventTime(Date eventTime) { this.eventTime = eventTime; } public Date getEventTime() { return eventTime; } public void setWhetherToReport(String whetherToReport) { this.whetherToReport = whetherToReport; } public String getWhetherToReport() { return whetherToReport; } public void setProcessingStatus(String processingStatus) { this.processingStatus = processingStatus; } public String getProcessingStatus() { return processingStatus; } public void setOwnedPicture(String ownedPicture) { this.ownedPicture = ownedPicture; } public String getOwnedPicture() { return ownedPicture; } public void setOwnedFile(String ownedFile) { this.ownedFile = ownedFile; } public String getOwnedFile() { return ownedFile; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("incidentReportId", getIncidentReportId()) .append("createBy", getCreateBy()) .append("createUserId", getCreateUserId()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateUserId", getUpdateUserId()) .append("updateTime", getUpdateTime()) .append("remark", getRemark()) .append("eventName", getEventName()) .append("introduction", getIntroduction()) .append("eventLocation", getEventLocation()) .append("eventTime", getEventTime()) .append("whetherToReport", getWhetherToReport()) .append("processingStatus", getProcessingStatus()) .append("ownedPicture", getOwnedPicture()) .append("ownedFile", getOwnedFile()) .toString(); } }