admin
2025-02-20 f537abe9f3646c739beaf15076246a2f71a347e9
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
44
45
46
47
48
49
50
51
52
53
54
package com.yeshi.buwan.dto.mq;
 
public class VideoDataChangeMQMsg {
 
 
    //视频信息
    public final static int TYPE_VIDEO_INFO = 1;
    //视频资源
    public final static int TYPE_VIDEO_RESOURCE = 2;
    //视频分类
    public final static int TYPE_VIDEO_CATEGORY = 3;
 
 
    //新增
    public final static String ACTION_ADD = "add";
    //修改
    public final static String ACTION_UPDATE = "update";
    //删除
    public final static String ACTION_DELETE = "delete";
 
    public VideoDataChangeMQMsg(int type, String videoIds, String action) {
        this.type = type;
        this.videoIds = videoIds;
        this.action = action;
    }
 
    private int type;
    private String videoIds;
    private String action;
 
    public int getType() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
 
    public String getVideoIds() {
        return videoIds;
    }
 
    public void setVideoIds(String videoIds) {
        this.videoIds = videoIds;
    }
 
    public String getAction() {
        return action;
    }
 
    public void setAction(String action) {
        this.action = action;
    }
}