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

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

First Run No error

  • Property mode set to 100644
File size: 729 bytes
Line 
1package com.example.moviezone.model.manytomany;
2
3import lombok.Getter;
4import lombok.RequiredArgsConstructor;
5import lombok.Setter;
6import lombok.ToString;
7import org.springframework.security.core.GrantedAuthority;
8import org.springframework.security.core.userdetails.UserDetails;
9
10import javax.management.relation.Role;
11import javax.persistence.*;
12import java.time.LocalDate;
13import java.time.LocalDateTime;
14import java.util.Collection;
15
16@Entity
17@Getter
18@Setter
19@ToString
20@RequiredArgsConstructor
21
22@Table(name = "`cinema_plays_film`")
23
24@IdClass(CinemaPlaysFilmId.class)
25public class CinemaPlaysFilm {
26 @Id
27 @Column(name = "id_cinema")
28 Integer id_cinema;
29
30
31
32 @Id
33 @Column(name = "id_film")
34 Integer id_film;
35}
Note: See TracBrowser for help on using the repository browser.