diff --git a/mapstruct/src/main/java/com/baeldung/expression/dto/LicenseDto.java b/mapstruct/src/main/java/com/baeldung/expression/dto/LicenseDto.java index 2121038cf3..025df1a4f6 100644 --- a/mapstruct/src/main/java/com/baeldung/expression/dto/LicenseDto.java +++ b/mapstruct/src/main/java/com/baeldung/expression/dto/LicenseDto.java @@ -15,6 +15,10 @@ public class LicenseDto { return id; } + public void setId(UUID id) { + this.id = id; + } + public LocalDateTime getStartDate() { return startDate; }