package com.ycl.platform.domain.entity; import annotation.Excel; import com.ycl.system.entity.BaseEntity; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import java.math.BigDecimal; /** * 考核发布对象 t_check_publish * * @author ruoyi * @date 2024-04-01 */ public class CheckPublish extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键 */ private Long id; /** 考核名称 */ @Excel(name = "考核名称") private String examineName; /** 考核模板id */ @Excel(name = "考核模板id") private Long templateId; /** 考核频率 */ @Excel(name = "考核频率") private Long frequency; /** 考核类型 */ @Excel(name = "考核类型") private Long examineCategory; /** 报警阈值分数 */ @Excel(name = "报警阈值分数") private BigDecimal alarmScore; /** 描述 */ @Excel(name = "描述") private String description; /** 启用 / 停用 */ @Excel(name = "启用 / 停用") private Long state; /** 审核状态 */ @Excel(name = "审核状态") private Long auditState; /** */ private Long createUser; /** */ private Long updateUser; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setExamineName(String examineName) { this.examineName = examineName; } public String getExamineName() { return examineName; } public void setTemplateId(Long templateId) { this.templateId = templateId; } public Long getTemplateId() { return templateId; } public void setFrequency(Long frequency) { this.frequency = frequency; } public Long getFrequency() { return frequency; } public void setExamineCategory(Long examineCategory) { this.examineCategory = examineCategory; } public Long getExamineCategory() { return examineCategory; } public void setAlarmScore(BigDecimal alarmScore) { this.alarmScore = alarmScore; } public BigDecimal getAlarmScore() { return alarmScore; } public void setDescription(String description) { this.description = description; } public String getDescription() { return description; } public void setState(Long state) { this.state = state; } public Long getState() { return state; } public void setAuditState(Long auditState) { this.auditState = auditState; } public Long getAuditState() { return auditState; } public void setCreateUser(Long createUser) { this.createUser = createUser; } public Long getCreateUser() { return createUser; } public void setUpdateUser(Long updateUser) { this.updateUser = updateUser; } public Long getUpdateUser() { return updateUser; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("examineName", getExamineName()) .append("templateId", getTemplateId()) .append("frequency", getFrequency()) .append("examineCategory", getExamineCategory()) .append("alarmScore", getAlarmScore()) .append("description", getDescription()) .append("state", getState()) .append("auditState", getAuditState()) .append("createTime", getCreateTime()) .append("updateTime", getUpdateTime()) .append("createUser", getCreateUser()) .append("updateUser", getUpdateUser()) .toString(); } }