package cn.iocoder.yudao.module.pms.controller.admin.qhse.measure.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 计量器具台账 Response VO")
@Data
@ExcelIgnoreUnannotated
public class QhseMeasureExportVO {
    private Long id;

    @Schema(description = "序列号")
    @ExcelProperty("序列号")
    private String serialNo;

    @Schema(description = "计量器具名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty(value = "计量器具名称")
    //@ColumnWidth(10)
    private String measureName;

    @Schema(description = "分类", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "分类")
    private String classify;

    @Schema(description = "责任人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("责任人")
    private String dutyPerson;

    @Schema(description = "采购日期")
    @ExcelProperty("采购日期")
    private String buyDate;

    @Schema(description = "品牌")
    @ExcelProperty("品牌")
    //@ColumnWidth(25)
    private String brand;

    @Schema(description = "规格型号", example = "芋艿")
    @ExcelProperty("规格型号")
    private String modelName;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    //@ColumnWidth(5)
    private String measureUnit;

    @Schema(description = "价格", example = "7760")
    @ExcelProperty("价格")
    private Double measurePrice;

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

    @Schema(description = "部门名称")
    @ExcelProperty("部门名称")
    private String deptName;

    @Schema(description = "证书编码")
    @ExcelProperty("证书编码")
    private String measureCertNo;
    @Schema(description = "检测/校准日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测/校准日期")
    private String detectDate;

    @Schema(description = "检测/校准机构", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测/校准机构")
    private String detectOrg;

    @Schema(description = "检测/校准内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测/校准内容")
    private String detectContent;


    @Schema(description = "检测/检验标准")
    @ExcelProperty("检测/检验标准")
    private String detectStandard;
    @Schema(description = "检测/校准有效期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测/校准有效期")
    private LocalDateTime validityPeriod;

    @Schema(description = "校准金额")
    @ExcelProperty("校准金额")
    private Double detectAmount;

    private Long deptId;
}
