From 0c1f76c4a9c34a2adb05a94da4b20f3560374a29 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 19 四月 2024 15:52:27 +0800 Subject: [PATCH] 考核模板 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 119 +++++++++-------------------------------------------------- 1 files changed, 18 insertions(+), 101 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java index f2bb4b8..f83afb4 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java @@ -1,137 +1,54 @@ package com.ycl.platform.domain.entity; import annotation.Excel; +import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.system.entity.BaseEntity; +import lombok.Data; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; + +import java.util.Date; /** * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule * * @author ruoyi - * @date 2024-04-01 + * @date 2024-04-15 */ +@Data public class CheckRule extends BaseEntity { private static final long serialVersionUID = 1L; /** */ private Long id; - /** 瑙勫垯鍚嶇О */ @Excel(name = "瑙勫垯鍚嶇О") private String ruleName; - /** 瑙勫垯缁嗗垯 */ - @Excel(name = "瑙勫垯缁嗗垯") + /** 瀵瑰簲index琛ㄥ瓧娈靛悕 */ + @Excel(name = "瀵瑰簲index琛ㄥ瓧娈靛悕") private String ruleIndex; - /** 瑙勫垯绫诲瀷 */ - @Excel(name = "瑙勫垯绫诲瀷") - private Long ruleCategory; + /** 0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇� */ + @Excel(name = "0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇�") + private Short ruleCategory; - /** 鑰冩牳绫诲瀷 */ - @Excel(name = "鑰冩牳绫诲瀷") - private Long examineCategory; + /** 鍙厤缃殑瑙勫垯鍙傛暟json */ + @Excel(name = "鍙厤缃殑瑙勫垯鍙傛暟json") + private String ruleCondition; /** 瑙勫垯鎻忚堪 */ @Excel(name = "瑙勫垯鎻忚堪") private String ruleDescription; - /** 鍚敤鐘舵�� */ - @Excel(name = "鍚敤鐘舵��") - private Long state; + /** 0/1 鍚敤/鍋滅敤 */ + @Excel(name = "0/1 鍚敤/鍋滅敤") + private Short state; /** 閫昏緫鍒犻櫎 */ + @Excel(name = "閫昏緫鍒犻櫎") private String deleted; - public void setId(Long id) - { - this.id = id; - } - public Long getId() - { - return id; - } - public void setRuleName(String ruleName) - { - this.ruleName = ruleName; - } - - public String getRuleName() - { - return ruleName; - } - public void setRuleIndex(String ruleIndex) - { - this.ruleIndex = ruleIndex; - } - - public String getRuleIndex() - { - return ruleIndex; - } - public void setRuleCategory(Long ruleCategory) - { - this.ruleCategory = ruleCategory; - } - - public Long getRuleCategory() - { - return ruleCategory; - } - public void setExamineCategory(Long examineCategory) - { - this.examineCategory = examineCategory; - } - - public Long getExamineCategory() - { - return examineCategory; - } - public void setRuleDescription(String ruleDescription) - { - this.ruleDescription = ruleDescription; - } - - public String getRuleDescription() - { - return ruleDescription; - } - - public void setState(Long state) - { - this.state = state; - } - - public Long getState() - { - return state; - } - public void setDeleted(String deleted) - { - this.deleted = deleted; - } - - public String getDeleted() - { - return deleted; - } - - @Override - public String toString() { - return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("ruleName", getRuleName()) - .append("ruleIndex", getRuleIndex()) - .append("ruleCategory", getRuleCategory()) - .append("examineCategory", getExamineCategory()) - .append("ruleDescription", getRuleDescription()) - .append("state", getState()) - .append("createTime", getCreateTime()) - .append("updateTime", getUpdateTime()) - .append("deleted", getDeleted()) - .toString(); - } } -- Gitblit v1.8.0