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

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 ZjItemRespVO {

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

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

    @Schema(description = "检验类型", example = "1")
    @ExcelProperty("检验类型")
    private String zjTypeName;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("名称")
    private String name;

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

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

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

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

    @Schema(description = "单位", example = "1")
    @ExcelProperty("单位")
    private String unitName;

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

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

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

}