]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Assurance.java
add: country information where verification took place
[gigi.git] / src / org / cacert / gigi / dbObjects / Assurance.java
index dbcc20b6c2f290c75b842e2e35c4784c37b6eb98..486b5a340d2b468010a9d16d9564c3da422d7ac4 100644 (file)
@@ -33,7 +33,9 @@ public class Assurance {
 
     private String date;
 
-    public Assurance(int id, User from, Name to, String location, String method, int points, String date) {
+    private CountryCode country;
+
+    public Assurance(int id, User from, Name to, String location, String method, int points, String date, CountryCode country) {
         this.id = id;
         this.from = from;
         this.to = to;
@@ -41,6 +43,7 @@ public class Assurance {
         this.method = method;
         this.points = points;
         this.date = date;
+        this.country = country;
 
     }
 
@@ -72,4 +75,7 @@ public class Assurance {
         return date;
     }
 
+    public CountryCode getCountry() {
+        return country;
+    }
 }