Files
lone-services/product/internal/model/action_apply_log_model.go
T
2026-08-11 09:30:38 +08:00

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)
}