package com.ks.app.entity.vip;
|
|
import org.springframework.data.annotation.Id;
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author hxh
|
* @description 会员订单记录
|
* @date 14:29 2021/11/17
|
* @return
|
**/
|
|
@Table("lt_vip_order_record")
|
public class OrderRecord {
|
|
//未支付
|
public final static int STATE_NOT_PAY = 0;
|
|
//已支付
|
public final static int STATE_PAY = 1;
|
|
//订单已取消
|
public final static int STATE_CANCEL = -1;
|
|
//支付宝
|
public final static int PAY_WAY_ALIPAY = 1;
|
|
//微信
|
public final static int PAY_WAY_WX = 2;
|
|
//金币支付
|
public final static int PAY_WAY_GOLDCORN = 3;
|
|
//苹果支付
|
public final static int PAY_WAY_IAPP = 4;
|
|
//支付宝+金币
|
public final static int PAY_WAY_ALIPAY_GOLDCORN = 13;
|
|
//微信+金币
|
public final static int PAY_WAY_WX_GOLDCORN = 23;
|
|
@Id
|
private Long id;
|
|
//订单类型
|
@Column(name = "order_type")
|
private OrderType orderType;
|
|
//用户ID
|
private Long uid;
|
//状态
|
private Integer state;
|
|
//资金支付状态
|
@Column(name = "money_pay")
|
private Boolean moneyPay;
|
|
//资金支付状态
|
@Column(name = "gold_corn_pay")
|
private Boolean goldCornPay;
|
|
//金币
|
@Column(name = "gold_corn")
|
private Integer goldCorn;
|
|
//类型
|
private VIPPriceType type;
|
|
//资金
|
private BigDecimal money;
|
//支付方式
|
@Column(name = "pay_way")
|
private Integer payWay;
|
//支付金额
|
@Column(name = "pay_money")
|
private BigDecimal payMoney;
|
|
@Column(name = "ip_info")
|
private String ipInfo;
|
|
//付款时间
|
@Column(name = "pay_time")
|
private Date payTime;
|
@Column(name = "create_time")
|
private Date createTime;
|
@Column(name = "update_time")
|
private Date updateTime;
|
//会员开始时间
|
@Column(name = "vip_start_time")
|
private Date vipStartTime;
|
//会员结束时间
|
@Column(name = "vip_end_time")
|
private Date vipEndTime;
|
|
//备注
|
private String remarks;
|
|
@Column(name = "apple_transaction_id")
|
private String appleTransactionId;
|
|
@Column(name = "apple_original_transaction_id")
|
private String appleOriginalTransactionId;
|
|
|
public String getAppleTransactionId() {
|
return appleTransactionId;
|
}
|
|
public void setAppleTransactionId(String appleTransactionId) {
|
this.appleTransactionId = appleTransactionId;
|
}
|
|
public String getAppleOriginalTransactionId() {
|
return appleOriginalTransactionId;
|
}
|
|
public void setAppleOriginalTransactionId(String appleOriginalTransactionId) {
|
this.appleOriginalTransactionId = appleOriginalTransactionId;
|
}
|
|
public Boolean getMoneyPay() {
|
return moneyPay;
|
}
|
|
public void setMoneyPay(Boolean moneyPay) {
|
this.moneyPay = moneyPay;
|
}
|
|
public Boolean getGoldCornPay() {
|
return goldCornPay;
|
}
|
|
public void setGoldCornPay(Boolean goldCornPay) {
|
this.goldCornPay = goldCornPay;
|
}
|
|
public Date getVipStartTime() {
|
return vipStartTime;
|
}
|
|
public void setVipStartTime(Date vipStartTime) {
|
this.vipStartTime = vipStartTime;
|
}
|
|
public Date getVipEndTime() {
|
return vipEndTime;
|
}
|
|
public void setVipEndTime(Date vipEndTime) {
|
this.vipEndTime = vipEndTime;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public VIPPriceType getType() {
|
return type;
|
}
|
|
public void setType(VIPPriceType type) {
|
this.type = type;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public Integer getPayWay() {
|
return payWay;
|
}
|
|
public void setPayWay(Integer payWay) {
|
this.payWay = payWay;
|
}
|
|
public BigDecimal getPayMoney() {
|
return payMoney;
|
}
|
|
public void setPayMoney(BigDecimal payMoney) {
|
this.payMoney = payMoney;
|
}
|
|
public Date getPayTime() {
|
return payTime;
|
}
|
|
public void setPayTime(Date payTime) {
|
this.payTime = payTime;
|
}
|
|
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;
|
}
|
|
|
public String getIpInfo() {
|
return ipInfo;
|
}
|
|
public void setIpInfo(String ipInfo) {
|
this.ipInfo = ipInfo;
|
}
|
|
public Integer getGoldCorn() {
|
return goldCorn;
|
}
|
|
public void setGoldCorn(Integer goldCorn) {
|
this.goldCorn = goldCorn;
|
}
|
|
public OrderType getOrderType() {
|
return orderType;
|
}
|
|
public void setOrderType(OrderType orderType) {
|
this.orderType = orderType;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
}
|