Last change
on this file since 5867520 was 2269653, checked in by DenicaKj <dkorvezir@…>, 2 years ago |
First Run No error
|
-
Property mode
set to
100644
|
File size:
734 bytes
|
Line | |
---|
1 | package com.example.moviezone.model.manytomany;
|
---|
2 | import lombok.Getter;
|
---|
3 | import lombok.RequiredArgsConstructor;
|
---|
4 | import lombok.Setter;
|
---|
5 | import lombok.ToString;
|
---|
6 | import org.springframework.security.core.GrantedAuthority;
|
---|
7 | import org.springframework.security.core.userdetails.UserDetails;
|
---|
8 |
|
---|
9 | import javax.management.relation.Role;
|
---|
10 | import javax.persistence.*;
|
---|
11 | import java.time.LocalDate;
|
---|
12 | import java.time.LocalDateTime;
|
---|
13 | import java.util.Collection;
|
---|
14 |
|
---|
15 | @Entity
|
---|
16 | @Getter
|
---|
17 | @Setter
|
---|
18 | @ToString
|
---|
19 | @RequiredArgsConstructor
|
---|
20 | @Table(name = "`customer_rates_film`")
|
---|
21 | @IdClass(CustomerRatesFilmId.class)
|
---|
22 | public 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.