package com.zt.plat.module.erp.controller.admin.erp.internalwarehouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - ERP库位 Response VO")
@Data
@ExcelIgnoreUnannotated
public class InternalWarehouseRespVO {

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

    @Schema(description = "工厂编码")
    @ExcelProperty("工厂编码")
    private String factoryNumber;

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

    @Schema(description = "库位编码")
    @ExcelProperty("库位编码")
    private String number;

    @Schema(description = "类型;数据字典(SPLY_FACT_TP)", example = "2")
    @ExcelProperty("类型;数据字典(SPLY_FACT_TP)")
    private String type;

    @Schema(description = "绑定库位名称", example = "张三")
    @ExcelProperty("绑定库位名称")
    private String relativityName;

    @Schema(description = "绑定库位编码")
    @ExcelProperty("绑定库位编码")
    private String relativityNumber;

    @Schema(description = "是否启用")
    @ExcelProperty("是否启用")
    private String isEnable;

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

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

    @Schema(description = "erp公司名称")
    @ExcelProperty("erp公司名称")
    private String companyNameCustom;
    @Schema(description = "工厂名称")
    @ExcelProperty("工厂名称")
    private String factoryName;
}