38e040af07
CI / changes (push) Successful in 37s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 17s
CI / bff (push) Successful in 13s
CI / chore (push) Successful in 15s
CI / equipment (push) Successful in 14s
CI / express (push) Successful in 14s
CI / product (push) Successful in 13s
CI / record (push) Successful in 13s
CI / sale (push) Successful in 13s
CI / task (push) Successful in 13s
CI / user (push) Successful in 14s
CI / wecom (push) Successful in 13s
19 lines
265 B
Go
19 lines
265 B
Go
package model
|
|
|
|
import (
|
|
"lone-services/pkg/modelbase"
|
|
)
|
|
|
|
type SystemModel struct {
|
|
modelbase.Base
|
|
}
|
|
|
|
func (m SystemModel) TableName() string {
|
|
return modelbase.Prefix() + "system"
|
|
}
|
|
|
|
func (m SystemModel) Init() SystemModel {
|
|
m.Table = m.TableName()
|
|
return m
|
|
}
|