rts-sim-testing-service/db/model/auth_role_api_path.gen.go

20 lines
714 B
Go
Raw Normal View History

2023-08-30 09:28:21 +08:00
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
const TableNameAuthRoleAPIPath = "auth_role_api_path"
// AuthRoleAPIPath mapped from table <auth_role_api_path>
type AuthRoleAPIPath struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
Rid int32 `gorm:"column:rid;comment:角色ID" json:"rid"` // 角色ID
Pid int32 `gorm:"column:pid;comment:路径ID" json:"pid"` // 路径ID
}
// TableName AuthRoleAPIPath's table name
func (*AuthRoleAPIPath) TableName() string {
return TableNameAuthRoleAPIPath
}