连续礼包补充
parent
c555ca977f
commit
32a5f49782
|
@ -1,5 +1,7 @@
|
||||||
package com.ljsd.jieling.logic.activity.event;
|
package com.ljsd.jieling.logic.activity.event;
|
||||||
|
|
||||||
|
import org.springframework.data.domain.PageRequest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author hj
|
* @Author hj
|
||||||
* @Date 2021/5/26 11:05
|
* @Date 2021/5/26 11:05
|
||||||
|
@ -30,7 +32,11 @@ public class SuperBoxEvent implements IEvent {
|
||||||
* 数量
|
* 数量
|
||||||
*/
|
*/
|
||||||
private int num;
|
private int num;
|
||||||
|
/**
|
||||||
|
* 礼包类别
|
||||||
|
* 1:rmb礼包,2:妖晶礼包
|
||||||
|
*/
|
||||||
|
private int type;
|
||||||
|
|
||||||
public SuperBoxEvent(int userId, int giftId) {
|
public SuperBoxEvent(int userId, int giftId) {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
|
@ -38,10 +44,19 @@ public class SuperBoxEvent implements IEvent {
|
||||||
this.num = 1;
|
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.userId = userId;
|
||||||
this.giftId = giftId;
|
this.giftId = giftId;
|
||||||
this.num = num;
|
this.num = num;
|
||||||
|
this.type = type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setType(int type) {
|
||||||
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getUserId() {
|
public int getUserId() {
|
||||||
|
|
Loading…
Reference in New Issue