main
Last change
on this file since ef048be was c3268ca, checked in by Stefan Risteski <stefanristeski2001@…>, 9 months ago |
Project
The whole Project
|
-
Property mode
set to
100644
|
File size:
676 bytes
|
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 = "korisnicirangiranisporedmedali")
|
---|
12 | @Data
|
---|
13 | public class Korisnicirangiranisporedmedali {
|
---|
14 |
|
---|
15 | @Id
|
---|
16 | private String username;
|
---|
17 | private long medalCount;
|
---|
18 |
|
---|
19 |
|
---|
20 | public String getUsername() {
|
---|
21 | return username;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public void setUsername(String username) {
|
---|
25 | this.username = username;
|
---|
26 | }
|
---|
27 |
|
---|
28 |
|
---|
29 | public long getMedalCount() {
|
---|
30 | return medalCount;
|
---|
31 | }
|
---|
32 |
|
---|
33 | public void setMedalCount(long medalCount) {
|
---|
34 | this.medalCount = medalCount;
|
---|
35 | }
|
---|
36 |
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.