admin
2020-06-08 457f4881a89c03984c7b46ed10e8919d3294976c
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
package com.yeshi.fanli.entity.shop;
 
import java.math.BigDecimal;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 * 套餐支付方式配置
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_shop_goods_set_pay")
public class BanLiShopGoodsSetsPay {
    public static final int PAY_TYPE_HONGBAO = 1;// 红包支付
    public static final int PAY_TYPE_BALANCE = 2;// 账户余额支付
    public static final int PAY_TYPE_MONEY = 3;// 现金支付
    public static final int PAY_TYPE_HONGBAO_MONEY = 13;// 红包+现金支付
 
    @Column(name = "sp_id")
    private Long id;
    @Column(name = "sp_goods_set_id")
    private BanLiShopGoodsSets goodsSet;// 商品套餐
    @Column(name = "sp_discount")
    private BigDecimal disCount;// 折扣
    @Column(name = "sp_price_hongbao")
    private BigDecimal hongBaoPrice;// 红包支付价格
    @Column(name = "sp_price_balance")
    private BigDecimal balancePrice;// 余额支付价格
    @Column(name = "sp_price_money")
    private BigDecimal moneyPrice;// 现金支付价格
    @Column(name = "sp_pay_type")
    private Integer payType;// 支付方式
    @Column(name = "sp_tag")
    private String tag;// 标签
    @Column(name = "sp_create_time")
    private Date createTime;
    @Column(name = "sp_update_time")
    private Date updateTime;
    @Column(name = "sp_weight")
    private Integer weight;//排序权重
    
    private String name;//支付名称
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Integer getWeight() {
        return weight;
    }
 
    public void setWeight(Integer weight) {
        this.weight = weight;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public BanLiShopGoodsSets getGoodsSet() {
        return goodsSet;
    }
 
    public void setGoodsSet(BanLiShopGoodsSets goodsSet) {
        this.goodsSet = goodsSet;
    }
 
    public BigDecimal getDisCount() {
        return disCount;
    }
 
    public void setDisCount(BigDecimal disCount) {
        this.disCount = disCount;
    }
 
    public BigDecimal getHongBaoPrice() {
        return hongBaoPrice;
    }
 
    public void setHongBaoPrice(BigDecimal hongBaoPrice) {
        this.hongBaoPrice = hongBaoPrice;
    }
 
    public BigDecimal getBalancePrice() {
        return balancePrice;
    }
 
    public void setBalancePrice(BigDecimal balancePrice) {
        this.balancePrice = balancePrice;
    }
 
    public BigDecimal getMoneyPrice() {
        return moneyPrice;
    }
 
    public void setMoneyPrice(BigDecimal moneyPrice) {
        this.moneyPrice = moneyPrice;
    }
 
    public Integer getPayType() {
        return payType;
    }
 
    public void setPayType(Integer payType) {
        this.payType = payType;
    }
 
    public String getTag() {
        return tag;
    }
 
    public void setTag(String tag) {
        this.tag = tag;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}