source: src/main/java/com/example/kvizko/models/views/Izveshtajzaturniri.java@ c3268ca

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.5 KB
Line 
1package com.example.kvizko.models.views;
2
3import jakarta.persistence.Entity;
4import jakarta.persistence.Id;
5import jakarta.persistence.Table;
6import lombok.Data;
7import org.hibernate.annotations.Immutable;
8
9@Immutable
10@Entity
11@Table(name = "izveshtajzaturniri")
12@Data
13public class Izveshtajzaturniri {
14
15 @Id
16 private long userid;
17 private String username;
18 private String tournamentname;
19 private String quizname;
20 private long points;
21 private java.sql.Date attemptdate;
22 private String medalname;
23
24
25 public long getUserid() {
26 return userid;
27 }
28
29 public void setUserid(long userid) {
30 this.userid = userid;
31 }
32
33
34 public String getUsername() {
35 return username;
36 }
37
38 public void setUsername(String username) {
39 this.username = username;
40 }
41
42
43 public String getTournamentname() {
44 return tournamentname;
45 }
46
47 public void setTournamentname(String tournamentname) {
48 this.tournamentname = tournamentname;
49 }
50
51
52 public String getQuizname() {
53 return quizname;
54 }
55
56 public void setQuizname(String quizname) {
57 this.quizname = quizname;
58 }
59
60
61 public long getPoints() {
62 return points;
63 }
64
65 public void setPoints(long points) {
66 this.points = points;
67 }
68
69
70 public java.sql.Date getAttemptdate() {
71 return attemptdate;
72 }
73
74 public void setAttemptdate(java.sql.Date attemptdate) {
75 this.attemptdate = attemptdate;
76 }
77
78
79 public String getMedalname() {
80 return medalname;
81 }
82
83 public void setMedalname(String medalname) {
84 this.medalname = medalname;
85 }
86
87}
Note: See TracBrowser for help on using the repository browser.