This commit is contained in:
caozehui
2024-12-09 09:45:46 +08:00
parent 176a43d865
commit 843d97e367
2 changed files with 0 additions and 76 deletions

View File

@@ -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;
/**
* 枚举类型,包括{ ConnectVOLRangeCURRangeDevInfo}
*/
@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;
}

View File

@@ -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;
/**
* 枚举类型,包括{ ConnectVOLRangeCURRangeDevInfo}
*/
private String type;
private String desc;
private String value;
private Integer sort;
}