generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be40d12
commit 21b440e
Showing
64 changed files
with
302 additions
and
302 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
.../src/main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/common/dto/WahlartDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.common.dto; | ||
|
||
public enum WahlartDTO { | ||
BAW, BEB, BTW, BZW, EUW, LTW, MBW, OBW, SRW, SVW, VE | ||
} |
5 changes: 0 additions & 5 deletions
5
...e/src/main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/common/model/Wahlart.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...n/oss/wahllokalsystem/eaiservice/rest/wahlbeteiligung/dto/WahlbeteiligungsMeldungDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahlbeteiligung.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
import java.time.LocalDateTime; | ||
|
||
public record WahlbeteiligungsMeldungDTO(@NotNull String wahlID, | ||
@NotNull String wahlbezirkID, | ||
@Schema(requiredMode = Schema.RequiredMode.REQUIRED) long anzahlWaehler, | ||
@NotNull LocalDateTime meldeZeitpunkt) { | ||
} |
11 changes: 0 additions & 11 deletions
11
...en/oss/wahllokalsystem/eaiservice/rest/wahlbeteiligung/model/WahlbeteiligungsMeldung.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
...vice/rest/wahldaten/model/Basisdaten.java → ...ice/rest/wahldaten/dto/BasisdatenDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
.../de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/dto/BasisstrukturdatenDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import java.time.LocalDate; | ||
|
||
public record BasisstrukturdatenDTO(@NotNull String wahlID, | ||
@NotNull String stimmzettelgebietID, | ||
@NotNull String wahlbezirkID, | ||
@NotNull LocalDate wahltag) { | ||
} |
11 changes: 11 additions & 0 deletions
11
...a/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/dto/StimmzettelgebietDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import java.time.LocalDate; | ||
|
||
public record StimmzettelgebietDTO(String identifikator, | ||
String nummer, | ||
String name, | ||
LocalDate wahltag, | ||
@NotNull StimmzettelgebietsartDTO stimmzettelgebietart) { | ||
} |
4 changes: 2 additions & 2 deletions
4
...ahldaten/model/Stimmzettelgebietsart.java → ...hldaten/dto/StimmzettelgebietsartDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.model; | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
public enum Stimmzettelgebietsart { | ||
public enum StimmzettelgebietsartDTO { | ||
SB, SG, SK, WK; | ||
} |
12 changes: 12 additions & 0 deletions
12
.../src/main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/dto/WahlDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import de.muenchen.oss.wahllokalsystem.eaiservice.rest.common.dto.WahlartDTO; | ||
import jakarta.validation.constraints.NotNull; | ||
import java.time.LocalDate; | ||
|
||
public record WahlDTO(@NotNull String identifikator, | ||
@NotNull String name, | ||
@NotNull WahlartDTO wahlart, | ||
@NotNull LocalDate wahltag, | ||
@NotNull String nummer) { | ||
} |
11 changes: 11 additions & 0 deletions
11
...ava/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/dto/WahlberechtigteDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record WahlberechtigteDTO(@NotNull String wahlID, | ||
@NotNull String wahlbezirkID, | ||
@Schema(requiredMode = Schema.RequiredMode.REQUIRED) long a1, | ||
@Schema(requiredMode = Schema.RequiredMode.REQUIRED) long a2, | ||
@Schema(requiredMode = Schema.RequiredMode.REQUIRED) long a3) { | ||
} |
4 changes: 2 additions & 2 deletions
4
...e/rest/wahldaten/model/WahlbezirkArt.java → .../rest/wahldaten/dto/WahlbezirkArtDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.model; | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
public enum WahlbezirkArt { | ||
public enum WahlbezirkArtDTO { | ||
UWB, BWB; | ||
} |
12 changes: 12 additions & 0 deletions
12
...ain/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/dto/WahlbezirkDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import java.time.LocalDate; | ||
|
||
public record WahlbezirkDTO(@NotNull String identifikator, | ||
@NotNull WahlbezirkArtDTO wahlbezirkArt, | ||
@NotNull String nummer, | ||
@NotNull LocalDate wahltag, | ||
@NotNull String wahlnummer, | ||
@NotNull String wahlID) { | ||
} |
4 changes: 2 additions & 2 deletions
4
...ice/rest/wahldaten/model/Wahlbezirke.java → ...ce/rest/wahldaten/dto/WahlbezirkeDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.model; | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Size; | ||
import java.util.Set; | ||
|
||
public record Wahlbezirke(@NotNull @Size(min = 1) Set<Wahlbezirk> wahlbezirke) { | ||
public record WahlbezirkeDTO(@NotNull @Size(min = 1) Set<WahlbezirkDTO> wahlbezirke) { | ||
} |
4 changes: 2 additions & 2 deletions
4
...iservice/rest/wahldaten/model/Wahlen.java → ...service/rest/wahldaten/dto/WahlenDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.model; | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Size; | ||
import java.util.Set; | ||
|
||
public record Wahlen(@NotNull @Size(min = 1) Set<Wahl> wahlen) { | ||
public record WahlenDTO(@NotNull @Size(min = 1) Set<WahlDTO> wahlen) { | ||
} |
10 changes: 10 additions & 0 deletions
10
...c/main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/dto/WahltagDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import java.time.LocalDate; | ||
|
||
public record WahltagDTO(@NotNull String identifikator, | ||
@NotNull LocalDate tag, | ||
@NotNull String beschreibung, | ||
@NotNull String nummer) { | ||
} |
4 changes: 2 additions & 2 deletions
4
...ervice/rest/wahldaten/model/Wahltage.java → ...rvice/rest/wahldaten/dto/WahltageDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.model; | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahldaten.dto; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Size; | ||
import java.util.Set; | ||
|
||
public record Wahltage(@NotNull @Size(min = 1) Set<Wahltag> wahltage) { | ||
public record WahltageDTO(@NotNull @Size(min = 1) Set<WahltagDTO> wahltage) { | ||
} |
10 changes: 0 additions & 10 deletions
10
...a/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/model/Basisstrukturdaten.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...va/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/model/Stimmzettelgebiet.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...e/src/main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/model/Wahl.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/model/Wahlberechtigte.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/model/Wahlbezirk.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...rc/main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahldaten/model/Wahltag.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...rvice/rest/wahlergebnis/model/AWerte.java → ...vice/rest/wahlergebnis/dto/AWerteDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahlergebnis.model; | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahlergebnis.dto; | ||
|
||
public record AWerte(Long a1, Long a2) { | ||
public record AWerteDTO(Long a1, Long a2) { | ||
} |
6 changes: 6 additions & 0 deletions
6
...main/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahlergebnis/dto/BWerteDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahlergebnis.dto; | ||
|
||
public record BWerteDTO(Long b, | ||
Long b1, | ||
Long b2) { | ||
} |
12 changes: 12 additions & 0 deletions
12
...in/java/de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahlergebnis/dto/ErgebnisDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahlergebnis.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record ErgebnisDTO(@NotNull String stimmenart, | ||
@Schema(requiredMode = Schema.RequiredMode.REQUIRED) long wahlvorschlagsordnungszahl, | ||
@Schema(requiredMode = Schema.RequiredMode.REQUIRED) long ergebnis, | ||
@NotNull String wahlvorschlagID, | ||
@NotNull String kandidatID | ||
) { | ||
} |
17 changes: 17 additions & 0 deletions
17
.../de/muenchen/oss/wahllokalsystem/eaiservice/rest/wahlergebnis/dto/ErgebnismeldungDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package de.muenchen.oss.wahllokalsystem.eaiservice.rest.wahlergebnis.dto; | ||
|
||
import de.muenchen.oss.wahllokalsystem.eaiservice.rest.common.dto.WahlartDTO; | ||
import jakarta.validation.constraints.NotNull; | ||
import java.util.List; | ||
|
||
public record ErgebnismeldungDTO(@NotNull String wahlbezirkID, | ||
@NotNull String wahlID, | ||
MeldungsartDTO meldungsart, | ||
AWerteDTO aWerte, | ||
BWerteDTO bWerte, | ||
WahlbriefeWerteDTO wahlbriefeWerte, | ||
List<UngueltigeStimmzettelDTO> ungueltigeStimmzettels, | ||
Long ungueltigeStimmzettelAnzahl, | ||
List<ErgebnisDTO> ergebnisse, | ||
WahlartDTO wahlart) { | ||
} |
4 changes: 2 additions & 2 deletions
4
.../rest/wahlergebnis/model/Meldungsart.java → ...rest/wahlergebnis/dto/MeldungsartDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.