| | |
| | | package com.yeshi.buwan.funtv.entity; |
| | | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.annotation.Transient; |
| | | import org.springframework.data.mongodb.core.index.Indexed; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.springframework.data.mongodb.core.mapping.Field; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | //风行视频 |
| | | public class FunTVVideo { |
| | | private long id; |
| | | @Document(collection = "funTvVideo") |
| | | public class FunTVVideo implements Serializable { |
| | | @Transient |
| | | private long id; |
| | | |
| | | public FunTVVideo(long id) { |
| | | this.id = id; |
| | | } |
| | | public FunTVVideo(long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public FunTVVideo() { |
| | | } |
| | | public FunTVVideo() { |
| | | } |
| | | |
| | | public long getId() { |
| | | return id; |
| | | } |
| | | public long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(long id) { |
| | | this.id = id; |
| | | } |
| | | public void setId(long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | private String vid; |
| | | private String playUrl; |
| | | private String playMUrl; |
| | | private int time;// 秒为单位 |
| | | private String desc;// 单集简介 |
| | | private int num; |
| | | private int order; |
| | | private String publishTime; |
| | | private String tag; |
| | | private String img; |
| | | private int type;// 视频类型 |
| | | private String title; |
| | | private String cate; |
| | | private String subCate; |
| | | private String updatetime;// 创建时间 |
| | | |
| | | public String getUpdatetime() { |
| | | return updatetime; |
| | | } |
| | | @Id |
| | | private String vid; |
| | | @Field |
| | | @Indexed |
| | | private String aid;//专辑ID |
| | | @Field |
| | | private String playUrl; |
| | | @Field |
| | | private String playMUrl; |
| | | @Field |
| | | private int time;// 秒为单位 |
| | | @Field |
| | | private String desc;// 单集简介 |
| | | @Field |
| | | private int num; |
| | | @Field |
| | | private int order; |
| | | @Field |
| | | private String publishTime; |
| | | @Field |
| | | private String tag; |
| | | @Field |
| | | private String img; |
| | | @Field |
| | | private int type;// 视频类型 |
| | | @Field |
| | | private String title; |
| | | @Field |
| | | private String cate; |
| | | @Field |
| | | private String subCate; |
| | | @Field |
| | | private String updatetime;// 创建时间 |
| | | |
| | | public void setUpdatetime(String updatetime) { |
| | | this.updatetime = updatetime; |
| | | } |
| | | |
| | | public String getCate() { |
| | | return cate; |
| | | } |
| | | public String getAid() { |
| | | return aid; |
| | | } |
| | | |
| | | public void setCate(String cate) { |
| | | this.cate = cate; |
| | | } |
| | | public void setAid(String aid) { |
| | | this.aid = aid; |
| | | } |
| | | |
| | | public String getSubCate() { |
| | | return subCate; |
| | | } |
| | | public String getUpdatetime() { |
| | | return updatetime; |
| | | } |
| | | |
| | | public void setSubCate(String subCate) { |
| | | this.subCate = subCate; |
| | | } |
| | | public void setUpdatetime(String updatetime) { |
| | | this.updatetime = updatetime; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | public String getCate() { |
| | | return cate; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | public void setCate(String cate) { |
| | | this.cate = cate; |
| | | } |
| | | |
| | | public String getTag() { |
| | | return tag; |
| | | } |
| | | public String getSubCate() { |
| | | return subCate; |
| | | } |
| | | |
| | | public void setTag(String tag) { |
| | | this.tag = tag; |
| | | } |
| | | public void setSubCate(String subCate) { |
| | | this.subCate = subCate; |
| | | } |
| | | |
| | | public String getImg() { |
| | | return img; |
| | | } |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setImg(String img) { |
| | | this.img = img; |
| | | } |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public int getType() { |
| | | return type; |
| | | } |
| | | public String getTag() { |
| | | return tag; |
| | | } |
| | | |
| | | public void setType(int type) { |
| | | this.type = type; |
| | | } |
| | | public void setTag(String tag) { |
| | | this.tag = tag; |
| | | } |
| | | |
| | | public String getVid() { |
| | | return vid; |
| | | } |
| | | public String getImg() { |
| | | return img; |
| | | } |
| | | |
| | | public void setVid(String vid) { |
| | | this.vid = vid; |
| | | } |
| | | public void setImg(String img) { |
| | | this.img = img; |
| | | } |
| | | |
| | | public String getPlayUrl() { |
| | | return playUrl; |
| | | } |
| | | public int getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setPlayUrl(String playUrl) { |
| | | this.playUrl = playUrl; |
| | | } |
| | | public void setType(int type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getPlayMUrl() { |
| | | return playMUrl; |
| | | } |
| | | public String getVid() { |
| | | return vid; |
| | | } |
| | | |
| | | public void setPlayMUrl(String playMUrl) { |
| | | this.playMUrl = playMUrl; |
| | | } |
| | | public void setVid(String vid) { |
| | | this.vid = vid; |
| | | } |
| | | |
| | | public int getTime() { |
| | | return time; |
| | | } |
| | | public String getPlayUrl() { |
| | | return playUrl; |
| | | } |
| | | |
| | | public void setTime(int time) { |
| | | this.time = time; |
| | | } |
| | | public void setPlayUrl(String playUrl) { |
| | | this.playUrl = playUrl; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | public String getPlayMUrl() { |
| | | return playMUrl; |
| | | } |
| | | |
| | | public void setDesc(String desc) { |
| | | this.desc = desc; |
| | | } |
| | | public void setPlayMUrl(String playMUrl) { |
| | | this.playMUrl = playMUrl; |
| | | } |
| | | |
| | | public int getNum() { |
| | | return num; |
| | | } |
| | | public int getTime() { |
| | | return time; |
| | | } |
| | | |
| | | public void setNum(int num) { |
| | | this.num = num; |
| | | } |
| | | public void setTime(int time) { |
| | | this.time = time; |
| | | } |
| | | |
| | | public int getOrder() { |
| | | return order; |
| | | } |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | |
| | | public void setOrder(int order) { |
| | | this.order = order; |
| | | } |
| | | public void setDesc(String desc) { |
| | | this.desc = desc; |
| | | } |
| | | |
| | | public String getPublishTime() { |
| | | return publishTime; |
| | | } |
| | | public int getNum() { |
| | | return num; |
| | | } |
| | | |
| | | public void setPublishTime(String publishTime) { |
| | | this.publishTime = publishTime; |
| | | } |
| | | public void setNum(int num) { |
| | | this.num = num; |
| | | } |
| | | |
| | | public int getOrder() { |
| | | return order; |
| | | } |
| | | |
| | | public void setOrder(int order) { |
| | | this.order = order; |
| | | } |
| | | |
| | | public String getPublishTime() { |
| | | return publishTime; |
| | | } |
| | | |
| | | public void setPublishTime(String publishTime) { |
| | | this.publishTime = publishTime; |
| | | } |
| | | |
| | | } |