mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
15 lines
600 B
Go
15 lines
600 B
Go
|
|
package form
|
|||
|
|
|
|||
|
|
type InstanceForm struct {
|
|||
|
|
Id uint64 `json:"id"`
|
|||
|
|
Name string `binding:"required" json:"name"`
|
|||
|
|
Type string `binding:"required" json:"type"` // 类型,mysql oracle等
|
|||
|
|
Host string `binding:"required" json:"host"`
|
|||
|
|
Port int `binding:"required" json:"port"`
|
|||
|
|
Username string `binding:"required" json:"username"`
|
|||
|
|
Password string `json:"password"`
|
|||
|
|
Params string `json:"params"`
|
|||
|
|
Remark string `json:"remark"`
|
|||
|
|
SshTunnelMachineId int `json:"sshTunnelMachineId"`
|
|||
|
|
}
|