main
Last change
on this file since c3268ca was c3268ca, checked in by Stefan Risteski <stefanristeski2001@…>, 9 months ago |
Project
The whole Project
|
-
Property mode
set to
100644
|
File size:
364 bytes
|
Line | |
---|
1 | package com.example.kvizko.models;
|
---|
2 |
|
---|
3 | import jakarta.persistence.*;
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | @Entity
|
---|
7 | @Data
|
---|
8 | @Table(name = "tournamentphase")
|
---|
9 | public class Tournamentphase {
|
---|
10 |
|
---|
11 | @Id
|
---|
12 | private long tournamentphaseid;
|
---|
13 |
|
---|
14 | @ManyToOne
|
---|
15 | @JoinColumn(name = "tournamentid")
|
---|
16 | private Tournament tournament;
|
---|
17 | //private long tournamentid;
|
---|
18 | private String tournamentphasename;
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.