| | |
| | | package com.yeshi.buwan.domain; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.ManyToOne; |
| | |
| | | */ |
| | | @Entity |
| | | public class HomeVideo implements Serializable { |
| | | |
| | | //本地视频 |
| | | public final static int FROM_TYPE_LOCAL = 0; |
| | | //全网搜 |
| | | public final static int FROM_TYPE_INTERNET = 1; |
| | | //短视频 |
| | | public final static int FROM_TYPE_SHORT = 2; |
| | | |
| | | |
| | | public HomeVideo(String id) { |
| | | this.id = id; |
| | | } |
| | |
| | | private int orderby; |
| | | @Expose |
| | | private Boolean bigPicture;//是否为大图显示 |
| | | |
| | | @Expose |
| | | private String videoId; |
| | | |
| | | private Integer fromType;//0-本地库 1-全网搜 |
| | | |
| | | private String videoName; |
| | | |
| | | private Date videoUpdateTime; |
| | | |
| | | |
| | | public String getVideoName() { |
| | | return videoName; |
| | | } |
| | | |
| | | public void setVideoName(String videoName) { |
| | | this.videoName = videoName; |
| | | } |
| | | |
| | | public Date getVideoUpdateTime() { |
| | | return videoUpdateTime; |
| | | } |
| | | |
| | | public void setVideoUpdateTime(Date videoUpdateTime) { |
| | | this.videoUpdateTime = videoUpdateTime; |
| | | } |
| | | |
| | | public String getVideoId() { |
| | | return videoId; |
| | | } |
| | | |
| | | public void setVideoId(String videoId) { |
| | | this.videoId = videoId; |
| | | } |
| | | |
| | | public Boolean getBigPicture() { |
| | | return bigPicture; |
| | |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public Integer getFromType() { |
| | | return fromType; |
| | | } |
| | | |
| | | public void setFromType(Integer fromType) { |
| | | this.fromType = fromType; |
| | | } |
| | | } |