package cn.iocoder.yudao.module.mes.controller.admin.zjproductrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 试产质检记录新增/修改 Request VO")
@Data
public class ZjProductRecordSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5254")
    private Long id;

    @Schema(description = "工序", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "工序不能为空")
    private String type;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "上限值")
    private Double upperVal;

    @Schema(description = "下限值")
    private Double lowerVal;

    @Schema(description = "关联产品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6649")
    @NotNull(message = "关联产品id不能为空")
    private Long productId;

    @Schema(description = "实际值", example = "你猜")
    private String realVal;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "关联计划id", example = "13611")
    private Long planId;

}