source:
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Surendee.java@
996b8ba
Last change on this file since 996b8ba was 3d3e59d, checked in by , 18 months ago | |
---|---|
|
|
File size: 443 bytes |
Rev | Line | |
---|---|---|
[3d3e59d] | 1 | package finki.paw5.model.entities; |
[d427a07] | 2 | |
[579bf6d] | 3 | import jakarta.persistence.*; |
[d427a07] | 4 | import lombok.Data; |
5 | ||
[579bf6d] | 6 | import java.time.LocalDate; |
7 | ||
[d427a07] | 8 | @Data |
9 | @Entity | |
10 | @Table(name = "surendee") | |
[579bf6d] | 11 | @PrimaryKeyJoinColumn(name = "id_user") |
12 | public class Surendee extends User { | |
[d427a07] | 13 | |
[579bf6d] | 14 | public Surendee(LocalDate dateCreated, String name, String email, String password, String telephone) { |
15 | super(dateCreated, name, email, password, telephone); | |
[d427a07] | 16 | } |
17 | ||
18 | public Surendee() { | |
19 | } | |
[579bf6d] | 20 | |
[d427a07] | 21 | } |
Note:
See TracBrowser
for help on using the repository browser.