Commit 8fc704b8 authored by renjie's avatar renjie

绑定记录

parent ca092787
......@@ -7,7 +7,6 @@ import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@Document(collection = "ipresource")
......@@ -26,7 +25,7 @@ public class IpResource {
private long purchasedTime;
private long validTime;
private String details;
List<HashMap<String, String>> bindHistory = new ArrayList<>();
List<BindHistory> bindHistory = new ArrayList<>();
private boolean isDeleted;
private String username;
private String owner;
......@@ -84,11 +83,11 @@ public class IpResource {
this.ipType = ipType;
}
public List<HashMap<String, String>> getBindHistory() {
public List<BindHistory> getBindHistory() {
return bindHistory;
}
public void setBindHistory(List<HashMap<String, String>> bindHistory) {
public void setBindHistory(List<BindHistory> bindHistory) {
this.bindHistory = bindHistory;
}
......
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