package com.ruoyi.project.dc.accidentInformation.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_accident_information
|
*
|
* @author wm
|
* @date 2020-12-07
|
*/
|
public class AccidentInformation extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** id */
|
private Long accidentId;
|
|
/** 创建人id */
|
@Excel(name = "创建人id")
|
private Long createUserId;
|
|
/** 更新者id */
|
@Excel(name = "更新者id")
|
private Long updateUserId;
|
|
/** 发生时间 */
|
@Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date accidentTimeOfOccurrence;
|
|
/** 轻伤人数 */
|
@Excel(name = "轻伤人数")
|
private Long accidentNumberOfMinorInjuries;
|
|
/** 重伤人数 */
|
@Excel(name = "重伤人数")
|
private Long accidentNumberOfSeriouslyInjured;
|
|
/** 死亡人数 */
|
@Excel(name = "死亡人数")
|
private Long accidentDeathToll;
|
|
/** 中毒人数 */
|
@Excel(name = "中毒人数")
|
private Long accidentNumberOfPeoplePoisoned;
|
|
/** 事故类型 */
|
@Excel(name = "事故类型")
|
private String accidentTypeOfAccident;
|
|
/** 事故详情 */
|
@Excel(name = "事故详情")
|
private String accidentAccidentDetails;
|
|
/** 事故文件 */
|
@Excel(name = "事故文件")
|
private String accidentOwnedFile;
|
|
/** 事故图片 */
|
@Excel(name = "事故图片")
|
private String accidentOwnedPicture;
|
|
//公司id
|
private Long companyId;
|
|
public Long getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Long companyId) {
|
this.companyId = companyId;
|
}
|
|
public void setAccidentId(Long accidentId)
|
{
|
this.accidentId = accidentId;
|
}
|
|
public Long getAccidentId()
|
{
|
return accidentId;
|
}
|
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 setAccidentTimeOfOccurrence(Date accidentTimeOfOccurrence)
|
{
|
this.accidentTimeOfOccurrence = accidentTimeOfOccurrence;
|
}
|
|
public Date getAccidentTimeOfOccurrence()
|
{
|
return accidentTimeOfOccurrence;
|
}
|
public void setAccidentNumberOfMinorInjuries(Long accidentNumberOfMinorInjuries)
|
{
|
this.accidentNumberOfMinorInjuries = accidentNumberOfMinorInjuries;
|
}
|
|
public Long getAccidentNumberOfMinorInjuries()
|
{
|
return accidentNumberOfMinorInjuries;
|
}
|
public void setAccidentNumberOfSeriouslyInjured(Long accidentNumberOfSeriouslyInjured)
|
{
|
this.accidentNumberOfSeriouslyInjured = accidentNumberOfSeriouslyInjured;
|
}
|
|
public Long getAccidentNumberOfSeriouslyInjured()
|
{
|
return accidentNumberOfSeriouslyInjured;
|
}
|
public void setAccidentDeathToll(Long accidentDeathToll)
|
{
|
this.accidentDeathToll = accidentDeathToll;
|
}
|
|
public Long getAccidentDeathToll()
|
{
|
return accidentDeathToll;
|
}
|
public void setAccidentNumberOfPeoplePoisoned(Long accidentNumberOfPeoplePoisoned)
|
{
|
this.accidentNumberOfPeoplePoisoned = accidentNumberOfPeoplePoisoned;
|
}
|
|
public Long getAccidentNumberOfPeoplePoisoned()
|
{
|
return accidentNumberOfPeoplePoisoned;
|
}
|
public void setAccidentTypeOfAccident(String accidentTypeOfAccident)
|
{
|
this.accidentTypeOfAccident = accidentTypeOfAccident;
|
}
|
|
public String getAccidentTypeOfAccident()
|
{
|
return accidentTypeOfAccident;
|
}
|
public void setAccidentAccidentDetails(String accidentAccidentDetails)
|
{
|
this.accidentAccidentDetails = accidentAccidentDetails;
|
}
|
|
public String getAccidentAccidentDetails()
|
{
|
return accidentAccidentDetails;
|
}
|
public void setAccidentOwnedFile(String accidentOwnedFile)
|
{
|
this.accidentOwnedFile = accidentOwnedFile;
|
}
|
|
public String getAccidentOwnedFile()
|
{
|
return accidentOwnedFile;
|
}
|
public void setAccidentOwnedPicture(String accidentOwnedPicture)
|
{
|
this.accidentOwnedPicture = accidentOwnedPicture;
|
}
|
|
public String getAccidentOwnedPicture()
|
{
|
return accidentOwnedPicture;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("accidentId", getAccidentId())
|
.append("createBy", getCreateBy())
|
.append("createUserId", getCreateUserId())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateUserId", getUpdateUserId())
|
.append("updateTime", getUpdateTime())
|
.append("remark", getRemark())
|
.append("accidentTimeOfOccurrence", getAccidentTimeOfOccurrence())
|
.append("accidentNumberOfMinorInjuries", getAccidentNumberOfMinorInjuries())
|
.append("accidentNumberOfSeriouslyInjured", getAccidentNumberOfSeriouslyInjured())
|
.append("accidentDeathToll", getAccidentDeathToll())
|
.append("accidentNumberOfPeoplePoisoned", getAccidentNumberOfPeoplePoisoned())
|
.append("accidentTypeOfAccident", getAccidentTypeOfAccident())
|
.append("accidentAccidentDetails", getAccidentAccidentDetails())
|
.append("accidentOwnedFile", getAccidentOwnedFile())
|
.append("accidentOwnedPicture", getAccidentOwnedPicture())
|
.toString();
|
}
|
}
|