Administrator
2018-10-30 c0c91fbda1ba601c4c8cb6d12fd43dfbe02eea5d
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
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;
 
    // Android链接
    @JoinColumn(name = "b_main_picture")
    @org.yeshi.utils.mybatis.Column(name = "b_main_picture")
    private String picture;
 
    // IOS跳转链接
    @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_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;
    }
 
}