admin
2021-05-08 56481656c7de11cdca69c1a7dd69db176ffd9ecd
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
package com.yeshi.buwan.domain;
 
import com.yeshi.buwan.domain.user.LoginUser;
 
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
 
/**
 * 收藏
 * 
 * @author Administrator
 * 
 */
@Entity
public class Collection {
    private String id;
    private UserInfo user;
    private LoginUser loginUser;
    private VideoInfo video;
    private String createtime;
    private String thirdType;// 0-本地文件 其他网络文件
 
    
    
    public LoginUser getLoginUser() {
        return loginUser;
    }
 
    public void setLoginUser(LoginUser loginUser) {
        this.loginUser = loginUser;
    }
 
    public String getThirdType() {
        return thirdType;
    }
 
    public void setThirdType(String thirdType) {
        this.thirdType = thirdType;
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    @ManyToOne
    public UserInfo getUser() {
        return user;
    }
 
    public void setUser(UserInfo user) {
        this.user = user;
    }
 
    @ManyToOne
    public VideoInfo getVideo() {
        return video;
    }
 
    public void setVideo(VideoInfo video) {
        this.video = video;
    }
 
    public String getCreatetime() {
        return createtime;
    }
 
    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
}