yujian
2019-01-22 88b54772dbcf5ecab1e2316e4e4626ac901b8908
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
package com.yeshi.fanli.entity.bus.homemodule;
 
import java.io.Serializable;
import java.util.Date;
 
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.yeshi.fanli.entity.common.JumpDetailV2;
 
/**
 * 专题管理
 * 
 * @author yj
 *
 * @date 2018年10月23日
 */
@Entity
@Table(name = "yeshi_ec_special")
@org.yeshi.utils.mybatis.Table("yeshi_ec_special")
public class Special implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "b_id")
    @GeneratedValue(strategy = GenerationType.AUTO)
    @org.yeshi.utils.mybatis.Column(name = "b_id")
    private Long id;
 
    // 名称
    @JoinColumn(name = "b_name")
    @org.yeshi.utils.mybatis.Column(name = "b_name")
    private String name;
 
    // 唯一标识
    @JoinColumn(name = "b_card")
    @org.yeshi.utils.mybatis.Column(name = "b_card")
    private String card;
 
    // 标识管理id
    @JoinColumn(name = "b_card_id")
    @org.yeshi.utils.mybatis.Column(name = "b_card_id")
    private Long cardId;
    
        
    // 主图
    @JoinColumn(name = "b_main_picture")
    @org.yeshi.utils.mybatis.Column(name = "b_main_picture")
    private String picture;
    
    // 附图
    @JoinColumn(name = "b_sub_picture")
    @org.yeshi.utils.mybatis.Column(name = "b_sub_picture")
    private String subPicture;
 
    // 跳转详情
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "b_jumpid")
    @org.yeshi.utils.mybatis.Column(name = "b_jumpid")
    private JumpDetailV2 jumpDetail;
 
    // 跳转参数
    @JoinColumn(name = "b_params")
    @org.yeshi.utils.mybatis.Column(name = "b_params")
    private String params;
 
    // 排序
    @JoinColumn(name = "b_orderby")
    @org.yeshi.utils.mybatis.Column(name = "b_orderby")
    private Integer orderby;
 
    // 状态
    @JoinColumn(name = "b_state")
    @org.yeshi.utils.mybatis.Column(name = "b_state")
    private Long state;
    
    // 显示类型
    @JoinColumn(name = "b_show_type")
    @org.yeshi.utils.mybatis.Column(name = "b_show_type")
    private String showType;
    
    // 备注
    @JoinColumn(name = "b_remark")
    @org.yeshi.utils.mybatis.Column(name = "b_remark")
    private String remark;
    
    // 创建时间
    @JoinColumn(name = "b_createtime")
    @org.yeshi.utils.mybatis.Column(name = "b_createtime")
    private Date createtime;
 
    // 更新时间
    @JoinColumn(name = "b_updatetime")
    @org.yeshi.utils.mybatis.Column(name = "b_updatetime")
    private Date updatetime;
    
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getCard() {
        return card;
    }
 
    public void setCard(String card) {
        this.card = card;
    }
 
 
    public String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
 
    public String getSubPicture() {
        return subPicture;
    }
 
    public void setSubPicture(String subPicture) {
        this.subPicture = subPicture;
    }
 
    public JumpDetailV2 getJumpDetail() {
        return jumpDetail;
    }
 
    public void setJumpDetail(JumpDetailV2 jumpDetail) {
        this.jumpDetail = jumpDetail;
    }
 
    public String getParams() {
        return params;
    }
 
    public void setParams(String params) {
        this.params = params;
    }
 
    public Integer getOrderby() {
        return orderby;
    }
 
    public void setOrderby(Integer orderby) {
        this.orderby = orderby;
    }
 
    public Date getCreatetime() {
        return createtime;
    }
 
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
 
    public Date getUpdatetime() {
        return updatetime;
    }
 
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
 
    public Long getCardId() {
        return cardId;
    }
 
    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }
 
    public Long getState() {
        return state;
    }
 
    public void setState(Long state) {
        this.state = state;
    }
 
    public String getShowType() {
        return showType;
    }
 
    public void setShowType(String showType) {
        this.showType = showType;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
}