mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-19 01:15:40 +08:00
19 lines
426 B
Go
19 lines
426 B
Go
package vo
|
|
|
|
import (
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type Mongo struct {
|
|
model.Model
|
|
|
|
Code string `orm:"column(code)" json:"code"`
|
|
Name string `orm:"column(name)" json:"name"`
|
|
Uri string `orm:"column(uri)" json:"uri"`
|
|
SshTunnelMachineId int `orm:"column(ssh_tunnel_machine_id)" json:"sshTunnelMachineId"` // ssh隧道机器id
|
|
}
|
|
|
|
func (m *Mongo) GetCode() string {
|
|
return m.Code
|
|
}
|