From ce7964aba19721cebdd9eb7d475ac651a6dca6bf Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 09 七月 2024 09:24:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java | 195 ++++++++++++++++++++++++++++++++++--------------
1 files changed, 136 insertions(+), 59 deletions(-)
diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
index f6f877c..994f23a 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
@@ -2,9 +2,15 @@
import annotation.Excel;
+import com.baomidou.mybatisplus.annotation.*;
+import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.system.entity.BaseEntity;
-import org.apache.commons.lang3.builder.ToStringBuilder;
-import org.apache.commons.lang3.builder.ToStringStyle;
+import enumeration.general.BusinessTypeEnum;
+import jakarta.validation.constraints.NotBlank;
+import lombok.Data;
+
+import java.math.BigDecimal;
+import java.util.Date;
/**
* 杩愮淮闃堝�煎璞� t_yw_threshold
@@ -12,87 +18,158 @@
* @author gonghl
* @date 2024-03-25
*/
-public class YwThreshold extends BaseEntity {
+@Data
+@TableName("t_yw_threshold")
+public class YwThreshold {
+
private static final long serialVersionUID = 1L;
/**
* 涓婚敭
*/
+ @TableId(value = "id", type = IdType.AUTO)
private Integer id;
+
+ /** 鍒涘缓鏃堕棿 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @TableField("create_time")
+ private Date createTime;
+
+ /** 鏇存柊鏃堕棿 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @TableField(value = "update_time", fill = FieldFill.UPDATE)
+ private Date updateTime;
/**
* 璁惧绫诲瀷锛�1浜鸿劯 2杞﹁締 3瑙嗛
*/
- @Excel(name = "璁惧绫诲瀷锛�1浜鸿劯 2杞﹁締 3瑙嗛")
- private String monitorType;
+ @Excel(name = "璁惧绫诲瀷")
+ @TableField("monitor_type")
+ private BusinessTypeEnum monitorType;
+
+ /*---------------------------- 瑙嗛瀛楁 ----------------------------------------------*/
+ /**
+ * 瑙嗛璐ㄩ噺宸ュ崟闃堝��
+ */
+ @Excel(name = "瑙嗛璐ㄩ噺宸ュ崟闃堝��")
+ @TableField("video_quality")
+ private String videoQuality;
/**
- * 瓒呮椂澶╂暟
+ * 瑙嗛璐ㄩ噺宸ュ崟闃堝��
*/
- @Excel(name = "瓒呮椂澶╂暟")
- private Integer timeout;
+ @Excel(name = "瑙嗛璐ㄩ噺涓嬪彂闃堝��")
+ @TableField("video_quality_auto")
+ private String videoQualityAuto;
/**
- * 鎸囨爣json
+ * 鍥惧儚璐ㄩ噺宸ュ崟闃堝��
*/
- @Excel(name = "鎸囨爣json")
- private String indicator;
+ @Excel(name = "鍥惧儚璐ㄩ噺宸ュ崟闃堝��")
+ @TableField("image_quality")
+ private String imageQuality;
+
+ /**
+ * 鍥惧儚璐ㄩ噺涓嬪彂闃堝��
+ */
+ @Excel(name = "鍥惧儚璐ㄩ噺涓嬪彂闃堝��")
+ @TableField("image_quality_auto")
+ private String imageQualityAuto;
+
+ /**
+ * 鏍囨敞鍑嗙‘鐜囧伐鍗曢槇鍊�
+ */
+ @Excel(name = "鏍囨敞鍑嗙‘鐜囧伐鍗曢槇鍊�")
+ @TableField("annotation_accuracy")
+ private BigDecimal annotationAccuracy;
+
+ /**
+ * 鏍囨敞鍑嗙‘鐜囦笅鍙戦槇鍊�
+ */
+ @Excel(name = "鏍囨敞鍑嗙‘鐜囦笅鍙戦槇鍊�")
+ @TableField("annotation_accuracy_auto")
+ private BigDecimal annotationAccuracyAuto;
+
+
+ /*---------------------------- 浜鸿劯瀛楁 ----------------------------------------------*/
+ /** 鎶撴媿閲忓伐鍗曢槇鍊� */
+ @TableField("capture_num")
+ private Integer captureNum;
+
+ /** 鎶撴媿閲忎笅鍙戦槇鍊� */
+ @TableField("capture_num_auto")
+ private Integer captureNumAuto;
+
+ /** 鍙婃椂鐜囧伐鍗曢槇鍊� */
+ @TableField("timely_rate")
+ private BigDecimal timelyRate;
+
+ /** 鍙婃椂鐜囦笅鍙戦槇鍊� */
+ @TableField("timely_rate_auto")
+ private BigDecimal timelyRateAuto;
+
+ /** 寤惰繜閲忓伐鍗曢槇鍊� */
+ @TableField("delay_amount")
+ private Long delayAmount;
+
+ /** 寤惰繜閲忎笅鍙戦槇鍊� */
+ @TableField("delay_amount_auto")
+ private Long delayAmountAuto;
+
+ /*---------------------------- 杞﹁締瀛楁 ----------------------------------------------*/
+ /** 杩囪溅鏁版嵁閲忓伐鍗曢槇鍊� */
+ @TableField("pass_car_num")
+ private Integer passCarNum;
+
+ /** 杩囪溅鏁版嵁閲忎笅鍙戦槇鍊� */
+ @TableField("pass_car_num_auto")
+ private Integer passCarNumAuto;
+
+ /** 杩囪溅缂哄け鐜囧伐鍗曢槇鍊� */
+ @TableField("pass_car_miss_rate")
+ private BigDecimal passCarMissRate;
+
+ /** 杩囪溅缂哄け鐜囦笅鍙戦槇鍊� */
+ @TableField("pass_car_miss_rate_auto")
+ private BigDecimal passCarMissRateAuto;
+
+ /** 鏈夋晥杩囪溅鏁版嵁閲忓伐鍗曢槇鍊� */
+ @TableField("pass_car_effective_num")
+ private Integer passCarEffectiveNum;
+
+ /** 鏈夋晥杩囪溅鏁版嵁閲忎笅鍙戦槇鍊� */
+ @TableField("pass_car_effective_num_auto")
+ private Integer passCarEffectiveNumAuto;
+
+ /** 鏃堕挓鍑嗙‘鐜囧伐鍗曢槇鍊� */
+ @TableField("time_accuracy")
+ private BigDecimal timeAccuracy;
+
+ /** 鏃堕挓鍑嗙‘鐜囦笅鍙戦槇鍊� */
+ @TableField("time_accuracy_auto")
+ private BigDecimal timeAccuracyAuto;
/**
* 閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎
*/
+ @TableField("deleted")
private String deleted;
- public void setId(Integer id) {
- this.id = id;
- }
+ /*---------------------------- 鍏叡 ----------------------------------------------*/
+ /** 璁惧娲昏穬鐜囧伐鍗曢槇鍊� */
+ @TableField("device_active_rate")
+ private BigDecimal deviceActiveRate;
- public Integer getId() {
- return id;
- }
+ /** 璁惧娲昏穬鐜囦笅鍙戦槇鍊� */
+ @TableField("device_active_rate_auto")
+ private BigDecimal deviceActiveRateAuto;
- public void setMonitorType(String monitorType) {
- this.monitorType = monitorType;
- }
+ /** 鎶撴媿鍙婃椂鐜囧伐鍗曢槇鍊� */
+ @TableField("timely_capture")
+ private BigDecimal timelyCapture;
- public String getMonitorType() {
- return monitorType;
- }
+ /** 鎶撴媿鍙婃椂鐜囦笅鍙戦槇鍊� */
+ @TableField("timely_capture_auto")
+ private BigDecimal timelyCaptureAuto;
- public void setTimeout(Integer timeout) {
- this.timeout = timeout;
- }
-
- public Integer getTimeout() {
- return timeout;
- }
-
- public void setIndicator(String indicator) {
- this.indicator = indicator;
- }
-
- public String getIndicator() {
- return indicator;
- }
-
- 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("monitorType", getMonitorType())
- .append("timeout", getTimeout())
- .append("indicator", getIndicator())
- .append("createTime", getCreateTime())
- .append("updateTime", getUpdateTime())
- .append("deleted", getDeleted())
- .toString();
- }
}
--
Gitblit v1.8.0