package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 用户活动-充值
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2020-06-19
|
*/
|
@TableName("t_user_activity_balance")
|
public class UserActivityBalance extends Model<UserActivityBalance> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 1=不启用,2=启用
|
*/
|
private Integer enable;
|
/**
|
* 用户活动主表id
|
*/
|
private Integer userActivityId;
|
/**
|
* 充值金额
|
*/
|
private Double money;
|
/**
|
* 通用优惠券数量
|
*/
|
private Integer generalNum;
|
/**
|
* 通用优惠券id
|
*/
|
private Integer generalCouponId;
|
/**
|
* 专车优惠券数量
|
*/
|
private Integer specialNum;
|
/**
|
* 专车优惠券id
|
*/
|
private Integer specialCouponId;
|
/**
|
* 出租车优惠券数量
|
*/
|
private Integer taxiNum;
|
/**
|
* 出租车优惠券id
|
*/
|
private Integer taxiCouponId;
|
/**
|
* 城际优惠券数量
|
*/
|
private Integer intercityNum;
|
/**
|
* 城际优惠券id
|
*/
|
private Integer intercityCouponId;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
/**
|
* 有效期开始时间
|
*/
|
private Date startTime;
|
/**
|
* 有效期结束时间
|
*/
|
private Date endTime;
|
/**
|
* 有效天数
|
*/
|
private Integer effective;
|
/**
|
* 通用券金额
|
*/
|
private Double generalCouponMoney;
|
/**
|
* 专车券金额
|
*/
|
private Double specialCouponMoney;
|
/**
|
* 出租车券金额
|
*/
|
private Double taxiCouponMoney;
|
/**
|
* 城际券金额
|
*/
|
private Double intercityCouponMoney;
|
/**
|
* 总金额上限
|
* @return
|
*/
|
private Double totalPrice;
|
/**
|
* 剩余总金额上限
|
* @return
|
*/
|
private Double lavePrice;
|
|
public Integer getEffective() {
|
return effective;
|
}
|
|
public void setEffective(Integer effective) {
|
this.effective = effective;
|
}
|
|
public Double getGeneralCouponMoney() {
|
return generalCouponMoney;
|
}
|
|
public void setGeneralCouponMoney(Double generalCouponMoney) {
|
this.generalCouponMoney = generalCouponMoney;
|
}
|
|
public Double getSpecialCouponMoney() {
|
return specialCouponMoney;
|
}
|
|
public void setSpecialCouponMoney(Double specialCouponMoney) {
|
this.specialCouponMoney = specialCouponMoney;
|
}
|
|
public Double getTaxiCouponMoney() {
|
return taxiCouponMoney;
|
}
|
|
public void setTaxiCouponMoney(Double taxiCouponMoney) {
|
this.taxiCouponMoney = taxiCouponMoney;
|
}
|
|
public Double getIntercityCouponMoney() {
|
return intercityCouponMoney;
|
}
|
|
public void setIntercityCouponMoney(Double intercityCouponMoney) {
|
this.intercityCouponMoney = intercityCouponMoney;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getEnable() {
|
return enable;
|
}
|
|
public void setEnable(Integer enable) {
|
this.enable = enable;
|
}
|
|
public Integer getUserActivityId() {
|
return userActivityId;
|
}
|
|
public void setUserActivityId(Integer userActivityId) {
|
this.userActivityId = userActivityId;
|
}
|
|
public Double getMoney() {
|
return money;
|
}
|
|
public void setMoney(Double money) {
|
this.money = money;
|
}
|
|
public Integer getGeneralNum() {
|
return generalNum;
|
}
|
|
public void setGeneralNum(Integer generalNum) {
|
this.generalNum = generalNum;
|
}
|
|
public Integer getGeneralCouponId() {
|
return generalCouponId;
|
}
|
|
public void setGeneralCouponId(Integer generalCouponId) {
|
this.generalCouponId = generalCouponId;
|
}
|
|
public Integer getSpecialNum() {
|
return specialNum;
|
}
|
|
public void setSpecialNum(Integer specialNum) {
|
this.specialNum = specialNum;
|
}
|
|
public Integer getSpecialCouponId() {
|
return specialCouponId;
|
}
|
|
public void setSpecialCouponId(Integer specialCouponId) {
|
this.specialCouponId = specialCouponId;
|
}
|
|
public Integer getTaxiNum() {
|
return taxiNum;
|
}
|
|
public void setTaxiNum(Integer taxiNum) {
|
this.taxiNum = taxiNum;
|
}
|
|
public Integer getTaxiCouponId() {
|
return taxiCouponId;
|
}
|
|
public void setTaxiCouponId(Integer taxiCouponId) {
|
this.taxiCouponId = taxiCouponId;
|
}
|
|
public Integer getIntercityNum() {
|
return intercityNum;
|
}
|
|
public void setIntercityNum(Integer intercityNum) {
|
this.intercityNum = intercityNum;
|
}
|
|
public Integer getIntercityCouponId() {
|
return intercityCouponId;
|
}
|
|
public void setIntercityCouponId(Integer intercityCouponId) {
|
this.intercityCouponId = intercityCouponId;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Double getTotalPrice() {
|
return totalPrice;
|
}
|
|
public void setTotalPrice(Double totalPrice) {
|
this.totalPrice = totalPrice;
|
}
|
|
public Double getLavePrice() {
|
return lavePrice;
|
}
|
|
public void setLavePrice(Double lavePrice) {
|
this.lavePrice = lavePrice;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "UserActivityBalance{" +
|
"id=" + id +
|
", enable=" + enable +
|
", userActivityId=" + userActivityId +
|
", money=" + money +
|
", generalNum=" + generalNum +
|
", generalCouponId=" + generalCouponId +
|
", specialNum=" + specialNum +
|
", specialCouponId=" + specialCouponId +
|
", taxiNum=" + taxiNum +
|
", taxiCouponId=" + taxiCouponId +
|
", intercityNum=" + intercityNum +
|
", intercityCouponId=" + intercityCouponId +
|
", insertTime=" + insertTime +
|
", startTime=" + startTime +
|
", endTime=" + endTime +
|
"}";
|
}
|
}
|