source:
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Admin.java@
6941fac
Last change on this file since 6941fac was 3d3e59d, checked in by , 19 months ago | |
---|---|
|
|
File size: 436 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 = "admin_table") | |
[579bf6d] | 11 | @PrimaryKeyJoinColumn(name = "id_user") |
12 | public class Admin extends User { | |
[d427a07] | 13 | |
[579bf6d] | 14 | public Admin(LocalDate dateCreated, String name, String email, String password, String telephone) { |
15 | super(dateCreated, name, email, password, telephone); | |
[d427a07] | 16 | } |
17 | ||
18 | public Admin() { | |
19 | } | |
20 | } |
Note:
See TracBrowser
for help on using the repository browser.