代码生成

This commit is contained in:
PandaGoAdmin
2022-01-03 19:03:39 +08:00
parent 1a1f137725
commit b6a8fe5e1b
53 changed files with 2467 additions and 459 deletions

View File

@@ -5,4 +5,12 @@ type CasbinRule struct {
RoleKey string `json:"roleKey" gorm:"column:v0"`
Path string `json:"path" gorm:"column:v1"`
Method string `json:"method" gorm:"column:v2"`
V3 string `json:"v3" gorm:"column:v3"`
V4 string `json:"v4" gorm:"column:v4"`
V5 string `json:"v5" gorm:"column:v5"`
Id int `json:"id" gorm:"primary_key;AUTO_INCREMENT;column:id"`
}
func (CasbinRule) TableName() string {
return "casbin_rule"
}