package com.yuanchu.mom.pojo.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; @Data //更新排产(选择设备) public class ManualTechnologyDto { //工序id @NotNull(message = "工序Id不能为空") @ApiModelProperty(value = "工序Id", example = "1", required = true) private Integer id; @ApiModelProperty(value = "工艺Id", example = "2", required = true) private Integer technologyId; @NotNull(message = "设备id不能为空") @ApiModelProperty(value = "设备Id", example = "1", required = true) private Integer deviceId; }