mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 07:50:25 +08:00
21 lines
696 B
Go
21 lines
696 B
Go
package entity
|
|
|
|
import "mayfly-go/pkg/model"
|
|
|
|
type RedisQuery struct {
|
|
model.Model
|
|
|
|
Name string `orm:"column(name)" json:"name"`
|
|
Host string `orm:"column(host)" json:"host"`
|
|
Mode string `json:"mode"`
|
|
Password string `orm:"column(password)" json:"-"`
|
|
Db string `orm:"column(database)" json:"db"`
|
|
EnableSshTunnel int8 `orm:"column(enable_ssh_tunnel)" json:"enableSshTunnel"` // 是否启用ssh隧道
|
|
SshTunnelMachineId uint64 `orm:"column(ssh_tunnel_machine_id)" json:"sshTunnelMachineId"` // ssh隧道机器id
|
|
Remark string
|
|
TagId uint64
|
|
|
|
TagIds []uint64
|
|
TagPathLike string
|
|
}
|