Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| caab22d489 | |||
| 4972989610 |
7
identity/entity/role.go
Normal file
7
identity/entity/role.go
Normal 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"`
|
||||||
|
}
|
||||||
7
identity/entity/url_access.go
Normal file
7
identity/entity/url_access.go
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package identity
|
||||||
|
|
||||||
|
type URLAccess struct {
|
||||||
|
ID string `db:"id" json:"id"`
|
||||||
|
Roles []byte `db:"roles" json:"roles"`
|
||||||
|
URL string `db:"url" json:"url"`
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user