活动配置新增送积分字段
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
package cn.ysk.cashier.mybatis.entity;
|
package cn.ysk.cashier.mybatis.entity;
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class TbActivate extends Model<TbActivate> {
|
public class TbActivate extends Model<TbActivate> {
|
||||||
|
|
||||||
@@ -15,6 +16,8 @@ public class TbActivate extends Model<TbActivate> {
|
|||||||
private Integer amount;
|
private Integer amount;
|
||||||
//赠送金额
|
//赠送金额
|
||||||
private Integer giftAmount;
|
private Integer giftAmount;
|
||||||
|
//赠送积分
|
||||||
|
private Integer giftPoints;
|
||||||
//是否使用优惠卷 0否 1是
|
//是否使用优惠卷 0否 1是
|
||||||
private Integer isUseCoupon;
|
private Integer isUseCoupon;
|
||||||
//优惠卷id
|
//优惠卷id
|
||||||
@@ -109,5 +112,13 @@ public class TbActivate extends Model<TbActivate> {
|
|||||||
public void setUpdateTime(Date updateTime) {
|
public void setUpdateTime(Date updateTime) {
|
||||||
this.updateTime = updateTime;
|
this.updateTime = updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getGiftPoints() {
|
||||||
|
return giftPoints;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGiftPoints(Integer giftPoints) {
|
||||||
|
this.giftPoints = giftPoints;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user