Class RoleEntity

java.lang.Object
fr.tiogars.domaintemplate.domains.auth.role.entities.RoleEntity

@Entity public class RoleEntity extends Object
Persists an authorization role.
  • Constructor Details

    • RoleEntity

      protected RoleEntity()
    • RoleEntity

      public RoleEntity(String code, String label, Instant createdDate, Instant lastModifiedDate)
  • Method Details

    • update

      public void update(String label, Instant lastModifiedDate)
    • getId

      public Long getId()
    • getCode

      public String getCode()
    • getLabel

      public String getLabel()
    • getCreatedDate

      public Instant getCreatedDate()
    • getLastModifiedDate

      public Instant getLastModifiedDate()