Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ private ProjectClientResponse mosaicClient(final ProjectClientResponse client) {
}

private AddressResponse mosaicAddress(final AddressResponse address) {
if (address == null) {
return null;
}
return new AddressResponse(
mosaicMessage(address.zipcode()),
mosaicMessage(address.street()),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package es.princip.getp.application.project.commission.dto.response;

import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;

import com.fasterxml.jackson.annotation.JsonInclude;

import es.princip.getp.application.common.dto.response.AddressResponse;

import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;

@JsonInclude(NON_NULL)
public record ProjectClientResponse(
@JsonInclude(NON_NULL) Long clientId,
Long clientId,
String nickname,
AddressResponse address
) {
Expand Down