beans , mask admin
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 3m1s
CI / admin (push) Successful in 34s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 34s
CI / equipment (push) Failing after 11s
CI / express (push) Successful in 27s
CI / factory (push) Successful in 32s
CI / payment (push) Successful in 29s
CI / product (push) Successful in 30s
CI / record (push) Successful in 30s
CI / sale (push) Successful in 30s
CI / task (push) Successful in 32s
CI / user (push) Successful in 31s
CI / wecom (push) Successful in 33s

This commit is contained in:
2026-09-18 16:27:13 +08:00
parent 2b19937065
commit d597975b42
21 changed files with 2778 additions and 39 deletions
@@ -0,0 +1,23 @@
package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/equipment/internal/dao"
)
type BeansModel struct {
modelbase.Base
}
func (m BeansModel) TableName() string {
return modelbase.Prefix() + "beans"
}
func (m BeansModel) Init() BeansModel {
m.Table = m.TableName()
return m
}
func (m BeansModel) Create(data *dao.BeansCreate) error {
return m.Base.Create(data)
}
+23
View File
@@ -0,0 +1,23 @@
package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/equipment/internal/dao"
)
type BindModel struct {
modelbase.Base
}
func (m BindModel) TableName() string {
return modelbase.Prefix() + "bind"
}
func (m BindModel) Init() BindModel {
m.Table = m.TableName()
return m
}
func (m BindModel) Create(data *dao.BindCreate) error {
return m.Base.Create(data)
}
@@ -0,0 +1,23 @@
package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/equipment/internal/dao"
)
type BindHistoryModel struct {
modelbase.Base
}
func (m BindHistoryModel) TableName() string {
return modelbase.Prefix() + "bind_history"
}
func (m BindHistoryModel) Init() BindHistoryModel {
m.Table = m.TableName()
return m
}
func (m BindHistoryModel) Create(data *dao.BindHistoryCreate) error {
return m.Base.Create(data)
}
+23
View File
@@ -0,0 +1,23 @@
package model
import (
"lone-services/pkg/modelbase"
"lone-services/services/equipment/internal/dao"
)
type MaskModel struct {
modelbase.Base
}
func (m MaskModel) TableName() string {
return modelbase.Prefix() + "version"
}
func (m MaskModel) Init() MaskModel {
m.Table = m.TableName()
return m
}
func (m MaskModel) Create(data *dao.MaskCreate) error {
return m.Base.Create(data)
}