source: src/main/java/com/example/task/entity/event/NonRepeatingEvent.java@ fdfbdde

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 
1package com.example.task.entity.event;
2
3import jakarta.persistence.Column;
4import jakarta.persistence.EmbeddedId;
5import jakarta.persistence.Entity;
6import jakarta.persistence.Table;
7import lombok.AllArgsConstructor;
8import lombok.Getter;
9import lombok.NoArgsConstructor;
10import lombok.Setter;
11
12import java.time.LocalDate;
13
14@Entity
15@Table(name = "non_repeating_event", schema = "project")
16@NoArgsConstructor
17@AllArgsConstructor
18@Getter
19@Setter
20public 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.