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

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 检验方案新增/修改 Request VO")
@Data
public class ZjSchemaSaveReqVO {

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

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String type;

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

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

    @Schema(description = "抽检方式")
    private String sampleMethod;

    @Schema(description = "值")
    private String val;

    @Schema(description = "关联项目")
    private String item;

}