Commit fc835faf by [zhangzhiwei]

序列化

parent 15bbeae6
......@@ -17,8 +17,7 @@ import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "Channel")
public class Channel implements Serializable {
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = -829668966587771974L;
@Indexed
@Id
private String id;
......
......@@ -17,7 +17,10 @@ import org.springframework.stereotype.Component;
@Component
@Document(collection = "Data")
public class Data implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
private static final long serialVersionUID = -4394515060081205347L;
@Id
// @Indexed(unique = true)
private String dataId;
......
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