Skip to content
Snippets Groups Projects
Commit 1625c72d authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4456 extend ZustaendigeStelle

parent 9ff4a8e3
Branches
Tags
No related merge requests found
......@@ -35,4 +35,10 @@ public class ZustaendigeStelle {
private String organisationseinheitenId;
private String bezeichnung;
private String email;
private String gemeindeSchluessel;
private String amtlicherRegionalSchluessel;
private String hausanschriftStrasse;
private String hausanschriftPlz;
private String hausanschriftOrt;
private String telefon;
}
......@@ -27,6 +27,12 @@ public class ZustaendigeStelleTestFactory {
public static final String ORGANISATIONSEINHEIT_ID = "08150815";
public static final String EMAIL = "hase@loewenkaefig.de";
public static final String GEMEINDE_SCHLUESSEL = "1234567";
public static final String AMTLICHER_REGIONAL_SCHLUESSEL = "regional-schluessel";
public static final String HAUSANSCHRIFT_STRASSE = "Musterstraße";
public static final String HAUSANSCHRIFT_PLZ = "12345";
public static final String HAUSANSCHRIFT_ORT = "Musterort";
public static final String TELEFON = "0123456789";
public static ZustaendigeStelle create() {
return createBuilder().build();
......@@ -35,6 +41,12 @@ public class ZustaendigeStelleTestFactory {
public static ZustaendigeStelle.ZustaendigeStelleBuilder createBuilder() {
return ZustaendigeStelle.builder() //
.organisationseinheitenId(ORGANISATIONSEINHEIT_ID)
.email(EMAIL);
.email(EMAIL)
.gemeindeSchluessel(GEMEINDE_SCHLUESSEL)
.amtlicherRegionalSchluessel(AMTLICHER_REGIONAL_SCHLUESSEL)
.hausanschriftStrasse(HAUSANSCHRIFT_STRASSE)
.hausanschriftPlz(HAUSANSCHRIFT_PLZ)
.hausanschriftOrt(HAUSANSCHRIFT_ORT)
.telefon(TELEFON);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment