package com.zt.plat.module.qms.resource.material.controller.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 MaterialInventoryCheckDetailRespVO {

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

    @Schema(description = "盘点单id")
    private Long checkId;

    @Schema(description = "盘点项id")
    private Long itemId;

    @Schema(description = "物料实例id", example = "6754")
    @ExcelProperty("物料实例id")
    private Long infomationId;

    @Schema(description = "物料名称")
    private String infomationName;

    @Schema(description = "物料编号")
    private String infomationCode;

    @Schema(description = "批次号")
    private String batchNo;

    @Schema(description = "存放位置")
    private String locationName;

    @Schema(description = "存放位置编码")
    private String locationCode;

    @Schema(description = "是否存在,1-存在，0-不存在")
    @ExcelProperty("是否存在,1-存在，0-不存在")
    private Integer present;

    @Schema(description = "是否在库,1-在库，0-不在库")
    private Integer atWarehouse;

    @Schema(description = "当前数量")
    @ExcelProperty("当前数量")
    private String currentQuantity;

    @Schema(description = "状态", example = "1")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "处置方式,字典配置")
    @ExcelProperty("处置方式,字典配置")
    private String disposalMethod;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

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

}