rk
13 小时以前 c74a6f59490cfb9a0ee37f70427739b74e7fbd58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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;
}