package com.ruoyi.project.tr.troubleshootType.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; /** * 排查类型设置对象 tr_troubleshoot_type * * @author wm * @date 2020-05-05 */ public class TroubleshootType extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ @Excel(name = "id") private Long typeId; private Date beginCreateTime; private Date endCreateTime; public Date getBeginCreateTime() { return beginCreateTime; } public void setBeginCreateTime(Date beginCreateTime) { this.beginCreateTime = beginCreateTime; } public Date getEndCreateTime() { return endCreateTime; } public void setEndCreateTime(Date endCreateTime) { this.endCreateTime = endCreateTime; } /** 类型名称 */ @Excel(name = "类型名称") private String typeName; /** 隐患排查周期数 */ @Excel(name = "隐患排查周期数") private Long typeCycleNum; /** 隐患排查周期类型(1小时,2日,3周,4月,5年) */ @Excel(name = "隐患排查周期类型(1小时,2日,3周,4月,5年)") private Long typeCycleType; /** 所属公司 */ @Excel(name = "所属公司") private Long companyId; public void setTypeId(Long typeId) { this.typeId = typeId; } public Long getTypeId() { return typeId; } public void setTypeName(String typeName) { this.typeName = typeName; } public String getTypeName() { return typeName; } public void setTypeCycleNum(Long typeCycleNum) { this.typeCycleNum = typeCycleNum; } public Long getTypeCycleNum() { return typeCycleNum; } public void setTypeCycleType(Long typeCycleType) { this.typeCycleType = typeCycleType; } public Long getTypeCycleType() { return typeCycleType; } public void setCompanyId(Long companyId) { this.companyId = companyId; } public Long getCompanyId() { return companyId; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("typeId", getTypeId()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("remark", getRemark()) .append("typeName", getTypeName()) .append("typeCycleNum", getTypeCycleNum()) .append("typeCycleType", getTypeCycleType()) .append("companyId", getCompanyId()) .append("beginCreateTime",getBeginCreateTime()) .append("endCreateTime",getEndCreateTime()) .toString(); } }