Class User

java.lang.Object
com.esprit.models.users.User
Direct Known Subclasses:
Admin, CinemaManager, Client

@Entity public abstract class User extends Object
Abstract User entity representing the base user model Fixed issues: phoneNumber changed from int to String for proper phone handling Added proper Hibernate annotations and Lombok annotations
  • Field Details

    • id

      private Long id
    • firstName

      private String firstName
    • lastName

      private String lastName
    • phoneNumber

      private String phoneNumber
    • password

      private String password
    • role

      private String role
    • address

      private String address
    • birthDate

      private Date birthDate
    • email

      private String email
    • photoDeProfil

      private String photoDeProfil
  • Constructor Details