package cn.iocoder.yudao.module.member.controller.admin.invoiceinformation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户发票信息新增/修改 Request VO")
@Data
public class InvoiceInformationSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1489")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "名称不能为空")
    private String name;

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

    @Schema(description = "单位地址")
    private String unitAddress;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "16335")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "电话号码")
    private String phoneNum;

    @Schema(description = "开户银行")
    private String accountBank;

    @Schema(description = "银行账户")
    private String bankNum;

}