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

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

CinemaPlaysFilm and CustomerInterestedInEvent

  • Property mode set to 100644
File size: 504 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_is_interested_in_event`")
15@IdClass(CinemaPlaysFilmId.class)
16public class CustomerIsInterestedInEvent {
17 @Id
18 @Column(name = "id_customer")
19 Integer id_customer;
20 @Column(name = "id_event")
21 @Id
22 Integer id_event;
23}
Note: See TracBrowser for help on using the repository browser.