source: src/main/java/com/example/kvizko/models/EmbeddedClasses/SelectedchoiceIdClass.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: 557 bytes
Line 
1package com.example.kvizko.models.EmbeddedClasses;
2
3import jakarta.persistence.Embeddable;
4import jakarta.persistence.GeneratedValue;
5import jakarta.persistence.GenerationType;
6import lombok.Data;
7
8import java.io.Serializable;
9
10@Data
11@Embeddable
12public 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.