Last change
on this file since 4ee640e was 2269653, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
First Run No error
|
-
Property mode
set to
100644
|
File size:
424 bytes
|
Line | |
---|
1 | package com.example.moviezone.model;
|
---|
2 |
|
---|
3 | import lombok.Getter;
|
---|
4 | import lombok.Setter;
|
---|
5 | import lombok.ToString;
|
---|
6 |
|
---|
7 | import javax.persistence.*;
|
---|
8 |
|
---|
9 |
|
---|
10 | import java.time.LocalDate;
|
---|
11 |
|
---|
12 | @Entity
|
---|
13 | @Getter
|
---|
14 | @Setter
|
---|
15 | @ToString
|
---|
16 | @Table(name = "events")
|
---|
17 | public class Event {
|
---|
18 |
|
---|
19 | @Id
|
---|
20 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
21 | Integer id_event;
|
---|
22 |
|
---|
23 | String theme;
|
---|
24 | String duration;
|
---|
25 | String repeating;
|
---|
26 |
|
---|
27 | LocalDate start_date;
|
---|
28 |
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.