package models // HealthResponse represents the health check response type HealthResponse struct { Status string `json:"status"` Timestamp string `json:"timestamp"` Details map[string]string `json:"details"` } // HelloWorldResponse represents the hello world response type HelloWorldResponse struct { Message string `json:"message"` Version string `json:"version"` } // ErrorResponse represents an error response type ErrorResponse struct { Error string `json:"error"` Message string `json:"message"` Code int `json:"code"` } // SuccessResponse represents a generic success response type SuccessResponse struct { Success bool `json:"success"` Message string `json:"message"` Data interface{} `json:"data,omitempty"` } // Pagination represents pagination metadata type Pagination struct { Page int `json:"page"` Limit int `json:"limit"` Total int `json:"total"` TotalPages int `json:"total_pages"` } // PaginatedResponse represents a paginated response type PaginatedResponse struct { Data interface{} `json:"data"` Pagination Pagination `json:"pagination"` }