2025-02-07 04:07:13 +00:00
|
|
|
package response
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type ActivityLogsResponse struct {
|
|
|
|
|
ID uint `json:"id"`
|
|
|
|
|
ActivityTypeId int `json:"activityTypeId"`
|
|
|
|
|
Url string `json:"url"`
|
2025-02-15 01:56:13 +00:00
|
|
|
ArticleId *uint `json:"articleId"`
|
2025-02-07 04:07:13 +00:00
|
|
|
UserId *uint `json:"userId"`
|
|
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
|
|
|
}
|
2025-04-20 16:04:21 +00:00
|
|
|
|
|
|
|
|
type ActivityStatsResponse struct {
|
|
|
|
|
TotalVisitorAllTime int64 `json:"totalVisitorAllTime"`
|
|
|
|
|
TotalVisitorToday int64 `json:"totalVisitorToday"`
|
|
|
|
|
TotalViewAllTime int64 `json:"totalViewAllTime"`
|
|
|
|
|
}
|