admin
2019-03-14 eed607d87b2eee1f09b4a28da614f3ad0b46601d
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.yeshi.fanli.entity.bus.homemodule;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;
import javax.persistence.Transient;
 
import com.yeshi.fanli.entity.system.BusinessSystem;
 
/**
 * 专题标识管理
 * 
 * @author yj
 *
 * @date 2018年10月23日
 */
@Entity
@Table(name = "yeshi_ec_special_card")
@org.yeshi.utils.mybatis.Table("yeshi_ec_special_card")
public class SpecialCard implements Serializable{
 
    private static final long serialVersionUID = 1L;
    
 
    @Id
    @Column(name = "cd_id")
    @GeneratedValue(strategy = GenerationType.AUTO)
    @org.yeshi.utils.mybatis.Column(name = "cd_id")
    private Long id;
    
    // 名称
    @JoinColumn(name = "cd_name")
    @org.yeshi.utils.mybatis.Column(name = "cd_name")
    private String name;
 
    // 匹配标识
    @JoinColumn(name = "cd_card")
    @org.yeshi.utils.mybatis.Column(name = "cd_card")
    private String card; 
    
    // 匹配标识
    @JoinColumn(name = "cd_state")
    @org.yeshi.utils.mybatis.Column(name = "cd_state")
    private Integer state; 
        
    // 创建时间
    @JoinColumn(name = "cd_createtime")
    @org.yeshi.utils.mybatis.Column(name = "cd_createtime")
    private Date createtime; 
 
    // 更新时间(修改时间)
    @JoinColumn(name = "cd_updatetime")
    @org.yeshi.utils.mybatis.Column(name = "cd_updatetime")
    private Date updatetime;
    
    @Transient
    private Long totalSpecial;
    
    @Transient // 系统关联列表
    private List<BusinessSystem> systemList;
    
    
 
    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 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 List<BusinessSystem> getSystemList() {
        return systemList;
    }
 
    public void setSystemList(List<BusinessSystem> systemList) {
        this.systemList = systemList;
    }
 
    public Long getTotalSpecial() {
        return totalSpecial;
    }
 
    public void setTotalSpecial(Long totalSpecial) {
        this.totalSpecial = totalSpecial;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    } 
    
}