admin
2021-08-27 8fee151ffae0c3818694b7318583814bf92663e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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 + "]";
    }
    
}