From ea3e40330575519d9a4c7dbe4f6d63e4a22ea861 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 02 四月 2024 09:41:52 +0800 Subject: [PATCH] Revert "Revert "新考核"" --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 181 ++++++++++++++++++++++++++++++++------------ 1 files changed, 131 insertions(+), 50 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 fbde5fb..4c7442f 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,69 +1,150 @@ package com.ycl.platform.domain.entity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import com.ycl.platform.base.AbsEntity; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.experimental.Accessors; - -import java.util.Date; +import annotation.Excel; +import com.ycl.system.entity.BaseEntity; +import org.apache.commons.lang.builder.ToStringBuilder; +import org.apache.commons.lang.builder.ToStringStyle; /** - * 鑰冩牳瑙勫垯 - * - * @author xp - * @since 2024-03-06 + * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule + * + * @author ruoyi + * @date 2024-04-01 */ -@Data -@Accessors(chain = true) -@TableName("t_check_rule") -@ApiModel(value = "CheckRule瀵硅薄", description = "鑰冩牳瑙勫垯") -public class CheckRule extends AbsEntity { - +public class CheckRule extends BaseEntity +{ private static final long serialVersionUID = 1L; - @ApiModelProperty("瑙勫垯鍚嶇О") - @TableField("rule_name") + /** */ + private Long id; + + /** 瑙勫垯鍚嶇О */ + @Excel(name = "瑙勫垯鍚嶇О") private String ruleName; - @ApiModelProperty("瑙勫垯鎻忚堪") - @TableField("rule_detail") + /** 瑙勫垯缁嗗垯 */ + @Excel(name = "瑙勫垯缁嗗垯") private String ruleDetail; - @ApiModelProperty("澶╃綉瑙嗛鐐逛綅鏁�") - @TableField("video_point_num") - private Integer videoPointNum; + /** 瑙勫垯绫诲瀷 */ + @Excel(name = "瑙勫垯绫诲瀷") + private Long ruleCategory; - @ApiModelProperty("杞﹁締鍗″彛鐐逛綅鏁�") - @TableField("vehicle_checkpoint_num") - private Integer vehicleCheckpointNum; + /** 鑰冩牳绫诲瀷 */ + @Excel(name = "鑰冩牳绫诲瀷") + private Long examineCategory; - @ApiModelProperty("浜鸿劯鍗″彛鐐逛綅鏁�") - @TableField("face_chceckpoint_num") - private Integer faceChceckpointNum; + /** 瑙勫垯鎻忚堪 */ + @Excel(name = "瑙勫垯鎻忚堪") + private String ruleDescription; - @ApiModelProperty("杩愮淮绫诲埆") - @TableField("category") - private Integer category; - @ApiModelProperty("鑰冩牳绫诲埆") - @TableField("examine_category") - private Integer examineCategory; + /** 瀹℃牳鐘舵�� */ + @Excel(name = "瀹℃牳鐘舵��") + private Long auditState; + /** 鍚敤鐘舵�� */ + @Excel(name = "鍚敤鐘舵��") + private Long state; - @ApiModelProperty("瀹℃牳鐘舵��") - @TableField("audit_state") - private Integer auditState; - @ApiModelProperty("瀹℃牳浜�") - @TableField("audit_user") - private String auditUser; - @ApiModelProperty("瀹℃牳鏃堕棿") - @TableField("audit_time") - private Date auditTime; - @ApiModelProperty("瀹℃牳鎰忚") - @TableField("audit_description") - private String auditDescription; + /** 閫昏緫鍒犻櫎 */ + 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 setRuleDetail(String ruleDetail) + { + this.ruleDetail = ruleDetail; + } + + public String getRuleDetail() + { + return ruleDetail; + } + 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 setAuditState(Long auditState) + { + this.auditState = auditState; + } + + public Long getAuditState() + { + return auditState; + } + 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("ruleDetail", getRuleDetail()) + .append("ruleCategory", getRuleCategory()) + .append("examineCategory", getExamineCategory()) + .append("ruleDescription", getRuleDescription()) + .append("auditState", getAuditState()) + .append("state", getState()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .append("deleted", getDeleted()) + .toString(); + } } -- Gitblit v1.8.0