add: kpiC report 2 FE
This commit is contained in:
@@ -32,6 +32,7 @@ type KpiCReport struct {
|
||||
|
||||
type KpiCReportQuery struct {
|
||||
NeType string `json:"neType" form:"neType" binding:"required"`
|
||||
NeID string `json:"neId" form:"neId" binding:"required"`
|
||||
RmUID string `json:"rmUID" form:"rmUID"`
|
||||
StartTime string `json:"startTime" form:"startTime"`
|
||||
EndTime string `json:"endTime" form:"endTime"`
|
||||
@@ -43,6 +44,17 @@ type KpiCReportQuery struct {
|
||||
PageSize int `json:"pageSize" form:"pageSize"`
|
||||
}
|
||||
|
||||
type KpiCReport2FE struct {
|
||||
NeType string `json:"neType" gorm:"column:ne_type"`
|
||||
NeId string `json:"neId"`
|
||||
NeName string `json:"neName" gorm:"column:ne_name"`
|
||||
RmUID string `json:"rmUid" gorm:"column:rm_uid"`
|
||||
TimeGroup string `json:"timeGroup"`
|
||||
StartIndex int16 `json:"startIndex" gorm:"column:index"`
|
||||
Granularity int8 `json:"granularity" gorm:"column:granularity"`
|
||||
TenantID string `json:"tenantID" gorm:"column:tenant_id"`
|
||||
}
|
||||
|
||||
func TableName() string {
|
||||
return "kpi_c_report"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user