|
@@ -8,6 +8,7 @@ package scot.carricksoftware.grants.domains.census;
|
|
|
import jakarta.persistence.*;
|
|
import jakarta.persistence.*;
|
|
|
import scot.carricksoftware.grants.BaseEntity;
|
|
import scot.carricksoftware.grants.BaseEntity;
|
|
|
import scot.carricksoftware.grants.domains.places.Place;
|
|
import scot.carricksoftware.grants.domains.places.Place;
|
|
|
|
|
+import scot.carricksoftware.grants.enums.census.CensusBoundaryType;
|
|
|
|
|
|
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
@@ -25,6 +26,8 @@ public class Census extends BaseEntity {
|
|
|
@JoinColumn(name = "census_place_id")
|
|
@JoinColumn(name = "census_place_id")
|
|
|
private Place place;
|
|
private Place place;
|
|
|
|
|
|
|
|
|
|
+ private CensusBoundaryType boundaryType;
|
|
|
|
|
+
|
|
|
|
|
|
|
|
public LocalDate getDate() {
|
|
public LocalDate getDate() {
|
|
|
return date;
|
|
return date;
|
|
@@ -54,4 +57,12 @@ public class Census extends BaseEntity {
|
|
|
public void setPlace(Place place) {
|
|
public void setPlace(Place place) {
|
|
|
this.place = place;
|
|
this.place = place;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public CensusBoundaryType getBoundaryType() {
|
|
|
|
|
+ return boundaryType;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setBoundaryType(CensusBoundaryType boundaryType) {
|
|
|
|
|
+ this.boundaryType = boundaryType;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|