package com.yeshi.buwan.videos.bilibili.entity;
|
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.index.Indexed;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.util.Date;
|
|
@Document(collection = "bilibiliSearchVideoMap")
|
public class BilibiliSearchVideoMap {
|
@Id
|
private String videoId;
|
@Indexed
|
private Long mediaId;
|
|
private String vid;//bilibili的视频ID
|
|
private Date createTime;
|
|
public String getVideoId() {
|
return videoId;
|
}
|
|
public void setVideoId(String videoId) {
|
this.videoId = videoId;
|
}
|
|
public Long getMediaId() {
|
return mediaId;
|
}
|
|
public void setMediaId(Long mediaId) {
|
this.mediaId = mediaId;
|
}
|
|
public String getVid() {
|
return vid;
|
}
|
|
public void setVid(String vid) {
|
this.vid = vid;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
}
|