40 lines
1.4 KiB
Go
40 lines
1.4 KiB
Go
package response
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type SchedulesResponse struct {
|
|
ID uint `json:"id"`
|
|
Title string `json:"title"`
|
|
Description string `json:"description"`
|
|
Location string `json:"location"`
|
|
IsLiveStreaming *bool `json:"isLiveStreaming"`
|
|
LiveStreamingUrl *string `json:"liveStreamingUrl"`
|
|
TypeId int `json:"typeId"`
|
|
TypeName string `json:"typeName"`
|
|
StartDate *time.Time `json:"startDate"`
|
|
EndDate *time.Time `json:"endDate"`
|
|
StartTime *string `json:"startTime"`
|
|
EndTime *string `json:"endTime"`
|
|
Speakers string `json:"speakers"`
|
|
PosterImagePath *string `json:"posterImagePath"`
|
|
CreatedById *uint `json:"createdById"`
|
|
CreatedByName *string `json:"createdByName"`
|
|
StatusId *int `json:"statusId"`
|
|
StatusName *string `json:"statusName"`
|
|
ClientName *string `json:"clientName"`
|
|
ClientSlug *string `json:"clientSlug"`
|
|
IsActive *bool `json:"isActive"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|
|
|
|
type SchedulesSummaryStats struct {
|
|
TotalToday int `json:"totalToday"`
|
|
TotalThisWeek int `json:"totalThisWeek"`
|
|
TotalAll int `json:"totalAll"`
|
|
TotalLive int `json:"totalLive"`
|
|
TotalUpcoming int `json:"totalUpcoming"`
|
|
}
|