source: src/main/java/com/example/moviezone/model/Projection_Room.java@ 428c8a4

Last change on this file since 428c8a4 was 2c60cda, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago

update to models

  • Property mode set to 100644
File size: 472 bytes
Line 
1package com.example.moviezone.model;
2
3
4import jakarta.persistence.*;
5import lombok.Getter;
6import lombok.Setter;
7import lombok.ToString;
8
9@Getter
10@Setter
11@ToString
12@Entity
13@Table(name = "projection_rooms")
14public class Projection_Room {
15 @Id
16 @Column(name = "id_room", nullable = false)
17 @GeneratedValue(strategy = GenerationType.IDENTITY)
18 Integer id_room;
19 Integer number_of_seats;
20 Integer projection_room_number;
21 @ManyToOne
22 Cinema cinema;
23
24}
Note: See TracBrowser for help on using the repository browser.