feat: rebind mobile
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
import "lone-services/pkg/modelbase"
|
||||
|
||||
type ImageAnalysisSubModel struct {
|
||||
modelbase.Base
|
||||
}
|
||||
|
||||
func (m ImageAnalysisSubModel) TableName() string {
|
||||
return modelbase.Prefix() + "images_analyses_sub"
|
||||
}
|
||||
|
||||
func (m ImageAnalysisSubModel) Init() ImageAnalysisSubModel {
|
||||
m.Table = m.TableName()
|
||||
return m
|
||||
}
|
||||
Reference in New Issue
Block a user