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;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - ERP客商主数据 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpCustomerRespVO {

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

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

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "账户组", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("账户组")
    private String accountGroup;

    @Schema(description = "简称")
    @ExcelProperty("简称")
    private String description;

    @Schema(description = "中铝编号")
    @ExcelProperty("中铝编号")
    private String centerNumber;

    @Schema(description = "创建日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建日期")
    private LocalDateTime createDate;

    @Schema(description = "修改日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("修改日期")
    private LocalDateTime repairDate;

    @Schema(description = "归档标识")
    @ExcelProperty("归档标识")
    private String isGiveback;

    @Schema(description = "冻结标识")
    @ExcelProperty("冻结标识")
    private String isProvisional;

    @Schema(description = "税号/社会信用代码")
    @ExcelProperty("税号")
    private String taxNumber;

}