Files
gb28181/internal/core/config/model.go
T
2025-11-21 21:52:47 +08:00

23 lines
482 B
Go
Executable File

// Code generated by godddx, DO AVOID EDIT.
package config
import "github.com/ixugo/goddd/pkg/orm"
// Ext domain model
type Ext struct {
SIP *SIPConfig `json:"sip,omitempty"`
}
// Scan implements orm.Scaner.
func (i *Ext) Scan(input interface{}) error {
return orm.JSONUnmarshal(input, i)
}
type SIPConfig struct {
Host string `json:"host"`
Port int `json:"port"`
ID string `json:"id"`
Domain string `json:"domain"`
Password string `json:"password"`
}