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