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:
669 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 = "kvizovirangiranisporedtochniprashanja")
|
---|
12 | @Data
|
---|
13 | public class Kvizovirangiranisporedtochniprashanja {
|
---|
14 |
|
---|
15 | @Id
|
---|
16 | private String quizname;
|
---|
17 | private long counter;
|
---|
18 |
|
---|
19 |
|
---|
20 | public String getQuizname() {
|
---|
21 | return quizname;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public void setQuizname(String quizname) {
|
---|
25 | this.quizname = quizname;
|
---|
26 | }
|
---|
27 |
|
---|
28 |
|
---|
29 | public long getCounter() {
|
---|
30 | return counter;
|
---|
31 | }
|
---|
32 |
|
---|
33 | public void setCounter(long counter) {
|
---|
34 | this.counter = counter;
|
---|
35 | }
|
---|
36 |
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.