| | |
| | | package com.mes.device.request; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | |
| | | * @since 2025-11-17 |
| | | */ |
| | | @Data |
| | | @Schema(name = "DevicePlcBatchRequest", description = "设备 PLC 批量操作请求") |
| | | @ApiModel(value = "DevicePlcBatchRequest", description = "设备 PLC 批量操作请求") |
| | | public class DevicePlcBatchRequest implements Serializable { |
| | | |
| | | @NotEmpty(message = "设备ID列表不能为空") |
| | | @Schema(description = "设备ID列表", required = true) |
| | | @ApiModelProperty(value = "设备ID列表", required = true) |
| | | private List<Long> deviceIds; |
| | | } |
| | | |