Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Issue Check Inactive / issue-check-inactive (push) Has been cancelled
18 lines
588 B
Go
18 lines
588 B
Go
package models
|
|
|
|
// CasbinRule sys_casbin_rule
|
|
type CasbinRule struct {
|
|
ID uint `gorm:"primaryKey;autoIncrement"`
|
|
Ptype string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
V0 string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
V1 string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
V2 string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
V3 string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
V4 string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
V5 string `gorm:"size:512;uniqueIndex:unique_index"`
|
|
}
|
|
|
|
func (CasbinRule) TableName() string {
|
|
return "sys_casbin_rule"
|
|
}
|