source: src/main/java/com/example/moviezone/model/Event.java@ fbec879

Last change on this file since fbec879 was caf3a07, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago

added models

  • Property mode set to 100644
File size: 424 bytes
Line 
1package com.example.moviezone.model;
2
3import jakarta.persistence.*;
4import lombok.Getter;
5import lombok.Setter;
6import lombok.ToString;
7
8import java.time.LocalDate;
9
10@Entity
11@Getter
12@Setter
13@ToString
14@Table(name = "events")
15public class Event {
16
17 @Id
18 @GeneratedValue(strategy = GenerationType.IDENTITY)
19 Integer id_event;
20
21 String theme;
22 String duration;
23 String repeating;
24
25 LocalDate start_date;
26
27}
Note: See TracBrowser for help on using the repository browser.