Browse Source

Update MemberProductCollection.java

macro 3 years ago
parent
commit
ba28bcb77b

+ 2 - 0
mall-portal/src/main/java/com/macro/mall/portal/domain/MemberProductCollection.java

@@ -2,6 +2,7 @@ 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;
 
@@ -9,6 +10,7 @@ import java.util.Date;
  * 会员商品收藏
  * Created by macro on 2018/8/2.
  */
+@Document
 public class MemberProductCollection {
     @Id
     private String id;