package cn.iocoder.yudao.module.mes.controller.admin.pd.processparam.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import jakarta.validation.constraints.NotBlank; @Schema(description = "管理后台 - MES 工艺参数新增/修改 Request VO") @Data public class MesPdProcessParamSaveReqVO { @Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024") private Long id; @Schema(description = "参数名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "温度") @NotBlank(message = "参数名称不能为空") private String paramName; @Schema(description = "参数类型", example = "1") private Integer paramType; @Schema(description = "计量单位ID", example = "1") private Long unitMeasureId; @Schema(description = "是否必填", example = "true") private Boolean required; @Schema(description = "备注", example = "测试备注") private String remark; }