Commit aacea318 by zhiwei

添加序列化对象

parent 88298d76
...@@ -17,6 +17,8 @@ import org.springframework.data.mongodb.core.mapping.Document; ...@@ -17,6 +17,8 @@ import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "Channel") @Document(collection = "Channel")
public class Channel implements Serializable { public class Channel implements Serializable {
private static final long serialVersionUID = 1L;
@Indexed @Indexed
@Id @Id
private String id; private String id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment