From 19533a17aa55fafc70d0a385928e785cb50e1ebc Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期五, 30 七月 2021 02:05:14 +0800 Subject: [PATCH] 爱奇艺视频更新 --- src/main/java/com/yeshi/buwan/domain/HomeVideo.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/domain/HomeVideo.java b/src/main/java/com/yeshi/buwan/domain/HomeVideo.java index 48ef0d9..634653f 100644 --- a/src/main/java/com/yeshi/buwan/domain/HomeVideo.java +++ b/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,11 @@ */ @Entity public class HomeVideo implements Serializable { + + public final static int FROM_TYPE_LOCAL = 0; + public final static int FROM_TYPE_INTERNET = 1; + + public HomeVideo(String id) { this.id = id; } @@ -34,6 +40,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 +163,11 @@ this.picture = picture; } + public Integer getFromType() { + return fromType; + } + + public void setFromType(Integer fromType) { + this.fromType = fromType; + } } -- Gitblit v1.8.0