narasiahli-be/app/module/activity_logs/response/activity_logs.response.go

19 lines
531 B
Go
Raw Normal View History

2025-09-19 04:08:42 +00:00
package response
import "time"
type ActivityLogsResponse struct {
ID uint `json:"id"`
ActivityTypeId int `json:"activityTypeId"`
Url string `json:"url"`
ArticleId *uint `json:"articleId"`
UserId *uint `json:"userId"`
CreatedAt time.Time `json:"createdAt"`
}
type ActivityStatsResponse struct {
TotalVisitorAllTime int64 `json:"totalVisitorAllTime"`
TotalVisitorToday int64 `json:"totalVisitorToday"`
TotalViewAllTime int64 `json:"totalViewAllTime"`
}