admin
2021-01-04 aa6ef62aef83e277d4171df1d9f0803f91738216
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
package com.newvideo.domain.shop;
 
import java.util.List;
 
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;
 
import com.google.gson.annotations.Expose;
import com.newvideo.domain.LoginUser;
 
@Entity
@Table(name = "`yeshi_shop_taobao_item_buwan`")
public class ShopGoodsItem {
    @Expose
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private long id;
    @Expose
    private LoginUser loginUser;
    @Expose
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "itemid")
    private TaoBaoItem item;
    @Expose
    private long createtime;
    private int orderby;
    @Expose
    private int collectcount;
    @Expose
    private int commentcount;
    @Expose
    private String title;
    @Expose
    public List<TaoBaoItem> recommendList;
    @Expose
    private boolean collect;
    
    private boolean show;
 
    public boolean isShow() {
        return show;
    }
 
    public void setShow(boolean show) {
        this.show = show;
    }
 
    public boolean isCollect() {
        return collect;
    }
 
    public void setCollect(boolean collect) {
        this.collect = collect;
    }
 
    public List<TaoBaoItem> getRecommendList() {
        return recommendList;
    }
 
    public void setRecommendList(List<TaoBaoItem> recommendList) {
        this.recommendList = recommendList;
    }
 
    public LoginUser getLoginUser() {
        return loginUser;
    }
 
    public void setLoginUser(LoginUser loginUser) {
        this.loginUser = loginUser;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public int getCollectcount() {
        return collectcount;
    }
 
    public void setCollectcount(int collectcount) {
        this.collectcount = collectcount;
    }
 
    public int getCommentcount() {
        return commentcount;
    }
 
    public void setCommentcount(int commentcount) {
        this.commentcount = commentcount;
    }
 
    public int getOrderby() {
        return orderby;
    }
 
    public void setOrderby(int orderby) {
        this.orderby = orderby;
    }
 
    public long getId() {
        return id;
    }
 
    public void setId(long id) {
        this.id = id;
    }
 
    public TaoBaoItem getItem() {
        return item;
    }
 
    public void setItem(TaoBaoItem item) {
        this.item = item;
    }
 
    public long getCreatetime() {
        return createtime;
    }
 
    public void setCreatetime(long createtime) {
        this.createtime = createtime;
    }
 
}