source: src/main/java/com/example/task/entity/event/SubjectEventId.java

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
RevLine 
[fdfbdde]1package com.example.task.entity.event;
2
3import jakarta.persistence.Embeddable;
4import jakarta.persistence.JoinColumn;
5import jakarta.persistence.ManyToOne;
6import lombok.AllArgsConstructor;
7import lombok.Getter;
8import lombok.NoArgsConstructor;
9import lombok.Setter;
10
11import java.io.Serializable;
12
13@Embeddable
14@Getter
15@Setter
16@AllArgsConstructor
17@NoArgsConstructor
18public 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.