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

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31994")
//    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "计量器具编码", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("计量器具编码")
    private String measureCode;

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

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

    @Schema(description = "状态")
    private String status;

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

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

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

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

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

    @Schema(description = "上次检验/校准日期")
//    @ExcelProperty("上次检验/校准日期")
    private String lastTime;

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

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

    @Schema(description = "图片")
//    @ExcelProperty("图片")
    private String measurePic;

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

    @Schema(description = "创建时间")
//    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "部门id", example = "26945")
//    @ExcelProperty("部门id")
    private Long deptId;

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

    @Schema(description = "检测是否到期")
    private Boolean expired;
    @Schema(description = "是否90天预警")
    private Boolean alertWarn;

    private LocalDateTime offTime;
}
