Class Role

java.lang.Object
com.Server.entiy.Role

@Entity
public class Role
extends java.lang.Object
Entity role to store Role data.
Since:
2020-12-29.
Version:
1.0
Author:
Krystian Cwioro Kamil Bieniasz Damian Mierzynski.
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.lang.Integer id  
    private Roles name  
    private java.util.List<User> users  
  • Constructor Summary

    Constructors
    Constructor Description
    Role()  
  • Method Summary

    Modifier and Type Method Description
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • id

      private java.lang.Integer id
    • name

      private Roles name
    • users

      private java.util.List<User> users
  • Constructor Details

    • Role

      public Role()
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object