KKSU
2025-01-09 e15c348bc992de7331d14d76451032358aae9289
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package cc.mrbird.febs.mall.entity;
 
import cc.mrbird.febs.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Data
@TableName("mall_invoice")
public class MallInvoice extends BaseEntity {
 
    private Long memberId;
    /**
     * fapiao_apply_id
     * 发票申请单号,唯一标识一次开票行为。微信支付场景下,为微信支付订单号;非微信支付场景下,为调用【获取抬头填写链接】接口时指定的发票申请单号
     * 对应订单信息的pay_order_no支付订单号
     */
    private String fapiaoApplyId;
    /**
     *【购买方类型】 购买方类型
     * 可选取值:
     * INDIVIDUAL: 个人
     * ORGANIZATION: 单位
     */
    private String type;
    /**
     *【名称】 购买方名称
     */
    private String name;
    /**
     *【纳税人识别号】 购买方纳税人识别号,购买方类型为ORGANIZATION时必须存在
     */
    private String taxpayerId;
    /**
     *【地址】 购买方地址
     */
    private String address;
    /**
     *【电话】 购买方电话
     */
    private String telephone;
    /**
     *【开户银行】 购买方开户银行
     */
    private String bankName;
    /**
     *【银行账号】 购买方银行账号
     */
    private String bankAccount;
 
 
    /**
     * 匹配的订单ID
     */
    private Long orderId;
    private String orderNo;//订单编号
    private Integer status;//订单状态
    private BigDecimal amount;//订单金额
    private String goodsImg;//商品图片
 
    private Integer state;//开票状态:0:未开票 1:开票中 2:已开票
    private String invoiceUrl;//发票的URL路径
}