c4eede1114
CI / changes (push) Successful in 1m32s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / analysis (push) Successful in 3m45s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / record (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / user (push) Successful in 1s
CI / task (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
30 lines
500 B
Go
30 lines
500 B
Go
package model
|
|
|
|
import "lone-services/pkg/modelbase"
|
|
|
|
type GraphModel struct {
|
|
modelbase.Base
|
|
}
|
|
|
|
func (m GraphModel) TableName() string {
|
|
return modelbase.Prefix() + "skin_user_graphs"
|
|
}
|
|
|
|
func (m GraphModel) Init() GraphModel {
|
|
m.Table = m.TableName()
|
|
return m
|
|
}
|
|
|
|
type GraphTypeModel struct {
|
|
modelbase.Base
|
|
}
|
|
|
|
func (m GraphTypeModel) TableName() string {
|
|
return modelbase.Prefix() + "skin_user_graph_type"
|
|
}
|
|
|
|
func (m GraphTypeModel) Init() GraphTypeModel {
|
|
m.Table = m.TableName()
|
|
return m
|
|
}
|