Last change
on this file since fdfbdde 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:
595 bytes
|
Line | |
---|
1 | package com.example.task.entity.event;
|
---|
2 |
|
---|
3 | import jakarta.persistence.Column;
|
---|
4 | import jakarta.persistence.EmbeddedId;
|
---|
5 | import jakarta.persistence.Entity;
|
---|
6 | import jakarta.persistence.Table;
|
---|
7 | import lombok.AllArgsConstructor;
|
---|
8 | import lombok.Getter;
|
---|
9 | import lombok.NoArgsConstructor;
|
---|
10 | import lombok.Setter;
|
---|
11 |
|
---|
12 | import java.time.LocalDate;
|
---|
13 |
|
---|
14 | @Entity
|
---|
15 | @Table(name = "non_repeating_event", schema = "project")
|
---|
16 | @NoArgsConstructor
|
---|
17 | @AllArgsConstructor
|
---|
18 | @Getter
|
---|
19 | @Setter
|
---|
20 | public class NonRepeatingEvent {
|
---|
21 |
|
---|
22 | @EmbeddedId
|
---|
23 | private NonRepeatingEventId id;
|
---|
24 |
|
---|
25 | @Column(name = "event_date")
|
---|
26 | private LocalDate date;
|
---|
27 |
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.