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 FactoryRespVO {

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

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

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

    @Schema(description = "ERP公司名称", example = "张三")
    @ExcelProperty("ERP公司名称")
    private String erpCompanyName;

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

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

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

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

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

    @Schema(description = "ERP工厂名称", example = "张三")
    @ExcelProperty("ERP工厂名称")
    private String erpName;

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

}