From 6a9148db96ae24cb932ee50e9427269569348868 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 28 四月 2025 09:14:53 +0800
Subject: [PATCH] 手册,海康接口调整
---
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java | 75 +++++++++++++++++++++++++------------
1 files changed, 50 insertions(+), 25 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 bd2d147..86b9dff 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,46 +1,71 @@
package com.ycl.platform.domain.entity;
+import annotation.Excel;
+import com.baomidou.mybatisplus.annotation.FieldFill;
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 com.fasterxml.jackson.annotation.JsonFormat;
+import com.ycl.system.entity.BaseEntity;
import lombok.Data;
-import lombok.experimental.Accessors;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
+
+import java.util.Date;
/**
- * 鑰冩牳瑙勫垯
+ * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule
*
- * @author xp
- * @since 2024-03-06
+ * @author ruoyi
+ * @date 2024-04-15
*/
@Data
-@Accessors(chain = true)
@TableName("t_check_rule")
-@ApiModel(value = "CheckRule瀵硅薄", description = "鑰冩牳瑙勫垯")
-public class CheckRule extends AbsEntity {
-
+public class CheckRule
+{
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;
+ /** 瀵瑰簲index琛ㄥ瓧娈靛悕 */
+ @Excel(name = "瀵瑰簲index琛ㄥ瓧娈靛悕")
+ private String ruleIndex;
- @ApiModelProperty("澶╃綉瑙嗛鐐逛綅鏁�")
- @TableField("video_point_num")
- private Integer videoPointNum;
+ /** 0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇� */
+ @Excel(name = "0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇�")
+ private Short ruleCategory;
- @ApiModelProperty("杞﹁締鍗″彛鐐逛綅鏁�")
- @TableField("vehicle_checkpoint_num")
- private Integer vehicleCheckpointNum;
+ /** 鍙厤缃殑瑙勫垯鍙傛暟json */
+ @Excel(name = "鍙厤缃殑瑙勫垯鍙傛暟json")
+ private String ruleCondition;
- @ApiModelProperty("浜鸿劯鍗″彛鐐逛綅鏁�")
- @TableField("face_chceckpoint_num")
- private Integer faceChceckpointNum;
+ /** 瑙勫垯鎻忚堪 */
+ @Excel(name = "瑙勫垯鎻忚堪")
+ private String ruleDescription;
+ /** 0/1 鍚敤/鍋滅敤 */
+ @Excel(name = "0/1 鍚敤/鍋滅敤")
+ private Short state;
+
+ /** 閫昏緫鍒犻櫎 */
+ @Excel(name = "閫昏緫鍒犻櫎")
+ private Integer deleted;
+
+ /** 鍥炬爣 */
+ @Excel(name = "icon")
+ private String icon;
+
+ /** 鏇存柊鏃堕棿 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date updateTime;
+
+ /** 鏁版嵁涓績瀵瑰簲鐨勬帴鍙e湴鍧� */
+ private String apiUrl;
+
+ /** 鎺掑簭鍊� */
+ private Integer orderNum;
}
--
Gitblit v1.8.0