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

24 lines
688 B
Go
Raw Normal View History

2025-11-15 15:46:24 +00:00
package response
import "time"
type CampaignDestinationsResponse struct {
ID uint `json:"id"`
CampaignTypeID uint `json:"campaignTypeId"`
CampaignType *CampaignTypeInfo `json:"campaignType,omitempty"`
SubType *string `json:"subType"`
Name string `json:"name"`
Description *string `json:"description"`
URL *string `json:"url"`
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"`
}