Ignore:
Timestamp:
02/02/23 18:32:19 (17 months ago)
Author:
SazdovaEkaterina <sazdovaekaterina@…>
Branches:
main
Children:
1bd0a56
Parents:
6a17c29 (diff), fdfc6fa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'create-models' into create-post

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Prototype Application/Paw5/src/main/java/finki/paw5/model/Adoption.java

    r6a17c29 ra3aea2a  
    77import lombok.Data;
    88
     9import java.time.LocalDate;
    910import java.util.Date;
    1011
     
    1920
    2021    @Column(name = "start_date", nullable = false)
    21     private Date startDate;
     22    private LocalDate startDate;
    2223
    2324    @Column(name = "end_date_foster")
    24     private Date endDateFoster;
     25    private LocalDate endDateFoster;
    2526
    2627    @Column(name = "approved", nullable = false)
     
    3031    private int adopterId;
    3132
    32     public Adoption(Date startDate, Date endDateFoster, boolean approved, int adopterId) {
     33    public Adoption(LocalDate startDate, LocalDate endDateFoster, boolean approved, int adopterId) {
    3334        this.startDate = startDate;
    3435        this.endDateFoster = endDateFoster;
Note: See TracChangeset for help on using the changeset viewer.