| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | //更新排产(选择设备) |
| | | public class ManualTechnologyDto { |
| | | |
| | | //工序id |
| | | @NotNull(message = "工序Id不能为空") |
| | | @ApiModelProperty(value = "工序Id", example = "1", required = true) |
| | | private Integer id; |
| | | @NotBlank(message = "排产开始日期不能为空") |
| | | @ApiModelProperty(value = "排产开始日期", example = "2023-08-31", required = true, dataType = "date") |
| | | private String date; |
| | | |
| | | @ApiModelProperty(value = "工艺Id", example = "2", required = true) |
| | | private Integer technologyId; |
| | | @NotNull(message = "生产订单Id不能为空") |
| | | @ApiModelProperty(value = "生产订单Id", example = "3", required = true) |
| | | private Integer manOrdId; |
| | | |
| | | @NotNull(message = "设备id不能为空") |
| | | @ApiModelProperty(value = "设备Id", example = "1", required = true) |
| | | private Integer deviceId; |
| | | @NotNull(message = "排产数量不能为空") |
| | | @ApiModelProperty(value = "排产数量", example = "20", required = true) |
| | | private Integer schedulingNumber; |
| | | |
| | | private List<ManualTechnologyDto1> orderProcess; |
| | | } |