updates
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package de.iwomm.propify_api.dto;
|
||||
|
||||
import de.iwomm.propify_api.entity.FederalState;
|
||||
import de.iwomm.propify_api.entity.PropertyStatus;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
@@ -10,21 +13,25 @@ public class PropertyDTO {
|
||||
private String houseNumber;
|
||||
private String zipCode;
|
||||
private String city;
|
||||
private String country;
|
||||
private FederalState federalState;
|
||||
private String notes;
|
||||
private List<AttachmentDTO> attachments;
|
||||
private PropertyStatusDTO propertyStatus;
|
||||
|
||||
|
||||
public PropertyDTO(UUID id, String name, String street, String houseNumber, String zipCode, String city, String country, String notes, List<AttachmentDTO> attachments) {
|
||||
public PropertyDTO(UUID id, String name, String street, String houseNumber,
|
||||
String zipCode, String city, FederalState federalState, String notes,
|
||||
List<AttachmentDTO> attachments, PropertyStatusDTO propertyStatus) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.street = street;
|
||||
this.houseNumber = houseNumber;
|
||||
this.zipCode = zipCode;
|
||||
this.city = city;
|
||||
this.country = country;
|
||||
this.federalState = federalState;
|
||||
this.notes = notes;
|
||||
this.attachments = attachments;
|
||||
this.propertyStatus = propertyStatus;
|
||||
}
|
||||
|
||||
public UUID getId() {
|
||||
@@ -83,14 +90,6 @@ public class PropertyDTO {
|
||||
this.notes = notes;
|
||||
}
|
||||
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
public List<AttachmentDTO> getAttachments() {
|
||||
return attachments;
|
||||
}
|
||||
@@ -98,4 +97,20 @@ public class PropertyDTO {
|
||||
public void setAttachments(List<AttachmentDTO> attachments) {
|
||||
this.attachments = attachments;
|
||||
}
|
||||
|
||||
public PropertyStatusDTO getPropertyStatus() {
|
||||
return propertyStatus;
|
||||
}
|
||||
|
||||
public void setPropertyStatus(PropertyStatusDTO propertyStatus) {
|
||||
this.propertyStatus = propertyStatus;
|
||||
}
|
||||
|
||||
public FederalState getFederalState() {
|
||||
return federalState;
|
||||
}
|
||||
|
||||
public void setFederalState(FederalState federalState) {
|
||||
this.federalState = federalState;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user