RoleDTO

📄 Description: Data transfer object representing a user role within the system, encapsulating essential attributes such as role name, permissions, and associated metadata to facilitate effective access management and organizational structure.

Properties

Name

Type

Required

Restrictions

Description

id

integer(int64)

false

none

Unique identifier for the resource

createdBy

string

false

none

Username of who created this resource

createdAt

string(date-time)

false

none

Timestamp when this resource was created

roleName

string

false

none

Name of the role

entity

string

false

none

Represents the specific role associated with the user, facilitating role-based access and permissions within the system.

permissions

[string]

false

none

Array of RoleDTO objects that defines the specific permissions assigned to a user within the system, facilitating role-based access control.