Last change
on this file since 62bba0c was 3d60932, checked in by ste08 <sjovanoska@…>, 4 months ago |
Fix commiT
|
-
Property mode
set to
100644
|
File size:
367 bytes
|
Line | |
---|
1 | package com.example.skychasemk.model;
|
---|
2 |
|
---|
3 | import jakarta.persistence.*;
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | @Entity
|
---|
7 | @Data
|
---|
8 | @Table(name="administrator")
|
---|
9 | public class Administrator {
|
---|
10 | @Id
|
---|
11 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
12 | @Column(name = "adminId")
|
---|
13 | private Long adminId;
|
---|
14 | @Column(name="email", unique=true, nullable = false)
|
---|
15 | private String email;
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.