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

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

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

    @Schema(description = "公司编码")
    private String cpnName;
    @Schema(description = "erp工厂名称")
    private String erpFactoryName;
    @Schema(description = "erp工厂编码")
    private String erpFactoryNumber;

    @Schema(description = "仓库名称", example = "李四")
    @ExcelProperty("仓库名称")
    private String name;

    @Schema(description = "仓库编码")
    @ExcelProperty("仓库编码")
    private String coding;

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

    @Schema(description = "工厂名称", example = "李四")
    @ExcelProperty("工厂名称")
    private String factoryName;

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

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

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

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

}