campaignpool-be/app/module/campaign_destinations/response/campaign_destinations.respo...

24 lines
694 B
Go

package response
import "time"
type CampaignDestinationsResponse struct {
ID uint `json:"id"`
CampaignTypeID uint `json:"campaign_type_id"`
CampaignType *CampaignTypeInfo `json:"campaign_type,omitempty"`
SubType string `json:"sub_type"`
Name string `json:"name"`
Description *string `json:"description"`
URL *string `json:"url"`
IsActive *bool `json:"is_active"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type CampaignTypeInfo struct {
ID uint `json:"id"`
Name string `json:"name"`
Description *string `json:"description"`
}