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

import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 维修项目 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MoldRepairTemsRespVO {

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

    @Schema(description = "项目编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("维修编码")
    private String subjectCode;

    @Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("维修名称")
    private String subjectName;

    @Schema(description = "模具类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer moldBrand;

    @Schema(description = "模具类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @ExcelProperty("模具类型名称")
    private String moldBrandName;

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

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

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

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

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

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否启用")
    private Boolean isEnable;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

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

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

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

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

}