| | |
| | | package com.yeshi.fanli.entity.bus.user.cloud;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.mongodb.core.mapping.Document;
|
| | | import org.springframework.data.mongodb.core.mapping.Field;
|
| | |
|
| | | @Document(collection = "userCloudSendContent")
|
| | | public class UserCloudSendContent {
|
| | |
|
| | | public final static String TYPE_CIRCLE = "circle"; // 朋友圈
|
| | | public final static String TYPE_GROUP = "group"; // 微信群
|
| | |
|
| | | @Id
|
| | | private String id;
|
| | | @Field
|
| | | private String pid;
|
| | | @Field
|
| | | private Long uid;
|
| | | @Field
|
| | | private String type;
|
| | | @Field
|
| | | private String groupId; // 群id
|
| | | @Field
|
| | | private String title;
|
| | | @Field
|
| | | private String videoUrl;
|
| | | @Field
|
| | | private String picUrl;
|
| | | @Field
|
| | | private String picUrlUpload;
|
| | | @Field
|
| | | private List<String> comments;
|
| | | @Field
|
| | | private boolean state; // 是否发送成功
|
| | | @Field
|
| | | private Date createTime; // 发送时间
|
| | |
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getPid() {
|
| | | return pid;
|
| | | }
|
| | |
|
| | | public void setPid(String pid) {
|
| | | this.pid = pid;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public String getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getGroupId() {
|
| | | return groupId;
|
| | | }
|
| | |
|
| | | public void setGroupId(String groupId) {
|
| | | this.groupId = groupId;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public String getVideoUrl() {
|
| | | return videoUrl;
|
| | | }
|
| | |
|
| | | public void setVideoUrl(String videoUrl) {
|
| | | this.videoUrl = videoUrl;
|
| | | }
|
| | |
|
| | | public String getPicUrl() {
|
| | | return picUrl;
|
| | | }
|
| | |
|
| | | public void setPicUrl(String picUrl) {
|
| | | this.picUrl = picUrl;
|
| | | }
|
| | |
|
| | | public List<String> getComments() {
|
| | | return comments;
|
| | | }
|
| | |
|
| | | public void setComments(List<String> comments) {
|
| | | this.comments = comments;
|
| | | }
|
| | |
|
| | | public boolean isState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(boolean state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public String getPicUrlUpload() {
|
| | | return picUrlUpload;
|
| | | }
|
| | |
|
| | | public void setPicUrlUpload(String picUrlUpload) {
|
| | | this.picUrlUpload = picUrlUpload;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user.cloud; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.springframework.data.mongodb.core.mapping.Field; |
| | | |
| | | @Document(collection = "userCloudSendContent") |
| | | public class UserCloudSendContent { |
| | | |
| | | public final static String TYPE_CIRCLE = "circle"; // 朋友圈 |
| | | public final static String TYPE_GROUP = "group"; // 微信群 |
| | | |
| | | @Id |
| | | private String id; |
| | | @Field |
| | | private String pid; |
| | | @Field |
| | | private Long uid; |
| | | @Field |
| | | private String type; |
| | | @Field |
| | | private String groupId; // 群id |
| | | @Field |
| | | private String title; |
| | | @Field |
| | | private String videoUrl; |
| | | @Field |
| | | private String picUrl; |
| | | @Field |
| | | private String picUrlUpload; |
| | | @Field |
| | | private List<String> comments; |
| | | @Field |
| | | private boolean state; // 是否发送成功 |
| | | @Field |
| | | private Date createTime; // 发送时间 |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(String pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getGroupId() { |
| | | return groupId; |
| | | } |
| | | |
| | | public void setGroupId(String groupId) { |
| | | this.groupId = groupId; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getVideoUrl() { |
| | | return videoUrl; |
| | | } |
| | | |
| | | public void setVideoUrl(String videoUrl) { |
| | | this.videoUrl = videoUrl; |
| | | } |
| | | |
| | | public String getPicUrl() { |
| | | return picUrl; |
| | | } |
| | | |
| | | public void setPicUrl(String picUrl) { |
| | | this.picUrl = picUrl; |
| | | } |
| | | |
| | | public List<String> getComments() { |
| | | return comments; |
| | | } |
| | | |
| | | public void setComments(List<String> comments) { |
| | | this.comments = comments; |
| | | } |
| | | |
| | | public boolean isState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(boolean state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public String getPicUrlUpload() { |
| | | return picUrlUpload; |
| | | } |
| | | |
| | | public void setPicUrlUpload(String picUrlUpload) { |
| | | this.picUrlUpload = picUrlUpload; |
| | | } |
| | | |
| | | } |