source: src/main/java/com/example/moviezone/model/manytomany/CinemaOrganizesEvent.java@ 2269653

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

First Run No error

  • Property mode set to 100644
File size: 741 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
16@Entity
17@Getter
18@Setter
19@ToString
20@RequiredArgsConstructor
21@Table(name = "`cinema_organizes_event`")
22@IdClass(CinemaOrganizesEventId.class)
23public class CinemaOrganizesEvent {
24 @Id
25 @Column(name = "id_cinema")
26 Integer id_cinema;
27 @Column(name = "id_event")
28 @Id
29 Integer id_event;
30}
Note: See TracBrowser for help on using the repository browser.