forked from ebhomengo/niki
27 lines
575 B
Go
27 lines
575 B
Go
package entity
|
|
|
|
type FilterableFields struct {
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
}
|
|
|
|
type QueryCondition struct {
|
|
FieldName string `json:"field_name"`
|
|
Operation string `json:"operation"`
|
|
Value string `json:"value"`
|
|
}
|
|
|
|
type GetReportDataResponse struct {
|
|
StatusCode int `json:"status"`
|
|
Message string `json:"message"`
|
|
Header []struct {
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
} `json:"header"`
|
|
Data [][]struct {
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
Value string `json:"value"`
|
|
} `json:"data"`
|
|
}
|