21 lines
356 B
Go
21 lines
356 B
Go
package model
|
|
|
|
import "lone-services/pkg/modelbase"
|
|
|
|
type ActionModel struct {
|
|
modelbase.Base
|
|
}
|
|
|
|
func (m ActionModel) TableName() string {
|
|
return modelbase.Prefix() + "admin_action"
|
|
}
|
|
|
|
func (m ActionModel) Init() ActionModel {
|
|
m.Table = m.TableName()
|
|
return m
|
|
}
|
|
|
|
//func (m ActionModel) Create(data *dao.Admin) error {
|
|
// return m.Base.Create(data)
|
|
//}
|