25 lines
431 B
Go
25 lines
431 B
Go
package model
|
|
|
|
import (
|
|
"product/internal/dao"
|
|
|
|
"pkg.local/modelbase"
|
|
)
|
|
|
|
type ActionApplyLogModel struct {
|
|
modelbase.Base
|
|
}
|
|
|
|
func (m ActionApplyLogModel) TableName() string {
|
|
return modelbase.Prefix() + "action_apply_log"
|
|
}
|
|
|
|
func (m ActionApplyLogModel) Init() ActionApplyLogModel {
|
|
m.Table = m.TableName()
|
|
return m
|
|
}
|
|
|
|
func (m ActionApplyLogModel) Create(data *dao.ActionApplyLogCreate) error {
|
|
return m.Base.Create(data)
|
|
}
|