Last change
on this file was fdfbdde, checked in by Stojilkova Sara <sara.stojilkova.students.finki.ukim.mk>, 9 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
566 bytes
|
Rev | Line | |
---|
[fdfbdde] | 1 | package com.example.task.entity.event;
|
---|
| 2 |
|
---|
| 3 | import jakarta.persistence.Embeddable;
|
---|
| 4 | import jakarta.persistence.JoinColumn;
|
---|
| 5 | import jakarta.persistence.ManyToOne;
|
---|
| 6 | import lombok.AllArgsConstructor;
|
---|
| 7 | import lombok.Getter;
|
---|
| 8 | import lombok.NoArgsConstructor;
|
---|
| 9 | import lombok.Setter;
|
---|
| 10 |
|
---|
| 11 | import java.io.Serializable;
|
---|
| 12 |
|
---|
| 13 | @Embeddable
|
---|
| 14 | @Getter
|
---|
| 15 | @Setter
|
---|
| 16 | @AllArgsConstructor
|
---|
| 17 | @NoArgsConstructor
|
---|
| 18 | public class SubjectEventId implements Serializable {
|
---|
| 19 |
|
---|
| 20 | @ManyToOne
|
---|
| 21 | @JoinColumn(name = "calendar_event_id", referencedColumnName = "calendar_event_id")
|
---|
| 22 | private CalendarEvent calendarEvent;
|
---|
| 23 |
|
---|
| 24 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.