From eb806b5ec0bb72536e78c1a7fcffb94bcd24cbbe Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 26 四月 2024 18:24:27 +0800 Subject: [PATCH] 考核结果应用规则(算钱)新增、展示 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java | 122 ++++++++++++++++++++-------------------- 1 files changed, 60 insertions(+), 62 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..455439a 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.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; 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 lombok.Data; + +import java.math.BigDecimal; /** * 杩愮淮闃堝�煎璞� t_yw_threshold @@ -12,87 +18,79 @@ * @author gonghl * @date 2024-03-25 */ +@Data +@TableName("t_yw_threshold") public class YwThreshold extends BaseEntity { + private static final long serialVersionUID = 1L; /** * 涓婚敭 */ + @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 璁惧绫诲瀷锛�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; + + + /*---------------------------- 浜鸿劯瀛楁 ----------------------------------------------*/ + + + + /*---------------------------- 杞﹁締瀛楁 ----------------------------------------------*/ /** * 閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎 */ + @TableField("deleted") private String deleted; - public void setId(Integer id) { - this.id = id; - } - - public Integer getId() { - return id; - } - - public void setMonitorType(String monitorType) { - this.monitorType = monitorType; - } - - public String getMonitorType() { - return monitorType; - } - - 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