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

26 lines
638 B
Go
Raw Normal View History

2022-10-26 20:49:29 +08:00
package entity
import "time"
2022-10-26 20:49:29 +08:00
type MachineQuery struct {
2024-05-16 17:26:32 +08:00
Id uint64 `json:"id" form:"id"`
Code string `json:"code" form:"code"`
Name string `json:"name" form:"name"`
Status int8 `json:"status" form:"status"`
Ip string `json:"ip" form:"ip"` // IP地址
TagPath string `json:"tagPath" form:"tagPath"`
Protocol int8 `json:"protocol" form:"protocol"`
Codes []string
}
2022-10-26 20:49:29 +08:00
type AuthCertQuery struct {
Id uint64 `json:"id" form:"id"`
Name string `json:"name" form:"name"`
AuthMethod string `json:"authMethod" form:"authMethod"`
2022-10-26 20:49:29 +08:00
}
type MachineTermOpQuery struct {
StartCreateTime *time.Time
}