25 lines
628 B
Java
25 lines
628 B
Java
package com.tailbet.event;
|
|
|
|
import lombok.Getter;
|
|
import org.springframework.context.ApplicationEvent;
|
|
|
|
/**
|
|
* 红包领完事件,触发开奖结算
|
|
*/
|
|
@Getter
|
|
public class RedPacketFinishedEvent extends ApplicationEvent {
|
|
|
|
private final Long roundId;
|
|
private final Long groupId;
|
|
private final Long rpId;
|
|
private final Integer luckyDigit;
|
|
|
|
public RedPacketFinishedEvent(Object source, Long roundId, Long groupId, Long rpId, Integer luckyDigit) {
|
|
super(source);
|
|
this.roundId = roundId;
|
|
this.groupId = groupId;
|
|
this.rpId = rpId;
|
|
this.luckyDigit = luckyDigit;
|
|
}
|
|
}
|