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

@Schema(description = "管理后台 - 出库明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialInventoryOutboundDetailRespVO {

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

    @Schema(description = "出库单id", example = "13529")
    @ExcelProperty("出库单id")
    private Long outboundId;

    // 批次
    @Schema(description = "批次id", example = "13529")
    @ExcelProperty("批次id")
    private Long batchId;

    @Schema(description = "批次编号")
    @ExcelProperty("批次编号")
    private String batchNo;
    // 工段
    @Schema(description = "工段id", example = "13529")
    @ExcelProperty("工段id")
    private Long gongduanId;

    @Schema(description = "工段名称", example = "13529")
    @ExcelProperty("工段名称")
    private String assignDepartmentName;

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

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

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

    @Schema(description = "业务类型")
    @ExcelProperty("业务类型")
    private String businessType;

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

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

    @Schema(description = "领用人id", example = "7209")
    @ExcelProperty("领用人id")
    private Long managerUserId;

    @Schema(description = "领用人", example = "张三")
    @ExcelProperty("领用人")
    private String managerUserName;

    @Schema(description = "数量")
    @ExcelProperty("数量")
    private BigDecimal quantity;

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

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

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

    @Schema(description = "创建者")
    @ExcelProperty("创建者")
    private Long creator;

    @Schema(description = "创建人名称")
    @ExcelProperty("创建人名称")
    private String creatorName;

}