package com.yeshi.buwan.videos.hanmi.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 = "videoHanmiMap")
|
public class VideoHanmiMap {
|
public VideoHanmiMap() {
|
}
|
|
@Id
|
private String videoId;
|
@Indexed
|
private String showId;
|
private Date createTime;
|
|
|
public String getVideoId() {
|
return videoId;
|
}
|
|
public void setVideoId(String videoId) {
|
this.videoId = videoId;
|
}
|
|
public String getShowId() {
|
return showId;
|
}
|
|
public void setShowId(String showId) {
|
this.showId = showId;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
}
|