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:
557 bytes
|
Line | |
---|
1 | package com.example.kvizko.models.EmbeddedClasses;
|
---|
2 |
|
---|
3 | import jakarta.persistence.Embeddable;
|
---|
4 | import jakarta.persistence.GeneratedValue;
|
---|
5 | import jakarta.persistence.GenerationType;
|
---|
6 | import lombok.Data;
|
---|
7 |
|
---|
8 | import java.io.Serializable;
|
---|
9 |
|
---|
10 | @Data
|
---|
11 | @Embeddable
|
---|
12 | public class SelectedchoiceIdClass implements Serializable {
|
---|
13 |
|
---|
14 | private long choiceid;
|
---|
15 |
|
---|
16 | private long selectedchoiceid;
|
---|
17 |
|
---|
18 | public SelectedchoiceIdClass(long choiceid, long attemptid) {
|
---|
19 | this.choiceid = choiceid;
|
---|
20 | selectedchoiceid = attemptid;
|
---|
21 | }
|
---|
22 |
|
---|
23 | public SelectedchoiceIdClass() {}
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.