Compare commits

...

3 Commits

2 changed files with 15 additions and 0 deletions

7
identity/entity/role.go Normal file
View File

@@ -0,0 +1,7 @@
package identity
type Role struct {
ID string `db:"id" json:"id"`
Roles []byte `db:"roles" json:"roles"`
URL string `db:"url" json:"url"`
}

View File

@@ -0,0 +1,8 @@
package identity
type URLAccess struct {
ID string `db:"id" json:"id"`
Roles []string `db:"roles" json:"roles"`
URL string `db:"url" json:"url"`
Service string `db:"service" json:"serice"`
}