qudoco-be/app/module/feedbacks/response/feedbacks.response.go

23 lines
699 B
Go

package response
import "time"
type FeedbacksResponse struct {
ID uint `json:"id"`
Message string `json:"message"`
CommentFromName string `json:"commentFromName"`
CommentFromEmail string `json:"commentFromEmail"`
StatusId int `json:"statusId"`
ApprovedAt *time.Time `json:"approvedAt"`
ReplyMessage *string `json:"replyMessage"`
IsActive bool `json:"isActive"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type FeedbacksMonthlyStats struct {
Year int `json:"year"`
Month int `json:"month"`
Suggestions []int `json:"suggestions"`
}