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:
1.0 KB
|
Line | |
---|
1 | package com.example.kvizko.models.views;
|
---|
2 |
|
---|
3 | import jakarta.persistence.Entity;
|
---|
4 | import jakarta.persistence.Id;
|
---|
5 | import jakarta.persistence.Table;
|
---|
6 | import lombok.Data;
|
---|
7 | import org.hibernate.annotations.Immutable;
|
---|
8 |
|
---|
9 | @Immutable
|
---|
10 | @Entity
|
---|
11 | @Table(name = "brturniribrigrachibrkvizovibrmedali")
|
---|
12 | @Data
|
---|
13 | public class Brturniribrigrachibrkvizovibrmedali {
|
---|
14 |
|
---|
15 | @Id
|
---|
16 | private String tName;
|
---|
17 | private long totalPlayers;
|
---|
18 | private long totalQuizzes;
|
---|
19 | private long totalMedals;
|
---|
20 |
|
---|
21 |
|
---|
22 | public String getTName() {
|
---|
23 | return tName;
|
---|
24 | }
|
---|
25 |
|
---|
26 | public void setTName(String tName) {
|
---|
27 | this.tName = tName;
|
---|
28 | }
|
---|
29 |
|
---|
30 |
|
---|
31 | public long getTotalPlayers() {
|
---|
32 | return totalPlayers;
|
---|
33 | }
|
---|
34 |
|
---|
35 | public void setTotalPlayers(long totalPlayers) {
|
---|
36 | this.totalPlayers = totalPlayers;
|
---|
37 | }
|
---|
38 |
|
---|
39 |
|
---|
40 | public long getTotalQuizzes() {
|
---|
41 | return totalQuizzes;
|
---|
42 | }
|
---|
43 |
|
---|
44 | public void setTotalQuizzes(long totalQuizzes) {
|
---|
45 | this.totalQuizzes = totalQuizzes;
|
---|
46 | }
|
---|
47 |
|
---|
48 |
|
---|
49 | public long getTotalMedals() {
|
---|
50 | return totalMedals;
|
---|
51 | }
|
---|
52 |
|
---|
53 | public void setTotalMedals(long totalMedals) {
|
---|
54 | this.totalMedals = totalMedals;
|
---|
55 | }
|
---|
56 |
|
---|
57 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.