- Timestamp:
- 02/02/23 18:27:30 (17 months ago)
- Branches:
- main
- Children:
- 4885da3, 579bf6d, a3aea2a
- Parents:
- 6f9c38f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/Adoption.java
r6f9c38f rfdfc6fa 7 7 import lombok.Data; 8 8 9 import java.time.LocalDate; 9 10 import java.util.Date; 10 11 … … 19 20 20 21 @Column(name = "start_date", nullable = false) 21 private Date startDate;22 private LocalDate startDate; 22 23 23 24 @Column(name = "end_date_foster") 24 private Date endDateFoster;25 private LocalDate endDateFoster; 25 26 26 27 @Column(name = "approved", nullable = false) … … 30 31 private int adopterId; 31 32 32 public Adoption( Date startDate,Date endDateFoster, boolean approved, int adopterId) {33 public Adoption(LocalDate startDate, LocalDate endDateFoster, boolean approved, int adopterId) { 33 34 this.startDate = startDate; 34 35 this.endDateFoster = endDateFoster;
Note:
See TracChangeset
for help on using the changeset viewer.