admin
2021-09-24 f788607ff771a47bc60d6a86e00b3433c40f3d2c
src/main/java/com/yeshi/buwan/domain/HomeVideo.java
@@ -1,6 +1,7 @@
package com.yeshi.buwan.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
@@ -14,6 +15,15 @@
 */
@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;
    }
@@ -34,6 +44,40 @@
    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;
@@ -123,4 +167,11 @@
        this.picture = picture;
    }
    public Integer getFromType() {
        return fromType;
    }
    public void setFromType(Integer fromType) {
        this.fromType = fromType;
    }
}