package cn.iocoder.yudao.module.mes.controller.admin.pro.process.vo.param;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import jakarta.validation.constraints.NotNull;
|
import lombok.Data;
|
|
import java.util.List;
|
|
@Schema(description = "管理后台 - MES 工序工艺参数绑定新增/修改 Request VO")
|
@Data
|
public class MesProProcessParamSaveReqVO {
|
|
@Schema(description = "工序编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
@NotNull(message = "工序编号不能为空")
|
private Long processId;
|
|
@Schema(description = "绑定的工艺参数列表(全量覆盖保存)")
|
private List<Item> items;
|
|
@Data
|
public static class Item {
|
|
@Schema(description = "工艺参数编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@NotNull(message = "工艺参数不能为空")
|
private Long processParamId;
|
|
@Schema(description = "是否必填(可覆盖参数默认值)", example = "true")
|
private Boolean required;
|
|
@Schema(description = "排序", example = "1")
|
private Integer sort;
|
|
@Schema(description = "备注", example = "备注")
|
private String remark;
|
}
|
|
}
|