package com.zt.plat.module.erp.controller.admin.erp.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 WarehouseFactoryRespVO {

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

    @Schema(description = "公司名称")
    @ExcelProperty("公司名称")
    private String companyNameCustom;

    @Schema(description = "公司编码")
    @ExcelProperty("公司编码")
    private String companyIdCustom;

    @Schema(description = "操作类型", example = "2")
    @ExcelProperty("操作类型")
    private String operationType;

    @Schema(description = "业务类型", example = "2")
    @ExcelProperty("业务类型")
    private String mmsiType;

    @Schema(description = "erp源工厂名称", example = "赵六")
    @ExcelProperty("erp源工厂名称")
    private String erpSourceFactoryName;

    @Schema(description = "erp源工厂编码")
    @ExcelProperty("erp源工厂编码")
    private String erpSourceFactoryNumber;

    @Schema(description = "erp源库位名称", example = "赵六")
    @ExcelProperty("erp源库位名称")
    private String erpSourceWarehouseName;

    @Schema(description = "erp源库位编码")
    @ExcelProperty("erp源库位编码")
    private String erpSourceWarehouseNumber;

    @Schema(description = "erp目标工厂名称", example = "赵六")
    @ExcelProperty("erp目标工厂名称")
    private String erpTargetFactoryName;

    @Schema(description = "erp目标工厂编码")
    @ExcelProperty("erp目标工厂编码")
    private String erpTargetFactoryNumber;

    @Schema(description = "erp目标库位名称", example = "ZT")
    @ExcelProperty("erp目标库位名称")
    private String erpTargetWarehouseName;

    @Schema(description = "erp目标库位编码")
    @ExcelProperty("erp目标库位编码")
    private String erpTargetWarehouseNumber;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
    @Schema(description = "主库位ID")
    private Long mainWarehouseId;

}