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;
|
}
|
}
|