source: src/main/java/com/example/moviezone/model/manytomany/CustomerRatesFilm.java@ 43a1688

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

First Run No error

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