20 lines
395 B
Go
20 lines
395 B
Go
package access
|
|
|
|
type RolePermissionModel struct {
|
|
ID string `db:"id"`
|
|
Name string `db:"name"`
|
|
IsActive bool `db:"is_active"`
|
|
}
|
|
|
|
type RolePageModel struct {
|
|
ID string `db:"id"`
|
|
PagePath string `db:"page_path"`
|
|
}
|
|
|
|
type RoleUserModel struct {
|
|
ID string `db:"id"`
|
|
Name string `db:"name"`
|
|
Email string `db:"email"`
|
|
KeycloakId string `db:"keycloak_id"`
|
|
}
|