|
@@ -6,7 +6,6 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
import lombok.experimental.Accessors;
|
|
|
|
|
|
-import javax.validation.constraints.NotBlank;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
@@ -15,7 +14,7 @@ import java.time.LocalDateTime;
|
|
|
@Accessors(chain = true)
|
|
|
public class BackMqttDto {
|
|
|
|
|
|
- @NotBlank(message = "sn不能为空")
|
|
|
+ @NotNull(message = "sn不能为空")
|
|
|
@ApiModelProperty(value = "sn编号", required = true)
|
|
|
private Long sn;
|
|
|
|