admin
2019-06-21 7f943e54f259c7ff69c7591dbd6803171126b01e
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
package com.yeshi.fanli.entity.bus.activity;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.yeshi.fanli.dto.dynamic.ActivityUserRule;
 
/**
 * 动态用户列表
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_activity_rule_user")
public class ActivityRuleUser {
 
    public final static int RULE_DEFAULT = 1;// 默认
    public final static int RULE_HOT = 100;
    public final static int RULE_HOT_JUJIA = 100 + 4;
    public final static int RULE_HOT_MEISHI = 100 + 6;
    public final static int RULE_HOT_MUYIN = 100 + 2;
    public final static int RULE_HOT_MEIZHUANG = 100 + 3;
    public final static int RULE_HOT_NVZHUANG = 100 + 1;
    public final static int RULE_HOT_SHUMAJIADIAN = 100 + 8;
    public final static int RULE_HOT_WENYUCHEPIN = 100 + 7;
    public final static int RULE_HOT_NEIYI = 100 + 10;
    public final static int RULE_HOT_JIAZHUANGJIAFANG = 100 + 14;
    public final static int RULE_HOT_XIEPIN = 100 + 5;
    public final static int RULE_HOT_NANZHUANG = 100 + 9;
    public final static int RULE_HOT_PEISHI = 100 + 12;
    public final static int RULE_HOT_HUWAI = 100 + 13;
    public final static int RULE_HOT_XIANGBAO = 100 + 11;
    public final static int RULE_HAOHUO = 200;
    public final static int RULE_HAODIAN = 300;
 
    public static ActivityUserRule[] RULES = new ActivityUserRule[] { new ActivityUserRule(RULE_DEFAULT, "默认"),
            new ActivityUserRule(RULE_HOT, "单品热销"), new ActivityUserRule(RULE_HOT_JUJIA, "居家百货"),
            new ActivityUserRule(RULE_HOT_MEISHI, "美食"), new ActivityUserRule(RULE_HOT_MUYIN, "母婴"),
            new ActivityUserRule(RULE_HOT_MEIZHUANG, "美妆"), new ActivityUserRule(RULE_HOT_NVZHUANG, "女装"),
            new ActivityUserRule(RULE_HOT_SHUMAJIADIAN, "数码家电"), new ActivityUserRule(RULE_HOT_WENYUCHEPIN, "文娱车品"),
            new ActivityUserRule(RULE_HOT_NEIYI, "内衣"), new ActivityUserRule(RULE_HOT_JIAZHUANGJIAFANG, "家装家纺"),
            new ActivityUserRule(RULE_HOT_XIEPIN, "鞋品"), new ActivityUserRule(RULE_HOT_NANZHUANG, "男装"),
            new ActivityUserRule(RULE_HOT_PEISHI, "配饰"), new ActivityUserRule(RULE_HOT_HUWAI, "户外"),
            new ActivityUserRule(RULE_HOT_XIANGBAO, "箱包"), new ActivityUserRule(RULE_HAOHUO, "好货推荐"), };
 
    @Column(name = "aru_id")
    private Long id;
    @Column(name = "aru_id_user_id")
    private ActivityUser activityUser;
    @Column(name = "aru_rule_code")
    private Integer ruleCode;// 规则编码
    @Column(name = "aru_order_by")
    private Integer orderBy;
    @Column(name = "aru_create_time")
    private Date createTime;
 
    private ActivityUserRule rule;// 身份
 
    public ActivityUserRule getRule() {
        return rule;
    }
 
    public void setRule(ActivityUserRule rule) {
        this.rule = rule;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public ActivityUser getActivityUser() {
        return activityUser;
    }
 
    public void setActivityUser(ActivityUser activityUser) {
        this.activityUser = activityUser;
    }
 
    public Integer getRuleCode() {
        return ruleCode;
    }
 
    public void setRuleCode(Integer ruleCode) {
        this.ruleCode = ruleCode;
    }
 
    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;
    }
 
}