package com.zt.plat.module.base.controller.admin.base.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - 联系人信息新增/修改 Request VO")
@Data
public class ContactSaveReqVO {

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

    @Schema(description = "类型甲方/乙方", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
//    @NotEmpty(message = "类型甲方/乙方不能为空")
    private String type;

    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "联系人不能为空")
    private String contact;

    @Schema(description = "电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "电话不能为空")
    private String tel;

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

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

    @Schema(description = "联系地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "联系地址不能为空")
    private String address;

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

    @Schema(description = "客商公司编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "客商公司编码不能为空")
    private String customerNumber;

    @Schema(description = "客商公司名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "客商公司名称不能为空")
    private String customerName;

}