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

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - 账户条款新增/修改 Request VO")
@Data
public class AccountSaveReqVO {

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

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

    @Schema(description = "户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "户名不能为空")
    private String accountName;

    @Schema(description = "开户行", requiredMode = Schema.RequiredMode.REQUIRED, example = "2834")
    @NotEmpty(message = "开户行不能为空")
    private String bankAccount;

    @Schema(description = "户号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "户号不能为空")
    private String accountNumber;

    @Schema(description = "税号/社会信用代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "税号/社会信用代码不能为空")
    private String taxNumber;

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

    @Schema(description = "地址")
    private String address;

    @Schema(description = "电话")
    private String phone;
}