经皮湿水仪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
+23
View File
@@ -0,0 +1,23 @@
package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/express/internal/dao"
)
type CodeModel struct {
modelbase.Base
}
func (m CodeModel) TableName() string {
return modelbase.Prefix() + "code"
}
func (m CodeModel) Init() CodeModel {
m.Table = m.TableName()
return m
}
func (m CodeModel) Create(data *dao.CodeCreate) error {
return m.Base.Create(data)
}