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

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

added models

  • Property mode set to 100644
File size: 349 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 = "cinemas")
13public class Cinema {
14
15 @Id
16 @GeneratedValue(strategy = GenerationType.IDENTITY)
17 Integer id_cinema;
18
19 String name;
20
21 String location;
22
23}
Note: See TracBrowser for help on using the repository browser.