From 843d97e367a0faec977393d753f45337822d1fdb Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Mon, 9 Dec 2024 09:45:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/param/PqSourceParameterParam.java | 48 ------------------- .../source/pojo/po/PqSourceParameter.java | 28 ----------- 2 files changed, 76 deletions(-) delete mode 100644 device/src/main/java/com/njcn/gather/device/source/pojo/param/PqSourceParameterParam.java delete mode 100644 device/src/main/java/com/njcn/gather/device/source/pojo/po/PqSourceParameter.java diff --git a/device/src/main/java/com/njcn/gather/device/source/pojo/param/PqSourceParameterParam.java b/device/src/main/java/com/njcn/gather/device/source/pojo/param/PqSourceParameterParam.java deleted file mode 100644 index 6ee86ee5..00000000 --- a/device/src/main/java/com/njcn/gather/device/source/pojo/param/PqSourceParameterParam.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.njcn.gather.device.source.pojo.param; - -import com.njcn.common.pojo.constant.PatternRegex; -import com.njcn.gather.device.pojo.constant.DeviceValidMessage; -import com.njcn.gather.system.pojo.constant.SystemValidMessage; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import javax.validation.constraints.*; - -/** - * @author caozehui - * @data 2024-11-26 - */ -@Data -public class PqSourceParameterParam { - - @ApiModelProperty(value = "id", required = true) - @NotNull(message = DeviceValidMessage.PQ_SOURCE_PARAMETER_ID_NOT_BLANK) - @Pattern(regexp = PatternRegex.SYSTEM_ID, message = DeviceValidMessage.ID_FORMAT_ERROR) - private String id; - - @ApiModelProperty(value = "pid", required = true) - @NotNull(message = DeviceValidMessage.PQ_SOURCE_PARAMETER_PID_NOT_BLANK) - @Pattern(regexp = PatternRegex.SYSTEM_ID, message = DeviceValidMessage.ID_FORMAT_ERROR) - private String pid; - - /** - * 枚举类型,包括{ Connect,VOLRange,CURRange,DevInfo} - */ - @ApiModelProperty(value = "源类型", required = true) - @NotBlank(message = DeviceValidMessage.PQ_SOURCE_PARAMETER_TYPE_NOT_BLANK) - private String type; - - @ApiModelProperty(value = "描述") - @NotBlank(message = DeviceValidMessage.PQ_SOURCE_PARAMETER_REMARK_NOT_BLANK) - private String desc; - - @ApiModelProperty(value = "参数值") - @NotBlank(message = DeviceValidMessage.PQ_SOURCE_PARAMETER_VALUE_NOT_BLANK) - private String value; - - @ApiModelProperty("排序") - @NotNull(message = SystemValidMessage.SORT_NOT_NULL) - @Min(value = 1, message = SystemValidMessage.SORT_FORMAT_ERROR) - @Max(value = 999, message = SystemValidMessage.SORT_FORMAT_ERROR) - private Integer sort; -} diff --git a/device/src/main/java/com/njcn/gather/device/source/pojo/po/PqSourceParameter.java b/device/src/main/java/com/njcn/gather/device/source/pojo/po/PqSourceParameter.java deleted file mode 100644 index c3d78354..00000000 --- a/device/src/main/java/com/njcn/gather/device/source/pojo/po/PqSourceParameter.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.njcn.gather.device.source.pojo.po; - -import lombok.Data; - -import java.util.List; - -/** - * @author caozehui - * @data 2024-11-28 - */ -@Data -public class PqSourceParameter { - - private String id; - - private String pid; - - /** - * 枚举类型,包括{ Connect,VOLRange,CURRange,DevInfo} - */ - private String type; - - private String desc; - - private String value; - - private Integer sort; -}