From 32b4f6188f32e6c08e813efa98a25d94eacdc0c6 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 02 四月 2024 09:32:29 +0800 Subject: [PATCH] Revert "新考核" --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 181 ++++++++++++-------------------------------- 1 files changed, 50 insertions(+), 131 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 4c7442f..fbde5fb 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,150 +1,69 @@ 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 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; /** - * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule - * - * @author ruoyi - * @date 2024-04-01 + * 鑰冩牳瑙勫垯 + * + * @author xp + * @since 2024-03-06 */ -public class CheckRule extends BaseEntity -{ +@Data +@Accessors(chain = true) +@TableName("t_check_rule") +@ApiModel(value = "CheckRule瀵硅薄", description = "鑰冩牳瑙勫垯") +public class CheckRule extends AbsEntity { + private static final long serialVersionUID = 1L; - /** */ - private Long id; - - /** 瑙勫垯鍚嶇О */ - @Excel(name = "瑙勫垯鍚嶇О") + @ApiModelProperty("瑙勫垯鍚嶇О") + @TableField("rule_name") private String ruleName; - /** 瑙勫垯缁嗗垯 */ - @Excel(name = "瑙勫垯缁嗗垯") + @ApiModelProperty("瑙勫垯鎻忚堪") + @TableField("rule_detail") private String ruleDetail; - /** 瑙勫垯绫诲瀷 */ - @Excel(name = "瑙勫垯绫诲瀷") - private Long ruleCategory; + @ApiModelProperty("澶╃綉瑙嗛鐐逛綅鏁�") + @TableField("video_point_num") + private Integer videoPointNum; - /** 鑰冩牳绫诲瀷 */ - @Excel(name = "鑰冩牳绫诲瀷") - private Long examineCategory; + @ApiModelProperty("杞﹁締鍗″彛鐐逛綅鏁�") + @TableField("vehicle_checkpoint_num") + private Integer vehicleCheckpointNum; - /** 瑙勫垯鎻忚堪 */ - @Excel(name = "瑙勫垯鎻忚堪") - private String ruleDescription; + @ApiModelProperty("浜鸿劯鍗″彛鐐逛綅鏁�") + @TableField("face_chceckpoint_num") + private Integer faceChceckpointNum; - /** 瀹℃牳鐘舵�� */ - @Excel(name = "瀹℃牳鐘舵��") - private Long auditState; + @ApiModelProperty("杩愮淮绫诲埆") + @TableField("category") + private Integer category; + @ApiModelProperty("鑰冩牳绫诲埆") + @TableField("examine_category") + private Integer examineCategory; - /** 鍚敤鐘舵�� */ - @Excel(name = "鍚敤鐘舵��") - private Long state; - /** 閫昏緫鍒犻櫎 */ - private String deleted; + @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; - 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