peng
3 天以前 aac2321d1cf5536f7ea03f30d55a4aba30fbf710
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package cn.lili.modules.lmk.event.event;
 
import org.springframework.context.ApplicationEvent;
 
import java.time.Clock;
 
/**
 * 缓存视频评论数量事件
 *
 * @author:xp
 * @date:2025/6/25 14:52
 */
public class VideoCommentNumCacheEvent extends ApplicationEvent {
 
    /**
     * 视频id
     */
    private String videoId;
 
 
 
 
    public VideoCommentNumCacheEvent(Object source) {
        super(source);
    }
 
    public VideoCommentNumCacheEvent(Object source, Clock clock) {
        super(source, clock);
    }
 
    public String getVideoId() {
        return videoId;
    }
 
    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }
 
    public VideoCommentNumCacheEvent(Object source, String videoId) {
        super(source);
        this.videoId = videoId;
    }
}