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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

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

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

    @Schema(description = "工厂编码;将查询参数存入")
    @ExcelProperty("工厂编码;将查询参数存入")
    private String factoryNumber;

    @Schema(description = "工厂名称")
    private String factoryName;

    @Schema(description = "库位描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("库位描述")
    private String name;

    @Schema(description = "库位编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("库位编码")
    private String number;

    @Schema(description = "类别")
    private String type;

    @Schema(description = "绑定库位名")
    private String relName;

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

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

    @Schema(description = "公司名称")
    private String companyNameCustom;
    @Schema(description = "公司编号")
    private String companyIdCustom;

    @Schema(description = "子物料列表")
    private List<WarehouseFactoryRespVO> warehouseFactories;

}