Changeset 2269653 for src/main/java/com
- Timestamp:
- 02/04/23 01:47:15 (23 months ago)
- Branches:
- master
- Children:
- adf250d
- Parents:
- eb226b2
- Location:
- src/main/java/com/example/moviezone
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
reb226b2 r2269653 9 9 import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; 10 10 import org.springframework.security.crypto.password.PasswordEncoder; 11 import org.springframework.web.servlet.config.annotation.EnableWebMvc; 11 12 12 13 13 14 @Configuration 14 15 @EnableWebSecurity 16 @EnableWebMvc 15 17 @EnableGlobalMethodSecurity(securedEnabled = true, prePostEnabled = true) 16 18 public class WebSecurityConfig extends WebSecurityConfigurerAdapter { … … 42 44 .logout() 43 45 .logoutUrl("/logout") 46 .clearAuthentication(true) 44 47 .invalidateHttpSession(true) 45 48 .deleteCookies("JSESSIONID") -
src/main/java/com/example/moviezone/model/Category.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.Setter; 6 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 7 15 8 16 import java.util.Objects; -
src/main/java/com/example/moviezone/model/Cinema.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.Setter; 6 5 import lombok.ToString; 6 7 import javax.persistence.*; 8 7 9 8 10 @Entity -
src/main/java/com/example/moviezone/model/Customer.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.Entity;4 import jakarta.persistence.PrimaryKeyJoinColumn;5 import jakarta.persistence.Table;6 3 import lombok.Getter; 7 4 import lombok.Setter; 8 5 import lombok.ToString; 6 import org.hibernate.Hibernate; 9 7 import org.springframework.security.core.GrantedAuthority; 10 8 9 import javax.persistence.Entity; 10 import javax.persistence.PrimaryKeyJoinColumn; 11 import javax.persistence.Table; 12 import java.time.LocalDate; 11 13 import java.util.Collection; 12 14 import java.util.Collections; 13 15 import java.util.Objects; 14 16 @Entity 15 17 @Getter -
src/main/java/com/example/moviezone/model/Discount.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.Setter; 6 5 import lombok.ToString; 6 import org.springframework.security.core.GrantedAuthority; 7 import org.springframework.security.core.userdetails.UserDetails; 7 8 9 import javax.management.relation.Role; 10 import javax.persistence.*; 8 11 import java.time.LocalDate; 12 import java.time.LocalDateTime; 13 import java.util.Collection; 14 9 15 10 16 @Entity -
src/main/java/com/example/moviezone/model/Event.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.Setter; 6 5 import lombok.ToString; 6 7 import javax.persistence.*; 8 7 9 8 10 import java.time.LocalDate; -
src/main/java/com/example/moviezone/model/Film.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.Setter; 6 5 import lombok.ToString; 6 7 import javax.persistence.*; 8 7 9 8 10 import java.time.LocalDate; -
src/main/java/com/example/moviezone/model/Projection.java
reb226b2 r2269653 2 2 3 3 4 import ja karta.persistence.*;4 import javax.persistence.*; 5 5 import lombok.Getter; 6 6 import lombok.Setter; -
src/main/java/com/example/moviezone/model/Projection_Room.java
reb226b2 r2269653 2 2 3 3 4 import ja karta.persistence.*;4 import javax.persistence.*; 5 5 import lombok.Getter; 6 6 import lombok.Setter; -
src/main/java/com/example/moviezone/model/Salary.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import ja karta.persistence.*;3 import javax.persistence.*; 4 4 import lombok.Getter; 5 5 import lombok.Setter; -
src/main/java/com/example/moviezone/model/Seat.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import ja karta.persistence.*;3 import javax.persistence.*; 4 4 import lombok.Getter; 5 5 import lombok.Setter; -
src/main/java/com/example/moviezone/model/Ticket.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import ja karta.persistence.*;3 import javax.persistence.*; 4 4 import lombok.Getter; 5 5 import lombok.Setter; 6 6 import lombok.ToString; 7 7 8 import java.math.BigInteger; 8 9 import java.time.LocalDate; 9 10 import java.time.LocalDateTime; … … 18 19 @Id 19 20 @GeneratedValue(strategy = GenerationType.IDENTITY) 20 Integerid_ticket;21 int id_ticket; 21 22 22 Integerprice;23 long price; 23 24 LocalDate date_reserved; 24 25 -
src/main/java/com/example/moviezone/model/User.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import jakarta.persistence.*; 3 4 4 import lombok.Getter; 5 5 import lombok.Setter; … … 9 9 10 10 import javax.management.relation.Role; 11 import javax.persistence.*; 11 12 import java.time.LocalDate; 12 13 import java.time.LocalDateTime; -
src/main/java/com/example/moviezone/model/Work_Hours_Weekly.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import ja karta.persistence.*;3 import javax.persistence.*; 4 4 import lombok.Getter; 5 5 import lombok.Setter; -
src/main/java/com/example/moviezone/model/Worker.java
reb226b2 r2269653 1 1 package com.example.moviezone.model; 2 2 3 import ja karta.persistence.*;3 import javax.persistence.*; 4 4 import lombok.Getter; 5 5 import lombok.Setter; -
src/main/java/com/example/moviezone/model/manytomany/CinemaOrganizesEvent.java
reb226b2 r2269653 1 1 package com.example.moviezone.model.manytomany; 2 3 import jakarta.persistence.*;4 2 import lombok.Getter; 5 3 import lombok.RequiredArgsConstructor; 6 4 import lombok.Setter; 7 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 8 15 9 16 @Entity -
src/main/java/com/example/moviezone/model/manytomany/CinemaPlaysFilm.java
reb226b2 r2269653 1 1 package com.example.moviezone.model.manytomany; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.RequiredArgsConstructor; 6 5 import lombok.Setter; 7 6 import lombok.ToString; 7 import org.springframework.security.core.GrantedAuthority; 8 import org.springframework.security.core.userdetails.UserDetails; 9 10 import javax.management.relation.Role; 11 import javax.persistence.*; 12 import java.time.LocalDate; 13 import java.time.LocalDateTime; 14 import java.util.Collection; 8 15 9 16 @Entity -
src/main/java/com/example/moviezone/model/manytomany/CustomerIsInterestedInEvent.java
reb226b2 r2269653 1 1 package com.example.moviezone.model.manytomany; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.RequiredArgsConstructor; 6 5 import lombok.Setter; 7 6 import lombok.ToString; 7 import org.springframework.security.core.GrantedAuthority; 8 import org.springframework.security.core.userdetails.UserDetails; 9 10 import javax.management.relation.Role; 11 import javax.persistence.*; 12 import java.time.LocalDate; 13 import java.time.LocalDateTime; 14 import java.util.Collection; 15 8 16 9 17 @Entity -
src/main/java/com/example/moviezone/model/manytomany/CustomerRatesFilm.java
reb226b2 r2269653 1 1 package com.example.moviezone.model.manytomany; 2 3 import jakarta.persistence.*;4 2 import lombok.Getter; 5 3 import lombok.RequiredArgsConstructor; 6 4 import lombok.Setter; 7 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; 8 14 9 15 @Entity -
src/main/java/com/example/moviezone/model/manytomany/ProjectionIsPlayedInRoom.java
reb226b2 r2269653 1 1 package com.example.moviezone.model.manytomany; 2 2 3 import jakarta.persistence.*;4 3 import lombok.Getter; 5 4 import lombok.RequiredArgsConstructor; 6 5 import lombok.Setter; 7 6 import lombok.ToString; 7 import org.springframework.security.core.GrantedAuthority; 8 import org.springframework.security.core.userdetails.UserDetails; 9 10 import javax.management.relation.Role; 11 import javax.persistence.*; 12 import java.time.LocalDate; 13 import java.time.LocalDateTime; 14 import java.util.Collection; 8 15 9 16 @Entity
Note:
See TracChangeset
for help on using the changeset viewer.