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

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

added models

  • Property mode set to 100644
File size: 305 bytes
Line 
1package com.example.moviezone.model;
2
3import jakarta.persistence.*;
4import lombok.Getter;
5import lombok.Setter;
6import lombok.ToString;
7
8@Entity
9@Getter
10@Setter
11@ToString
12@Table(name = "events")
13public class Event {
14
15 @Id
16 @GeneratedValue(strategy = GenerationType.IDENTITY)
17 Integer id_event;
18}
Note: See TracBrowser for help on using the repository browser.