package response import "time" type CampaignsResponse struct { ID uint `json:"id"` Title string `json:"title"` CampaignTypeID uint `json:"campaignTypeId"` CampaignType *CampaignTypeInfo `json:"campaignType,omitempty"` StartDate *time.Time `json:"startDate"` EndDate *time.Time `json:"endDate"` MediaTypeSelected *string `json:"mediaTypeSelected"` MediaItemSelected *string `json:"mediaItemSelected"` Purpose *string `json:"purpose"` MediaPromote *bool `json:"mediaPromote"` Description *string `json:"description"` CreatorID uint `json:"creatorId"` Creator *CreatorInfo `json:"creator,omitempty"` Status string `json:"status"` IsActive *bool `json:"isActive"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` } type CampaignTypeInfo struct { ID uint `json:"id"` Name string `json:"name"` Description *string `json:"description"` } type CreatorInfo struct { ID uint `json:"id"` Fullname string `json:"fullname"` Email string `json:"email"` }