generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/sprint' into feat/DAVE-108_Expor…
…t-pdf-report
- Loading branch information
Showing
12 changed files
with
865 additions
and
36 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
.../java/de/muenchen/dave/domain/dtos/laden/messwerte/BelastungsplanMessquerschnitteDTO.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,24 @@ | ||
/* | ||
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik | ||
* der Landeshauptstadt München, 2020 | ||
*/ | ||
package de.muenchen.dave.domain.dtos.laden.messwerte; | ||
|
||
import java.io.Serializable; | ||
import java.math.BigDecimal; | ||
import java.util.List; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class BelastungsplanMessquerschnitteDTO implements Serializable { | ||
private List<LadeBelastungsplanMessquerschnittDataDTO> ladeBelastungsplanMessquerschnittDataDTOList; | ||
private String strassenname; | ||
private String mstId; | ||
private Integer stadtbezirkNummer; | ||
private Integer totalKfz; | ||
private Integer totalSv; | ||
private Integer totalGv; | ||
private Integer totalRad; | ||
private BigDecimal totalPercentSv; | ||
private BigDecimal totalPercentGv; | ||
} |
23 changes: 23 additions & 0 deletions
23
...e/muenchen/dave/domain/dtos/laden/messwerte/LadeBelastungsplanMessquerschnittDataDTO.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,23 @@ | ||
/* | ||
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik | ||
* der Landeshauptstadt München, 2020 | ||
*/ | ||
package de.muenchen.dave.domain.dtos.laden.messwerte; | ||
|
||
import java.io.Serializable; | ||
import java.math.BigDecimal; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class LadeBelastungsplanMessquerschnittDataDTO implements Serializable { | ||
|
||
private String mqId; | ||
private Integer sumKfz; | ||
private Integer sumSv; | ||
private Integer sumGv; | ||
private Integer sumRad; | ||
private String direction; | ||
|
||
private BigDecimal percentSv; | ||
private BigDecimal percentGV; | ||
} |
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
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
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
137 changes: 137 additions & 0 deletions
137
src/main/java/de/muenchen/dave/geodateneai/gen/model/MeasurementValuesResponse.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,137 @@ | ||
/* | ||
* DAVE GEODATA EAI | ||
* DAVE GEODATA EAI - Service zum Abfragen von Geoinformationen | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
package de.muenchen.dave.geodateneai.gen.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import de.muenchen.dave.geodateneai.gen.model.AverageMeasurementValuesPerIntervalResponse; | ||
import de.muenchen.dave.geodateneai.gen.model.TotalSumOfAllMessquerschnitte; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
/** | ||
* MeasurementValuesResponse | ||
*/ | ||
@JsonPropertyOrder({ | ||
MeasurementValuesResponse.JSON_PROPERTY_AVERAGE_MEASUREMENT_VALUES_PER_INTERVAL_RESPONSE, | ||
MeasurementValuesResponse.JSON_PROPERTY_TOTAL_SUM_OF_ALL_MESSQUERSCHNITTE | ||
}) | ||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") | ||
public class MeasurementValuesResponse { | ||
public static final String JSON_PROPERTY_AVERAGE_MEASUREMENT_VALUES_PER_INTERVAL_RESPONSE = "averageMeasurementValuesPerIntervalResponse"; | ||
private AverageMeasurementValuesPerIntervalResponse averageMeasurementValuesPerIntervalResponse; | ||
|
||
public static final String JSON_PROPERTY_TOTAL_SUM_OF_ALL_MESSQUERSCHNITTE = "totalSumOfAllMessquerschnitte"; | ||
private TotalSumOfAllMessquerschnitte totalSumOfAllMessquerschnitte; | ||
|
||
public MeasurementValuesResponse() { | ||
} | ||
|
||
public MeasurementValuesResponse averageMeasurementValuesPerIntervalResponse(AverageMeasurementValuesPerIntervalResponse averageMeasurementValuesPerIntervalResponse) { | ||
|
||
this.averageMeasurementValuesPerIntervalResponse = averageMeasurementValuesPerIntervalResponse; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get averageMeasurementValuesPerIntervalResponse | ||
* @return averageMeasurementValuesPerIntervalResponse | ||
**/ | ||
@javax.annotation.Nullable | ||
@JsonProperty(JSON_PROPERTY_AVERAGE_MEASUREMENT_VALUES_PER_INTERVAL_RESPONSE) | ||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
|
||
public AverageMeasurementValuesPerIntervalResponse getAverageMeasurementValuesPerIntervalResponse() { | ||
return averageMeasurementValuesPerIntervalResponse; | ||
} | ||
|
||
|
||
@JsonProperty(JSON_PROPERTY_AVERAGE_MEASUREMENT_VALUES_PER_INTERVAL_RESPONSE) | ||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
public void setAverageMeasurementValuesPerIntervalResponse(AverageMeasurementValuesPerIntervalResponse averageMeasurementValuesPerIntervalResponse) { | ||
this.averageMeasurementValuesPerIntervalResponse = averageMeasurementValuesPerIntervalResponse; | ||
} | ||
|
||
|
||
public MeasurementValuesResponse totalSumOfAllMessquerschnitte(TotalSumOfAllMessquerschnitte totalSumOfAllMessquerschnitte) { | ||
|
||
this.totalSumOfAllMessquerschnitte = totalSumOfAllMessquerschnitte; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get totalSumOfAllMessquerschnitte | ||
* @return totalSumOfAllMessquerschnitte | ||
**/ | ||
@javax.annotation.Nullable | ||
@JsonProperty(JSON_PROPERTY_TOTAL_SUM_OF_ALL_MESSQUERSCHNITTE) | ||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
|
||
public TotalSumOfAllMessquerschnitte getTotalSumOfAllMessquerschnitte() { | ||
return totalSumOfAllMessquerschnitte; | ||
} | ||
|
||
|
||
@JsonProperty(JSON_PROPERTY_TOTAL_SUM_OF_ALL_MESSQUERSCHNITTE) | ||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
public void setTotalSumOfAllMessquerschnitte(TotalSumOfAllMessquerschnitte totalSumOfAllMessquerschnitte) { | ||
this.totalSumOfAllMessquerschnitte = totalSumOfAllMessquerschnitte; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
MeasurementValuesResponse measurementValuesResponse = (MeasurementValuesResponse) o; | ||
return Objects.equals(this.averageMeasurementValuesPerIntervalResponse, measurementValuesResponse.averageMeasurementValuesPerIntervalResponse) && | ||
Objects.equals(this.totalSumOfAllMessquerschnitte, measurementValuesResponse.totalSumOfAllMessquerschnitte); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(averageMeasurementValuesPerIntervalResponse, totalSumOfAllMessquerschnitte); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class MeasurementValuesResponse {\n"); | ||
sb.append(" averageMeasurementValuesPerIntervalResponse: ").append(toIndentedString(averageMeasurementValuesPerIntervalResponse)).append("\n"); | ||
sb.append(" totalSumOfAllMessquerschnitte: ").append(toIndentedString(totalSumOfAllMessquerschnitte)).append("\n"); | ||
sb.append("}"); | ||
return sb.toString(); | ||
} | ||
|
||
/** | ||
* Convert the given object to string with each line indented by 4 spaces | ||
* (except the first line). | ||
*/ | ||
private String toIndentedString(Object o) { | ||
if (o == null) { | ||
return "null"; | ||
} | ||
return o.toString().replace("\n", "\n "); | ||
} | ||
|
||
} | ||
|
Oops, something went wrong.