21 lines
817 B
Go
21 lines
817 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 TableNameAuthAPIPath = "auth_api_path"
|
|
|
|
// AuthAPIPath mapped from table <auth_api_path>
|
|
type AuthAPIPath struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
|
|
Name string `gorm:"column:name;comment:功能名称" json:"name"` // 功能名称
|
|
Path string `gorm:"column:path;comment:请求路径" json:"path"` // 请求路径
|
|
Method string `gorm:"column:method;comment:请求方式" json:"method"` // 请求方式
|
|
}
|
|
|
|
// TableName AuthAPIPath's table name
|
|
func (*AuthAPIPath) TableName() string {
|
|
return TableNameAuthAPIPath
|
|
}
|