yujian
2020-05-17 de4110d3d3944ffcd797fd8c43f0d455cc731f84
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
package com.yeshi.fanli.entity.bus.homemodule;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 * 分享信息
 * 
 */
@Table("yeshi_ec_common_share_info")
public class CommonShareInfo {
 
    public enum CommonShareInfoEnum {
        special("专题"), banner("轮播图");
        private final String desc;
 
        private CommonShareInfoEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
 
    @Column(name = "csi_id")
    private Long id;
 
    // 相关id
    @Column(name = "csi_pid")
    private Long pid;
 
    // 类型
    @Column(name = "csi_type")
    private CommonShareInfoEnum type;
 
    // 是否转链
    @Column(name = "csi_need_spin")
    private Boolean needSpin;
 
    // 评论语
    @Column(name = "csi_comment")
    private String comment;
 
    // 创建时间
    @Column(name = "csi_createtime")
    private Date createTime;
 
    // 更新时间
    @Column(name = "csi_updatetime")
    private Date updateTime;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getPid() {
        return pid;
    }
 
    public void setPid(Long pid) {
        this.pid = pid;
    }
 
    public CommonShareInfoEnum getType() {
        return type;
    }
 
    public void setType(CommonShareInfoEnum type) {
        this.type = type;
    }
 
    public Boolean getNeedSpin() {
        return needSpin;
    }
 
    public void setNeedSpin(Boolean needSpin) {
        this.needSpin = needSpin;
    }
 
    public String getComment() {
        return comment;
    }
 
    public void setComment(String comment) {
        this.comment = comment;
    }
 
    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;
    }
 
}