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

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

First Run No error

  • Property mode set to 100644
File size: 506 bytes
Line 
1package com.example.moviezone.model;
2
3
4import javax.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.