annotation/internal/proto/request.go

25 lines
608 B
Go
Raw Normal View History

2023-05-12 16:53:21 +08:00
package proto
type ListRequest struct {
Path string `json:"path"`
IsIncludeSubdirectories bool `json:"isIncludeSubdirectories"`
BasePageList
}
type BasePageList struct {
Page int64 `json:"page,omitempty" form:"page"`
Size int64 `json:"pageSize,omitempty" form:"pageSize"`
2023-05-12 16:53:21 +08:00
}
type LabelRequest struct {
FileList []string `json:"fileList"`
LabelStatus bool `json:"labelStatus"`
BizType int `json:"bizType"`
}
type CaptureRequest struct {
FileList []string `json:"fileList"`
DatasetName string `json:"datasetName"`
2023-05-12 16:53:21 +08:00
BizType int `json:"bizType"`
}