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

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

    @Schema(description = "项目编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "项目编码不能为空")
    private String subjectCode;

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

    @Schema(description = "模具类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotNull(message = "模具类型不能为空")
    private Integer moldBrand;

    @Schema(description = "模具id", example = "11632")
    private Long moldId;

    @Schema(description = "关键件id", example = "29557")
    private Long componentId;

    @Schema(description = "检验方式")
    private String inspectionMethod;

    @Schema(description = "值类型", example = "1")
    private String valueType;

    @Schema(description = "判定基准")
    private String judgmentCriteria;

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启用不能为空")
    private Boolean isEnable;

    @Schema(description = "模具名称")
    @ExcelProperty("模具名称")
    private String moldName;

    @Schema(description = "关键件名称")
    @ExcelProperty("关键件名称")
    private String componentName;

    @Schema(description = "创建人名称")
    @ExcelProperty("创建人名称")
    private String creatorName;

    @Schema(description = "项目内容")
    @ExcelProperty("项目内容")
    private String projectContent;
}