package com.yeshi.buwan.videos.acFun;
|
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.JoinColumn;
|
import javax.persistence.ManyToOne;
|
import javax.persistence.Table;
|
|
@Entity
|
@Table(name="wk_acfun_video")
|
public class AcFunVideo {
|
|
@Id
|
private Long id;
|
private String videoTitle;
|
private String playUrl;
|
private String videoDesc;
|
private Integer videoNum;
|
private String videoTag;
|
private String videoThumbImg;
|
@ManyToOne
|
@JoinColumn(name="videoType_id")
|
private AcFunType videoType;
|
|
private Long updateTime;
|
|
private Boolean isStorage;
|
|
public Long getId() {
|
return id;
|
}
|
public void setId(Long id) {
|
this.id = id;
|
}
|
public String getVideoTitle() {
|
return videoTitle;
|
}
|
public void setVideoTitle(String videoTitle) {
|
this.videoTitle = videoTitle;
|
}
|
public String getPlayUrl() {
|
return playUrl;
|
}
|
|
public Long getUpdateTime() {
|
return updateTime;
|
}
|
public void setUpdateTime(Long updateTime) {
|
this.updateTime = updateTime;
|
}
|
public void setPlayUrl(String playUrl) {
|
this.playUrl = playUrl;
|
}
|
public String getVideoDesc() {
|
return videoDesc;
|
}
|
public void setVideoDesc(String videoDesc) {
|
this.videoDesc = videoDesc;
|
}
|
public Integer getVideoNum() {
|
return videoNum;
|
}
|
public void setVideoNum(Integer videoNum) {
|
this.videoNum = videoNum;
|
}
|
public String getVideoTag() {
|
return videoTag;
|
}
|
public void setVideoTag(String videoTag) {
|
this.videoTag = videoTag;
|
}
|
public String getVideoThumbImg() {
|
return videoThumbImg;
|
}
|
public void setVideoThumbImg(String videoThumbImg) {
|
this.videoThumbImg = videoThumbImg;
|
}
|
public AcFunType getVideoType() {
|
return videoType;
|
}
|
public void setVideoType(AcFunType videoType) {
|
this.videoType = videoType;
|
}
|
public Boolean getIsStorage() {
|
return isStorage;
|
}
|
public void setIsStorage(Boolean isStorage) {
|
this.isStorage = isStorage;
|
}
|
@Override
|
public String toString() {
|
return "AcFunVideo [id=" + id + ", videoTitle=" + videoTitle
|
+ ", playUrl=" + playUrl + ", videoDesc=" + videoDesc
|
+ ", videoNum=" + videoNum + ", videoTag=" + videoTag
|
+ ", videoThumbImg=" + videoThumbImg + ", videoType="
|
+ videoType + "]";
|
}
|
|
}
|