|
@@ -16,6 +16,7 @@ import lombok.Data;
|
|
|
import lombok.experimental.Accessors;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
+import javax.validation.constraints.NotEmpty;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDate;
|
|
@@ -47,6 +48,34 @@ public class DeviceInfoDto {
|
|
|
private Long mercId;
|
|
|
}
|
|
|
|
|
|
+ @Data
|
|
|
+ @Accessors(chain = true)
|
|
|
+ public static class PageByMercDto {
|
|
|
+ @NotNull(message = "分页信息不能为空")
|
|
|
+ @ApiModelProperty(value = "商户ID", required = true)
|
|
|
+ private PageBean page;
|
|
|
+
|
|
|
+ @ApiModelProperty("设备类型")
|
|
|
+ private Integer deviceType;
|
|
|
+
|
|
|
+
|
|
|
+ @ApiModelProperty("是否已选择")
|
|
|
+ private Boolean choosed;
|
|
|
+
|
|
|
+
|
|
|
+ @ApiModelProperty("设备id多个")
|
|
|
+ private List<Long> deviceIds;
|
|
|
+
|
|
|
+ @ApiModelProperty("权限设备id多个")
|
|
|
+ private List<Long> myDeviceIds;
|
|
|
+
|
|
|
+ @ApiModelProperty("设备搜索")
|
|
|
+ private String deviceSearch;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "商户ID", required = true)
|
|
|
+ private Long mercId;
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
@Data
|
|
|
@Accessors(chain = true)
|
|
@@ -880,6 +909,7 @@ public class DeviceInfoDto {
|
|
|
@Data
|
|
|
@Accessors(chain = true)
|
|
|
public static class MercDeviceUnBindDto {
|
|
|
+ @NotEmpty(message = "请选择设备!")
|
|
|
@ApiModelProperty(value = "设备ID", required = false)
|
|
|
private List<Long> deviceIds;
|
|
|
|