2022-10-26 20:49:29 +08:00
|
|
|
package entity
|
|
|
|
|
|
2024-01-15 20:51:41 +08:00
|
|
|
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"`
|
2024-04-29 12:50:49 +08:00
|
|
|
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"`
|
2023-12-05 23:03:51 +08:00
|
|
|
|
|
|
|
|
Codes []string
|
2023-07-08 20:05:55 +08:00
|
|
|
}
|
2022-10-26 20:49:29 +08:00
|
|
|
|
2023-07-08 20:05:55 +08:00
|
|
|
type AuthCertQuery struct {
|
|
|
|
|
Id uint64 `json:"id" form:"id"`
|
|
|
|
|
Name string `json:"name" form:"name"`
|
2024-04-29 17:09:41 +08:00
|
|
|
AuthMethod string `json:"authMethod" form:"authMethod"`
|
2022-10-26 20:49:29 +08:00
|
|
|
}
|
2024-01-15 20:51:41 +08:00
|
|
|
|
|
|
|
|
type MachineTermOpQuery struct {
|
|
|
|
|
StartCreateTime *time.Time
|
|
|
|
|
}
|