|
@@ -12,7 +12,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.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
@@ -439,13 +438,12 @@ public class DeviceInfoDto {
|
|
|
@Data
|
|
|
@Accessors(chain = true)
|
|
|
public static class MercHomeQueryDTO {
|
|
|
- @NotNull(message = "商户id不能为空")
|
|
|
- @ApiModelProperty(value = "商户id", required = true)
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "商户id")
|
|
|
private Long mercId;
|
|
|
|
|
|
|
|
|
- @NotBlank(message = "设备名称")
|
|
|
- @ApiModelProperty(value = "设备名称", required = true)
|
|
|
+ @ApiModelProperty(value = "设备名称")
|
|
|
private String deviceName;
|
|
|
|
|
|
@ApiModelProperty("设备编号")
|