- Timestamp:
- 02/03/23 10:50:10 (17 months ago)
- Branches:
- main
- Children:
- d396372
- Parents:
- a3aea2a (diff), 579bf6d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/Surendee.java
ra3aea2a r1bd0a56 1 1 package finki.paw5.model; 2 2 3 import jakarta.persistence.Column; 4 import jakarta.persistence.Entity; 5 import jakarta.persistence.Id; 6 import jakarta.persistence.Table; 3 import jakarta.persistence.*; 7 4 import lombok.Data; 5 6 import java.time.LocalDate; 8 7 9 8 @Data 10 9 @Entity 11 10 @Table(name = "surendee") 12 public class Surendee { 11 @PrimaryKeyJoinColumn(name = "id_user") 12 public class Surendee extends User { 13 13 14 @Id 15 @Column(name = "id_user", nullable = false) 16 private int id; 17 18 public Surendee(int id) { 19 this.id = id; 14 public Surendee(LocalDate dateCreated, String name, String email, String password, String telephone) { 15 super(dateCreated, name, email, password, telephone); 20 16 } 21 17 22 18 public Surendee() { 23 19 } 20 24 21 }
Note:
See TracChangeset
for help on using the changeset viewer.