经皮湿水仪init and bind's all api

This commit is contained in:
2026-10-05 17:22:27 +08:00
parent 3d760eb6b9
commit d30b573833
52 changed files with 3092 additions and 250 deletions
@@ -0,0 +1,23 @@
package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/percutaneous/internal/dao"
)
type UsedLogModel struct {
modelbase.Base
}
func (m UsedLogModel) TableName() string {
return modelbase.Prefix() + "used_log"
}
func (m UsedLogModel) Init() UsedLogModel {
m.Table = m.TableName()
return m
}
func (m UsedLogModel) Create(data *dao.UsedLog) error {
return m.Base.Create(data)
}