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

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

customer rates film model

  • Property mode set to 100644
File size: 483 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@Table(name = "`customer_rates_film`")
15@IdClass(CustomerRatesFilmId.class)
16public class CustomerRatesFilm {
17
18 @Id
19 @Column(name ="id_customer")
20 Integer id_customer;
21
22 @Id
23 @Column(name ="id_film")
24 Integer id_film;
25
26}
Note: See TracBrowser for help on using the repository browser.