package cn.iocoder.yudao.module.mes.controller.admin.zjitem.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 ZjItemSaveReqVO {

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

    @Schema(description = "检验类型", example = "1")
    private Long zjType;

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

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

    @Schema(description = "作业方式")
    private String tool;

    @Schema(description = "标准值")
    private Double standardVal;

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

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

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

}