| | |
| | | package com.yeshi.fanli.entity.bus.user.cloud;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.mongodb.core.index.Indexed;
|
| | | import org.springframework.data.mongodb.core.mapping.Document;
|
| | | import org.springframework.data.mongodb.core.mapping.Field;
|
| | |
|
| | | /**
|
| | | * 用户粉丝统计记录-每日
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Document(collection = "userCloudSendRecord")
|
| | | public class UserCloudSendRecord {
|
| | |
|
| | | public final static int SEND_WAY_AUTO = 1; // 官方自动
|
| | | public final static int SEND_WAY_MANUAL = 2; // 手动
|
| | |
|
| | | public final static String ORIGIN_STORE = "store"; // 商品库
|
| | | public final static String ORIGIN_EVALUATE = "evaluate"; // 发圈内容
|
| | |
|
| | | @Id
|
| | | private String id;
|
| | | @Field
|
| | | @Indexed
|
| | | private Long uid;
|
| | | @Field
|
| | | private Integer robotId;
|
| | | @Field
|
| | | private String wxId; // 微信id
|
| | | @Field
|
| | | @Indexed
|
| | | private String sendId; // 发送id
|
| | | @Field
|
| | | private String sendOrigin; // 内容来源
|
| | | @Field
|
| | | private String goodsId; // 商品id
|
| | | @Field
|
| | | private String goodsType; // 商品类型
|
| | | @Field
|
| | | private Integer sendWay; // 发送方式
|
| | | @Field
|
| | | private Date sendTime; // 发送时间
|
| | |
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public String getSendId() {
|
| | | return sendId;
|
| | | }
|
| | |
|
| | | public void setSendId(String sendId) {
|
| | | this.sendId = sendId;
|
| | | }
|
| | |
|
| | | public String getSendOrigin() {
|
| | | return sendOrigin;
|
| | | }
|
| | |
|
| | | public void setSendOrigin(String sendOrigin) {
|
| | | this.sendOrigin = sendOrigin;
|
| | | }
|
| | |
|
| | | public Integer getSendWay() {
|
| | | return sendWay;
|
| | | }
|
| | |
|
| | | public void setSendWay(Integer sendWay) {
|
| | | this.sendWay = sendWay;
|
| | | }
|
| | |
|
| | | public Date getSendTime() {
|
| | | return sendTime;
|
| | | }
|
| | |
|
| | | public void setSendTime(Date sendTime) {
|
| | | this.sendTime = sendTime;
|
| | | }
|
| | |
|
| | | public String getGoodsId() {
|
| | | return goodsId;
|
| | | }
|
| | |
|
| | | public void setGoodsId(String goodsId) {
|
| | | this.goodsId = goodsId;
|
| | | }
|
| | |
|
| | | public String getGoodsType() {
|
| | | return goodsType;
|
| | | }
|
| | |
|
| | | public void setGoodsType(String goodsType) {
|
| | | this.goodsType = goodsType;
|
| | | }
|
| | |
|
| | | public Integer getRobotId() {
|
| | | return robotId;
|
| | | }
|
| | |
|
| | | public void setRobotId(Integer robotId) {
|
| | | this.robotId = robotId;
|
| | | }
|
| | |
|
| | | public String getWxId() {
|
| | | return wxId;
|
| | | }
|
| | |
|
| | | public void setWxId(String wxId) {
|
| | | this.wxId = wxId;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user.cloud; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.index.Indexed; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.springframework.data.mongodb.core.mapping.Field; |
| | | |
| | | /** |
| | | * 用户粉丝统计记录-每日 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Document(collection = "userCloudSendRecord") |
| | | public class UserCloudSendRecord { |
| | | |
| | | public final static int SEND_WAY_AUTO = 1; // 官方自动 |
| | | public final static int SEND_WAY_MANUAL = 2; // 手动 |
| | | |
| | | public final static String ORIGIN_STORE = "store"; // 商品库 |
| | | public final static String ORIGIN_EVALUATE = "evaluate"; // 发圈内容 |
| | | |
| | | @Id |
| | | private String id; |
| | | @Field |
| | | @Indexed |
| | | private Long uid; |
| | | @Field |
| | | private Integer robotId; |
| | | @Field |
| | | private String wxId; // 微信id |
| | | @Field |
| | | @Indexed |
| | | private String sendId; // 发送id |
| | | @Field |
| | | private String sendOrigin; // 内容来源 |
| | | @Field |
| | | private String goodsId; // 商品id |
| | | @Field |
| | | private String goodsType; // 商品类型 |
| | | @Field |
| | | private Integer sendWay; // 发送方式 |
| | | @Field |
| | | private Date sendTime; // 发送时间 |
| | | |
| | | |
| | | private String nickName;// 昵称 |
| | | private String portrait;// 头像 |
| | | |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public String getSendId() { |
| | | return sendId; |
| | | } |
| | | |
| | | public void setSendId(String sendId) { |
| | | this.sendId = sendId; |
| | | } |
| | | |
| | | public String getSendOrigin() { |
| | | return sendOrigin; |
| | | } |
| | | |
| | | public void setSendOrigin(String sendOrigin) { |
| | | this.sendOrigin = sendOrigin; |
| | | } |
| | | |
| | | public Integer getSendWay() { |
| | | return sendWay; |
| | | } |
| | | |
| | | public void setSendWay(Integer sendWay) { |
| | | this.sendWay = sendWay; |
| | | } |
| | | |
| | | public Date getSendTime() { |
| | | return sendTime; |
| | | } |
| | | |
| | | public void setSendTime(Date sendTime) { |
| | | this.sendTime = sendTime; |
| | | } |
| | | |
| | | public String getGoodsId() { |
| | | return goodsId; |
| | | } |
| | | |
| | | public void setGoodsId(String goodsId) { |
| | | this.goodsId = goodsId; |
| | | } |
| | | |
| | | public String getGoodsType() { |
| | | return goodsType; |
| | | } |
| | | |
| | | public void setGoodsType(String goodsType) { |
| | | this.goodsType = goodsType; |
| | | } |
| | | |
| | | public Integer getRobotId() { |
| | | return robotId; |
| | | } |
| | | |
| | | public void setRobotId(Integer robotId) { |
| | | this.robotId = robotId; |
| | | } |
| | | |
| | | public String getWxId() { |
| | | return wxId; |
| | | } |
| | | |
| | | public void setWxId(String wxId) { |
| | | this.wxId = wxId; |
| | | } |
| | | |
| | | public String getNickName() { |
| | | return nickName; |
| | | } |
| | | |
| | | public void setNickName(String nickName) { |
| | | this.nickName = nickName; |
| | | } |
| | | |
| | | public String getPortrait() { |
| | | return portrait; |
| | | } |
| | | |
| | | public void setPortrait(String portrait) { |
| | | this.portrait = portrait; |
| | | } |
| | | |
| | | } |