package com.doumee.dao.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
|
/**
|
* 开票申请请求
|
*
|
* @author rk
|
* @date 2026/05/18
|
*/
|
@Data
|
@ApiModel("开票申请请求")
|
public class ApplyInvoiceDTO implements Serializable {
|
|
@NotNull(message = "订单主键不能为空")
|
@ApiModelProperty(value = "订单主键", required = true)
|
private Integer orderId;
|
|
@NotNull(message = "组织类型不能为空")
|
@ApiModelProperty(value = "组织类型:0=个人/事业单位;1=企业", required = true)
|
private Integer orgType;
|
|
@NotNull(message = "发票类型不能为空")
|
@ApiModelProperty(value = "发票类型:0=电子普通发票;1=电子专用发票", required = true)
|
private Integer invoiceType;
|
|
@NotBlank(message = "发票抬头不能为空")
|
@ApiModelProperty(value = "发票抬头", required = true)
|
private String name;
|
|
@ApiModelProperty(value = "税号(企业必填)")
|
private String taxId;
|
|
@ApiModelProperty(value = "开户银行(专用发票必填)")
|
private String bankName;
|
|
@ApiModelProperty(value = "银行账号(专用发票必填)")
|
private String bankAccount;
|
|
@ApiModelProperty(value = "企业地址(专用发票必填)")
|
private String companyAddr;
|
|
@ApiModelProperty(value = "企业电话(专用发票必填)")
|
private String companyPhone;
|
}
|