连续礼包补充

back_recharge
duhui 2021-12-09 11:44:19 +08:00
parent c555ca977f
commit 32a5f49782
1 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,7 @@
package com.ljsd.jieling.logic.activity.event;
import org.springframework.data.domain.PageRequest;
/**
* @Author hj
* @Date 2021/5/26 11:05
@ -30,7 +32,11 @@ public class SuperBoxEvent implements IEvent {
*
*/
private int num;
/**
*
* 1rmb2
*/
private int type;
public SuperBoxEvent(int userId, int giftId) {
this.userId = userId;
@ -38,10 +44,19 @@ public class SuperBoxEvent implements IEvent {
this.num = 1;
}
public SuperBoxEvent(int userId, int giftId, int num) {
public SuperBoxEvent(int userId, int giftId, int num, int type) {
this.userId = userId;
this.giftId = giftId;
this.num = num;
this.type = type;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public int getUserId() {