source: src/main/java/com/example/moviezone/model/Seat.java@ 11dea8f

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

Update to Projection

  • Property mode set to 100644
File size: 465 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 = "seats")
13public class Seat {
14 @Id
15 @Column(name = "id_seat", nullable = false)
16 @GeneratedValue(strategy = GenerationType.IDENTITY)
17 Integer id_seat;
18 Integer seat_number;
19 @ManyToOne
20 Projection_Room projection_room;
21 @ManyToOne
22 Category category;
23
24}
Note: See TracBrowser for help on using the repository browser.