|
@@ -5,6 +5,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
@@ -21,6 +22,7 @@ public class DeviceAddParam extends BaseVO {
|
|
|
* 设备ID
|
|
|
*/
|
|
|
@Schema(description = "设备ID")
|
|
|
+ @NotBlank ( message = "设备ID不能为空!")
|
|
|
private String clientId;
|
|
|
|
|
|
/**
|
|
@@ -38,7 +40,8 @@ public class DeviceAddParam extends BaseVO {
|
|
|
/**
|
|
|
* 设备类型
|
|
|
*/
|
|
|
- @Schema(description = "设备类型")
|
|
|
+ @Schema(description = "设备类型 ,下拉选择 LNA / LNB")
|
|
|
+ @NotBlank ( message = "设备类型不能为空!")
|
|
|
private String devType;
|
|
|
|
|
|
/**
|
|
@@ -56,7 +59,8 @@ public class DeviceAddParam extends BaseVO {
|
|
|
/**
|
|
|
* 软件版本号
|
|
|
*/
|
|
|
- @Schema(description = "软件版本号")
|
|
|
+ @Schema(description = "软件版本号" )
|
|
|
+ @NotBlank ( message = "软件版本号不能为空!")
|
|
|
private String software;
|
|
|
|
|
|
/**
|