From 042936ba89e122bece0e4ce595c68f859b9e9bed Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 17 四月 2024 17:53:43 +0800 Subject: [PATCH] 工单下发:新增互斥锁、下发记录 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 170 +++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 119 insertions(+), 51 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..f2bb4b8 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,137 @@ 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") - private String ruleDetail; + /** 瑙勫垯缁嗗垯 */ + @Excel(name = "瑙勫垯缁嗗垯") + private String ruleIndex; - @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 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 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