Files
skamp/src/main/java/de/iwomm/propify_api/dto/PropertyDTO.java
2025-10-02 18:01:23 +02:00

117 lines
2.6 KiB
Java

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;
public class PropertyDTO {
private UUID id;
private String name;
private String street;
private String houseNumber;
private String zipCode;
private String city;
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, 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.federalState = federalState;
this.notes = notes;
this.attachments = attachments;
this.propertyStatus = propertyStatus;
}
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public String getHouseNumber() {
return houseNumber;
}
public void setHouseNumber(String houseNumber) {
this.houseNumber = houseNumber;
}
public String getZipCode() {
return zipCode;
}
public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getNotes() {
return notes;
}
public void setNotes(String notes) {
this.notes = notes;
}
public List<AttachmentDTO> getAttachments() {
return attachments;
}
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;
}
}