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

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

Fixing errors

  • Property mode set to 100644
File size: 508 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 @JoinColumn(name = "id_cinema")
23 Cinema cinema;
24
25}
Note: See TracBrowser for help on using the repository browser.