20 lines
714 B
Go
20 lines
714 B
Go
// 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
|
|
}
|