Skip to content

Commit

Permalink
fix: remove getters and correct imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vGerJ02 committed Feb 21, 2024
1 parent c53711c commit 905888e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/main/java/cat/udl/eps/softarch/demo/domain/Schedule.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

import jakarta.persistence.*;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.PastOrPresent;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Entity
@Table(name = "Schedule") //Avoid collision with system table User
@Data
Expand All @@ -23,15 +24,4 @@ public class Schedule extends UriEntity<Long> {
@NotNull
private LocalDateTime end;

public LocalDateTime getStart() {
return start;
}

public LocalDateTime getEnd() {
return end;
}

public Integer getId() {
return id;
}
}

0 comments on commit 905888e

Please sign in to comment.