package com.yeshi.buwan.videos.hanmi.entity;
|
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.util.Date;
|
|
@Document(collection = "hanmiShowEpisode")
|
public class HanmiShowEpisode {
|
|
@Id
|
private String id;
|
private String showId;
|
private int orderBy;
|
private String tag;
|
private String playUrl;
|
private Date createTime;
|
private Date updateTime;
|
|
|
public static String createId(String showId, String tag) {
|
return showId + "#" + tag;
|
}
|
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getShowId() {
|
return showId;
|
}
|
|
public void setShowId(String showId) {
|
this.showId = showId;
|
}
|
|
public int getOrderBy() {
|
return orderBy;
|
}
|
|
public void setOrderBy(int orderBy) {
|
this.orderBy = orderBy;
|
}
|
|
public String getTag() {
|
return tag;
|
}
|
|
public void setTag(String tag) {
|
this.tag = tag;
|
}
|
|
public String getPlayUrl() {
|
return playUrl;
|
}
|
|
public void setPlayUrl(String playUrl) {
|
this.playUrl = playUrl;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|