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

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

    @Schema(description = "类型甲方/乙方", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("类型甲方/乙方")
    private String type;

    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("联系人")
    private String contact;

    @Schema(description = "电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("电话")
    private String tel;

    @Schema(description = "邮箱")
    @ExcelProperty("邮箱")
    private String email;

    @Schema(description = "传真")
    @ExcelProperty("传真")
    private String fax;

    @Schema(description = "联系地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("联系地址")
    private String address;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

    @Schema(description = "客商公司编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("客商公司编码")
    private String customerNumber;

    @Schema(description = "客商公司名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("客商公司名称")
    private String customerName;
}