Files
mayfly-go/server/internal/redis/domain/entity/query.go

19 lines
562 B
Go
Raw Normal View History

2022-10-26 20:49:29 +08:00
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"`
SshTunnelMachineId int `orm:"column(ssh_tunnel_machine_id)" json:"sshTunnelMachineId"` // ssh隧道机器id
2022-10-26 20:49:29 +08:00
Remark string
Codes []string
TagPath string `form:"tagPath"`
2022-10-26 20:49:29 +08:00
}