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;
|
}
|
}
|