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