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;

@Schema(description = "管理后台 - ERP工厂 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpFactoryRespVO {

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

    @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 erpCompanyNumber;

    @Schema(description = "公司编号")
    private String erpCompanyName;

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

    @Schema(description = "绑定工厂名")
    private String relName;

    @Schema(description = "绑定工厂编码")
    private String relnumber;

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