yujian
2020-01-08 81ed418ee16df24b768a3f78cd22d02f020d6314
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
package com.yeshi.fanli.entity.bus.homemodule;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.yeshi.fanli.entity.AppVersionInfo;
 
/**
 * 广告活动版本控制(包含 Banner与专题)
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_ad_activity_version_control")
public class AdActivityVersionControl {
 
    public enum AdActivityType {
        banner,// 轮播图
        special,// 专题
        floatAD,// 悬浮图
        notification,// 小黄条
        helpClass,// 帮助中心分类
        helpCenter;// 帮助中心文档
    }
 
    @Column(name = "vc_id")
    private Long id;
    @Column(name = "vc_type")
    private AdActivityType type;// 广告活动类型
    @Column(name = "vc_source_id")
    private Long sourceId;// 轮播图ID或者专题Id
    @Column(name = "vc_version")
    private AppVersionInfo version;// 版本号
    @Column(name = "vc_create_time")
    private Date createTime;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public AdActivityType getType() {
        return type;
    }
 
    public void setType(AdActivityType type) {
        this.type = type;
    }
 
    public Long getSourceId() {
        return sourceId;
    }
 
    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }
 
    public AppVersionInfo getVersion() {
        return version;
    }
 
    public void setVersion(AppVersionInfo version) {
        this.version = version;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}