mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 16:01:16 +00:00
22 lines
531 B
Go
22 lines
531 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type CampaignLog struct {
|
|
ID uuid.UUID `json:"id"`
|
|
CampaignID uuid.UUID `json:"campaign_id"`
|
|
EventType string `json:"event_type"`
|
|
Message string `json:"message"`
|
|
Metadata map[string]interface{} `json:"metadata"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|
|
|
|
type CampaignLogsResult struct {
|
|
Data []CampaignLog `json:"data"`
|
|
Pagination CPagination `json:"pagination"`
|
|
}
|