Ignore:
Timestamp:
02/16/23 14:45:38 (17 months ago)
Author:
SazdovaEkaterina <sazdovaekaterina@…>
Branches:
main
Children:
3c7bf5b
Parents:
50f2c2a
Message:

adopt a pet button + save adoption to db

File:
1 edited

Legend:

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

    r50f2c2a r9a180fd  
    55
    66import java.time.LocalDate;
    7 import java.util.Date;
    87
    98@Data
     
    2726
    2827    @Column(name = "id_adopter", nullable = false)
    29     private int adopterId;
     28    private Integer adopterId;
    3029
    31     public Adoption(LocalDate startDate, LocalDate endDateFoster, boolean approved, int adopterId) {
     30    public Adoption(LocalDate startDate, LocalDate endDateFoster, boolean approved, Integer adopterId) {
    3231        this.startDate = startDate;
    3332        this.endDateFoster = endDateFoster;
Note: See TracChangeset for help on using the changeset viewer.