|
@@ -0,0 +1,108 @@
|
|
|
+package com.macro.mall.portal.domain;
|
|
|
+
|
|
|
+import org.springframework.data.annotation.Id;
|
|
|
+import org.springframework.data.mongodb.core.index.Indexed;
|
|
|
+import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 会员关注的品牌
|
|
|
+ * Created by macro on 2018/8/2.
|
|
|
+ */
|
|
|
+@Document
|
|
|
+public class MemberBrandAttention {
|
|
|
+ @Id
|
|
|
+ private String id;
|
|
|
+ @Indexed
|
|
|
+ private Long memberId;
|
|
|
+ private String memberNickname;
|
|
|
+ private String memberIcon;
|
|
|
+ @Indexed
|
|
|
+ private Long brandId;
|
|
|
+ private String brandName;
|
|
|
+ private String brandLogo;
|
|
|
+ private String brandCity;
|
|
|
+ private Integer brandAttentionCount;
|
|
|
+ private Date createTime;
|
|
|
+
|
|
|
+ public String getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(String id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getMemberId() {
|
|
|
+ return memberId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMemberId(Long memberId) {
|
|
|
+ this.memberId = memberId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMemberNickname() {
|
|
|
+ return memberNickname;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMemberNickname(String memberNickname) {
|
|
|
+ this.memberNickname = memberNickname;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMemberIcon() {
|
|
|
+ return memberIcon;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMemberIcon(String memberIcon) {
|
|
|
+ this.memberIcon = memberIcon;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getBrandId() {
|
|
|
+ return brandId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBrandId(Long brandId) {
|
|
|
+ this.brandId = brandId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBrandName() {
|
|
|
+ return brandName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBrandName(String brandName) {
|
|
|
+ this.brandName = brandName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBrandLogo() {
|
|
|
+ return brandLogo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBrandLogo(String brandLogo) {
|
|
|
+ this.brandLogo = brandLogo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBrandCity() {
|
|
|
+ return brandCity;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBrandCity(String brandCity) {
|
|
|
+ this.brandCity = brandCity;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getBrandAttentionCount() {
|
|
|
+ return brandAttentionCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBrandAttentionCount(Integer brandAttentionCount) {
|
|
|
+ this.brandAttentionCount = brandAttentionCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+}
|