19 lines
693 B
Go
19 lines
693 B
Go
package response
|
|
|
|
import "time"
|
|
|
|
type UserRoleAccessesResponse struct {
|
|
ID uint `json:"id"`
|
|
UserRoleId uint `json:"user_role_id"`
|
|
MenuId int `json:"menu_id"`
|
|
IsViewEnabled bool `json:"is_view_enabled"`
|
|
IsInsertEnabled bool `json:"is_insert_enabled"`
|
|
IsUpdateEnabled bool `json:"is_update_enabled"`
|
|
IsDeleteEnabled bool `json:"is_delete_enabled"`
|
|
IsApprovalEnabled bool `json:"is_approval_enabled"`
|
|
IsAdminEnabled bool `json:"is_admin_enabled"`
|
|
IsActive *bool `json:"is_active"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|