Ignore:
Timestamp:
02/12/23 22:54:47 (17 months ago)
Author:
Filip Chorbeski <86695898+FilipChorbeski@…>
Branches:
main
Children:
325a55d
Parents:
988f3fa
Message:

create post form (initial version)

successfully communicates with database and adds pet and post (will be worked upon more)

File:
1 edited

Legend:

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

    r988f3fa r468b7b6  
    4343
    4444    @Column(name = "id_adoption")
    45     private int adoptionId;
     45    private Integer adoptionId;
    4646
    4747    @Column(name = "id_shelter")
    48     private int shelterId;
     48    private Integer shelterId;
    4949
    50     public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, int adoptionId, int shelterId) {
     50    public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, Integer adoptionId, Integer shelterId) {
    5151        this.imageUrl = imageUrl;
    5252        this.ageGroup = ageGroup;
Note: See TracChangeset for help on using the changeset viewer.