update field #93
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -11,21 +11,22 @@ type ResponseCampaignTransactionAll struct {
 | 
			
		|||
 | 
			
		||||
// ResponseNatsCampaignTransaction ...
 | 
			
		||||
type ResponseNatsCampaignTransaction struct {
 | 
			
		||||
	ID             string                         `json:"_id"`
 | 
			
		||||
	Cash           float64                        `json:"cash"`
 | 
			
		||||
	Campaign       ResponseCampaignShortInfo      `json:"campaign"`
 | 
			
		||||
	Seller         primitive.ObjectID             `json:"seller"`
 | 
			
		||||
	Type           string                         `json:"type"`
 | 
			
		||||
	Status         string                         `json:"status"`
 | 
			
		||||
	RejectedReason string                         `json:"rejectedReason"`
 | 
			
		||||
	CreatedAt      string                         `json:"createdAt"`
 | 
			
		||||
	UpdatedAt      string                         `json:"updatedAt"`
 | 
			
		||||
	Item           *ResponseCampaignItemShortInfo `json:"item"`
 | 
			
		||||
	ApprovedBy     primitive.ObjectID             `json:"approvedBy,omitempty"`
 | 
			
		||||
	RejectedBy     primitive.ObjectID             `json:"rejectedBy,omitempty"`
 | 
			
		||||
	ApprovedAt     string                         `json:"approvedAt,omitempty"`
 | 
			
		||||
	RejectedAt     string                         `json:"rejectedAt,omitempty"`
 | 
			
		||||
	CompletedAt    string                         `json:"completedAt,omitempty"`
 | 
			
		||||
	ID             string                             `json:"_id"`
 | 
			
		||||
	Cash           float64                            `json:"cash"`
 | 
			
		||||
	Campaign       ResponseCampaignShortInfo          `json:"campaign"`
 | 
			
		||||
	Options        ResponseCampaignTransactionOptions `json:"options"`
 | 
			
		||||
	Seller         primitive.ObjectID                 `json:"seller"`
 | 
			
		||||
	Type           string                             `json:"type"`
 | 
			
		||||
	Status         string                             `json:"status"`
 | 
			
		||||
	RejectedReason string                             `json:"rejectedReason"`
 | 
			
		||||
	CreatedAt      string                             `json:"createdAt"`
 | 
			
		||||
	UpdatedAt      string                             `json:"updatedAt"`
 | 
			
		||||
	Item           *ResponseCampaignItemShortInfo     `json:"item"`
 | 
			
		||||
	ApprovedBy     primitive.ObjectID                 `json:"approvedBy,omitempty"`
 | 
			
		||||
	RejectedBy     primitive.ObjectID                 `json:"rejectedBy,omitempty"`
 | 
			
		||||
	ApprovedAt     string                             `json:"approvedAt,omitempty"`
 | 
			
		||||
	RejectedAt     string                             `json:"rejectedAt,omitempty"`
 | 
			
		||||
	CompletedAt    string                             `json:"completedAt,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ResponseCampaignShortInfo ...
 | 
			
		||||
| 
						 | 
				
			
			@ -41,3 +42,11 @@ type ResponseCampaignItemShortInfo struct {
 | 
			
		|||
	Name   string `json:"name"`
 | 
			
		||||
	Status string `json:"status"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ResponseCampaignTransactionOptions ...
 | 
			
		||||
type ResponseCampaignTransactionOptions struct {
 | 
			
		||||
	Link           string `json:"link"`
 | 
			
		||||
	SocialChannel  string `json:"socialChannel"`
 | 
			
		||||
	Milestone      int64  `json:"milestone"`
 | 
			
		||||
	MilestoneTitle string `json:"milestoneTitle"`
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue