source: src/main/java/com/example/moviezone/model/Cinema.java@ 0fb69cc

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

First Run No error

  • Property mode set to 100644
File size: 349 bytes
Line 
1package com.example.moviezone.model;
2
3import lombok.Getter;
4import lombok.Setter;
5import lombok.ToString;
6
7import javax.persistence.*;
8
9
10@Entity
11@Getter
12@Setter
13@ToString
14@Table(name = "cinemas")
15public class Cinema {
16
17 @Id
18 @GeneratedValue(strategy = GenerationType.IDENTITY)
19 Integer id_cinema;
20
21 String name;
22
23 String location;
24
25}
Note: See TracBrowser for help on using the repository browser.