// 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 TableNameAdminOperation = "admin_operation"

// AdminOperation mapped from table <admin_operation>
type AdminOperation struct {
	ID   int32  `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	Name string `gorm:"column:name;not null;comment:操作名称" json:"name"` // 操作名称
	API  string `gorm:"column:api;not null;comment:接口路由" json:"api"`   // 接口路由
}

// TableName AdminOperation's table name
func (*AdminOperation) TableName() string {
	return TableNameAdminOperation
}
