package com.yuchen.saas.payment.api.dto.invoice;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2024/10/20 15:56
 * @Description 开票售方DTO
 */
@Data
public class SaasInvoiceSellerDTO {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 公司名称
     */
    @ApiModelProperty(name = "companyName", value = "公司名称")
    @NotBlank(message = "公司名称不能为空")
    private String companyName;
    /**
     * 纳税人识别号
     */
    @ApiModelProperty(name = "taxNo", value = "纳税人识别号")
    @NotBlank(message = "纳税人识别号不能为空")
    private String taxNo;
    /**
     * 开户行
     */
    @ApiModelProperty(name = "bankName", value = "开户行")
    @NotBlank(message = "开户行不能为空")
    private String bankName;
    /**
     * 账号
     */
    @ApiModelProperty(name = "account", value = "账号")
    @NotBlank(message = "账号不能为空")
    private String account;
    /**
     * 电话
     */
    @ApiModelProperty(name = "phone", value = "电话")
    @NotBlank(message = "电话不能为空")
    private String phone;
    /**
     * 开票地址
     */
    @ApiModelProperty(name = "invoiceUrl", value = "开票地址")
    @NotBlank(message = "开票地址不能为空")
    private String invoiceUrl;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 创建类型(1:运营后台创建 2:客户后台创建)
     */
    @ApiModelProperty(name = "createType", value = "创建类型(1:运营后台创建 2:客户后台创建)")
    @NotNull(message = "创建类型不能为空")
    private Integer createType;

}

























































































































































































































































































































































































































































