package com.zt.plat.module.qms.resource.material.controller.vo.export;

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.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 物料消耗统计导出VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialConsumeStatisticsExportVO {

    @Schema(description = "物料 ID")
    private Long productId;

    @Schema(description = "申请时间")
    @ExcelProperty("日期")
    private LocalDate applyTime;

    @Schema(description = "申请部门")
    @ExcelProperty("消耗部门")
    private String applyDepartment;

    @Schema(description = "物料名称", example = "硫酸")
    @ExcelProperty("物料试剂名称")
    private String productName;

    @Schema(description = "物料编码")
    @ExcelProperty("物料试剂编码")
    private String productCode;

    @Schema(description = "申请部门id", example = "845")
    private Long applyDepartmentId;

    @Schema(description = "物料型号", example = "AR 500ml")
    @ExcelProperty("规格型号")
    private String productModelNo;

    @Schema(description = "物料单位", example = "瓶")
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "消耗量-按部门")
    @ExcelProperty("消耗量")
    private String usageQuantity;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

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

}