update report function
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
package models
|
||||
|
||||
type Date struct {
|
||||
From string ` json:"from,omitempty"`
|
||||
To string ` json:"to,omitempty"`
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
package models
|
||||
|
||||
type ReportFilter struct {
|
||||
Weekdays Weekdays `json:"weekdays"`
|
||||
Date Date `json:"date"`
|
||||
Groups []uint `json:"groupIds,omitempty"`
|
||||
Name []string `json:"name,omitempty"`
|
||||
Date []string `json:"date"`
|
||||
Groups []uint `json:"groupIds,omitempty"`
|
||||
Name []string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type Report struct {
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
package models
|
||||
|
||||
type Weekdays struct {
|
||||
Monday bool `json:"monday,omitempty"`
|
||||
Tuesday bool `json:"tuesday,omitempty"`
|
||||
Wednesday bool `json:"wednesday,omitempty"`
|
||||
Thursday bool `json:"thursday,omitempty"`
|
||||
Friday bool `json:"friday,omitempty"`
|
||||
Saturday bool `json:"saturday,omitempty"`
|
||||
Sunday bool `json:"sunday,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user