You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
307 B
9 lines
307 B
package model
|
|
|
|
type CasbinModel struct {
|
|
ID uint `json:"id" gorm:"column:_id"`
|
|
Ptype string `json:"ptype" gorm:"column:ptype"`
|
|
AuthorityId string `json:"rolename" gorm:"column:v0"`
|
|
Path string `json:"path" gorm:"column:v1"`
|
|
Method string `json:"method" gorm:"column:v2"`
|
|
}
|