18 lines
725 B
Go
18 lines
725 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type ModelConfig struct {
|
|
Id int64 `orm:"id" json:"id"`
|
|
Name string `orm:"name" json:"name"`
|
|
ModelType string `orm:"model_type" json:"model_type"`
|
|
ModelName string `orm:"model_name" json:"model_name"`
|
|
EndpointUrl string `orm:"endpoint_url" json:"endpoint_url"`
|
|
ApiKey string `orm:"api_key" json:"api_key"`
|
|
Dimension int `orm:"dimension" json:"dimension"`
|
|
Extra string `orm:"extra" json:"extra"`
|
|
IsDefault int `orm:"is_default" json:"is_default"`
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"`
|
|
}
|