Files
mayfly-go/server/internal/mongo/domain/entity/mongo.go

14 lines
398 B
Go
Raw Normal View History

2022-05-17 20:23:08 +08:00
package entity
import "mayfly-go/pkg/model"
2022-05-17 20:23:08 +08:00
type Mongo struct {
model.Model
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
2022-10-26 20:49:29 +08:00
TagId uint64 `json:"tagId"`
TagPath string `json:"tagPath"`
2022-05-17 20:23:08 +08:00
}