From 23003e5ece97193921dacc7a7dc98926449b64d6 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 09 四月 2024 11:55:46 +0800 Subject: [PATCH] 新增工单 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 157 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 123 insertions(+), 34 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 1ac07e1..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,48 +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 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; + /** 鍚敤鐘舵�� */ + @Excel(name = "鍚敤鐘舵��") + private Long state; + + /** 閫昏緫鍒犻櫎 */ + 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