source: src/main/java/com/example/moviezone/model/manytomany/CinemaPlaysFilm.java@ f60cb20

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

customer rates film model

  • Property mode set to 100644
File size: 477 bytes
Line 
1package com.example.moviezone.model.manytomany;
2
3import jakarta.persistence.*;
4import lombok.Getter;
5import lombok.RequiredArgsConstructor;
6import lombok.Setter;
7import lombok.ToString;
8
9@Entity
10@Getter
11@Setter
12@ToString
13@RequiredArgsConstructor
14
15@Table(name = "`cinema_plays_film`")
16
17@IdClass(CinemaPlaysFilmId.class)
18public class CinemaPlaysFilm {
19 @Id
20 @Column(name = "id_cinema")
21 Integer id_cinema;
22
23
24
25 @Id
26 @Column(name = "id_film")
27 Integer id_film;
28}
Note: See TracBrowser for help on using the repository browser.