admin
2021-04-02 d551bef5e2b09bd98681cf97807988c9863e66fc
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
package com.yeshi.buwan.domain;
 
import com.yeshi.buwan.domain.system.DetailSystem;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
 
/**
 * 网页视频
 * 
 * @author Administrator
 *
 */
@Entity
@Table(name = "wk_video_banquan_webvideo")
public class WebVideo {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private String id;
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "videoid")
    private VideoInfo info;
    @Column(name = "createtime")
    private String createtime;
    @Column(name = "name")
    private String name;
    @Column(name = "`show`")
    private boolean show;// 是否显示版权
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "detailsystemid")
    private DetailSystem detailSystem;// 详细的平台
 
    public boolean isShow() {
        return show;
    }
 
    public void setShow(boolean show) {
        this.show = show;
    }
 
    public DetailSystem getDetailSystem() {
        return detailSystem;
    }
 
    public void setDetailSystem(DetailSystem detailSystem) {
        this.detailSystem = detailSystem;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public VideoInfo getInfo() {
        return info;
    }
 
    public void setInfo(VideoInfo info) {
        this.info = info;
    }
 
    public String getCreatetime() {
        return createtime;
    }
 
    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
 
}