Changeset d1fe9c2 for Prototype Application/Paw5
- Timestamp:
- 03/08/23 17:06:48 (20 months ago)
- Branches:
- main
- Children:
- c03e53b
- Parents:
- fdd7961
- Location:
- Prototype Application/Paw5/src/main/java/finki/paw5/model/relations
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/relations/DonorDonatesToOrganisation.java
rfdd7961 rd1fe9c2 3 3 import jakarta.persistence.*; 4 4 import lombok.Data; 5 import lombok.RequiredArgsConstructor; 5 6 6 7 @Data 7 8 @Entity 9 @RequiredArgsConstructor 8 10 @Table(name = "donor_donates_to_organisation") 9 11 @IdClass(DonorDonatesToOrganisationId.class) … … 22 24 this.organisationId = organisationId; 23 25 } 24 25 public DonorDonatesToOrganisation() {26 27 }28 26 } -
Prototype Application/Paw5/src/main/java/finki/paw5/model/relations/PetBelongsToCategory.java
rfdd7961 rd1fe9c2 3 3 import jakarta.persistence.*; 4 4 import lombok.Data; 5 import lombok.RequiredArgsConstructor; 5 6 6 7 @Data 7 8 @Entity 9 @RequiredArgsConstructor 8 10 @Table(name = "pet_belongs_to_category") 9 11 @IdClass(PetBelongsToCategoryId.class) … … 22 24 this.categoryId = categoryId; 23 25 } 24 25 public PetBelongsToCategory() {26 27 }28 26 } -
Prototype Application/Paw5/src/main/java/finki/paw5/model/relations/PetNeedsInterventionInVetClinic.java
rfdd7961 rd1fe9c2 3 3 import jakarta.persistence.*; 4 4 import lombok.Data; 5 import lombok.RequiredArgsConstructor; 5 6 6 7 import java.time.LocalDate; … … 9 10 @Data 10 11 @Entity 12 @RequiredArgsConstructor 11 13 @Table(name = "pet_needs_intervention_in_vet_clinic") 12 14 @IdClass(PetNeedsInterventionInVetClinicId.class) … … 33 35 this.description = description; 34 36 } 35 36 public PetNeedsInterventionInVetClinic() {37 38 }39 37 } -
Prototype Application/Paw5/src/main/java/finki/paw5/model/relations/PetNeedsTherapy.java
rfdd7961 rd1fe9c2 3 3 import jakarta.persistence.*; 4 4 import lombok.Data; 5 import lombok.RequiredArgsConstructor; 5 6 6 7 @Data 7 8 @Entity 9 @RequiredArgsConstructor 8 10 @Table(name = "pet_needs_therapy") 9 11 @IdClass(PetNeedsTherapyId.class) … … 22 24 this.therapyId = therapyId; 23 25 } 24 25 public PetNeedsTherapy() {26 }27 26 } -
Prototype Application/Paw5/src/main/java/finki/paw5/model/relations/PetPreferablyEatsFood.java
rfdd7961 rd1fe9c2 3 3 import jakarta.persistence.*; 4 4 import lombok.Data; 5 import lombok.RequiredArgsConstructor; 5 6 6 7 @Data 7 8 @Entity 9 @RequiredArgsConstructor 8 10 @Table(name = "pet_preferably_eats_food") 9 11 @IdClass(PetPreferablyEatsFoodId.class) … … 26 28 this.quantityPerDay = quantityPerDay; 27 29 } 28 29 public PetPreferablyEatsFood() {30 }31 30 }
Note:
See TracChangeset
for help on using the changeset viewer.