BAEL-6572: Modified dto to remove lombok annotation as per guidelines and review comment

This commit is contained in:
balasr3
2023-09-04 00:36:13 +05:30
parent 17675c8775
commit 7128b5f44d
2 changed files with 33 additions and 20 deletions
@@ -3,13 +3,6 @@ package com.baeldung.expression.dto;
import java.time.LocalDateTime;
import java.util.UUID;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@AllArgsConstructor
@Data
@Builder
public class LicenseDto {
private UUID id;
@@ -18,4 +11,24 @@ public class LicenseDto {
private LocalDateTime endDate;
public UUID getId() {
return id;
}
public LocalDateTime getStartDate() {
return startDate;
}
public void setStartDate(LocalDateTime startDate) {
this.startDate = startDate;
}
public LocalDateTime getEndDate() {
return endDate;
}
public void setEndDate(LocalDateTime endDate) {
this.endDate = endDate;
}
}