Files
lone-services/services/chore/internal/model/action_apply_log.go
T
2026-09-17 10:18:43 +08:00

24 lines
459 B
Go

package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/chore/internal/dao"
)
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)
}