source: src/main/java/com/example/moviezone/model/Film.java@ ade54f6

Last change on this file since ade54f6 was 2269653, checked in by DenicaKj <dkorvezir@…>, 22 months ago

First Run No error

  • Property mode set to 100644
File size: 522 bytes
Line 
1package com.example.moviezone.model;
2
3import lombok.Getter;
4import lombok.Setter;
5import lombok.ToString;
6
7import javax.persistence.*;
8
9
10import java.time.LocalDate;
11
12@Entity
13@Getter
14@Setter
15@ToString
16@Table(name = "films")
17public class Film {
18
19 @Id
20 @GeneratedValue(strategy = GenerationType.IDENTITY)
21 Integer id_film;
22
23 String name;
24 Integer duration;
25 String actors;
26 String genre;
27 String age_category;
28 String url;
29 String director;
30 LocalDate start_date;
31 LocalDate end_date;
32
33
34}
Note: See TracBrowser for help on using the repository browser.