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;
|
}
|
|
}
|