setup-holiday-warehouse-admin #105
			
				
			
		
		
		
	| 
						 | 
					@ -11,22 +11,24 @@ type ResponseCampaignTransactionAll struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// ResponseNatsCampaignTransaction ...
 | 
					// ResponseNatsCampaignTransaction ...
 | 
				
			||||||
type ResponseNatsCampaignTransaction struct {
 | 
					type ResponseNatsCampaignTransaction struct {
 | 
				
			||||||
	ID             string                             `json:"_id"`
 | 
						ID               string                                       `json:"_id"`
 | 
				
			||||||
	Cash           float64                            `json:"cash"`
 | 
						Cash             float64                                      `json:"cash"`
 | 
				
			||||||
	Campaign       ResponseCampaignShortInfo          `json:"campaign"`
 | 
						Campaign         ResponseCampaignShortInfo                    `json:"campaign"`
 | 
				
			||||||
	Options        ResponseCampaignTransactionOptions `json:"options"`
 | 
						Options          ResponseCampaignTransactionOptions           `json:"options"`
 | 
				
			||||||
	Seller         primitive.ObjectID                 `json:"seller"`
 | 
						Seller           primitive.ObjectID                           `json:"seller"`
 | 
				
			||||||
	Type           string                             `json:"type"`
 | 
						Type             string                                       `json:"type"`
 | 
				
			||||||
	Status         string                             `json:"status"`
 | 
						Status           string                                       `json:"status"`
 | 
				
			||||||
	RejectedReason string                             `json:"rejectedReason"`
 | 
						RejectedReason   string                                       `json:"rejectedReason"`
 | 
				
			||||||
	CreatedAt      string                             `json:"createdAt"`
 | 
						CreatedAt        string                                       `json:"createdAt"`
 | 
				
			||||||
	UpdatedAt      string                             `json:"updatedAt"`
 | 
						UpdatedAt        string                                       `json:"updatedAt"`
 | 
				
			||||||
	Item           *ResponseCampaignItemShortInfo     `json:"item"`
 | 
						Item             *ResponseCampaignItemShortInfo               `json:"item"`
 | 
				
			||||||
	ApprovedBy     primitive.ObjectID                 `json:"approvedBy,omitempty"`
 | 
						ApprovedBy       primitive.ObjectID                           `json:"approvedBy,omitempty"`
 | 
				
			||||||
	RejectedBy     primitive.ObjectID                 `json:"rejectedBy,omitempty"`
 | 
						RejectedBy       primitive.ObjectID                           `json:"rejectedBy,omitempty"`
 | 
				
			||||||
	ApprovedAt     string                             `json:"approvedAt,omitempty"`
 | 
						ApprovedAt       string                                       `json:"approvedAt,omitempty"`
 | 
				
			||||||
	RejectedAt     string                             `json:"rejectedAt,omitempty"`
 | 
						RejectedAt       string                                       `json:"rejectedAt,omitempty"`
 | 
				
			||||||
	CompletedAt    string                             `json:"completedAt,omitempty"`
 | 
						CompletedAt      string                                       `json:"completedAt,omitempty"`
 | 
				
			||||||
 | 
						RejectReason     string                                       `json:"rejectReason,omitempty"`
 | 
				
			||||||
 | 
						AdminConfirmData *ResponseCampaignTransactionAdminConfirmData `json:"adminConfirmData,omitempty"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// ResponseCampaignShortInfo ...
 | 
					// ResponseCampaignShortInfo ...
 | 
				
			||||||
| 
						 | 
					@ -50,3 +52,8 @@ type ResponseCampaignTransactionOptions struct {
 | 
				
			||||||
	Milestone      int64  `json:"milestone"`
 | 
						Milestone      int64  `json:"milestone"`
 | 
				
			||||||
	MilestoneTitle string `json:"milestoneTitle"`
 | 
						MilestoneTitle string `json:"milestoneTitle"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// ResponseCampaignTransactionAdminConfirmData ...
 | 
				
			||||||
 | 
					type ResponseCampaignTransactionAdminConfirmData struct {
 | 
				
			||||||
 | 
						FriendPublicTotal int64 `json:"friendPublicTotal"`
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -129,19 +129,21 @@ type ResponseLatLng struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// WarehouseNatsResponse ...
 | 
					// WarehouseNatsResponse ...
 | 
				
			||||||
type WarehouseNatsResponse struct {
 | 
					type WarehouseNatsResponse struct {
 | 
				
			||||||
	ID             string                    `json:"_id"`
 | 
						ID                    string                    `json:"_id"`
 | 
				
			||||||
	Staff          string                    `json:"staff"`
 | 
						Staff                 string                    `json:"staff"`
 | 
				
			||||||
	BusinessType   string                    `json:"businessType"`
 | 
						BusinessType          string                    `json:"businessType"`
 | 
				
			||||||
	Name           string                    `json:"name"`
 | 
						Name                  string                    `json:"name"`
 | 
				
			||||||
	SearchString   string                    `json:"searchString"`
 | 
						SearchString          string                    `json:"searchString"`
 | 
				
			||||||
	Slug           string                    `json:"slug"`
 | 
						Slug                  string                    `json:"slug"`
 | 
				
			||||||
	Status         string                    `json:"status"`
 | 
						Status                string                    `json:"status"`
 | 
				
			||||||
	Supplier       string                    `json:"supplier"`
 | 
						Supplier              string                    `json:"supplier"`
 | 
				
			||||||
	Contact        ResponseWarehouseContact  `json:"contact"`
 | 
						Contact               ResponseWarehouseContact  `json:"contact"`
 | 
				
			||||||
	Location       ResponseWarehouseLocation `json:"location"`
 | 
						Location              ResponseWarehouseLocation `json:"location"`
 | 
				
			||||||
	Configurations WarehouseConfiguration    `json:"configurations"`
 | 
						Configurations        WarehouseConfiguration    `json:"configurations"`
 | 
				
			||||||
	CreatedAt      time.Time                 `json:"createdAt"`
 | 
						CreatedAt             time.Time                 `json:"createdAt"`
 | 
				
			||||||
	UpdatedAt      time.Time                 `json:"updatedAt"`
 | 
						UpdatedAt             time.Time                 `json:"updatedAt"`
 | 
				
			||||||
 | 
						IsPendingActive       bool                      `json:"isPendingActive"`
 | 
				
			||||||
 | 
						ReasonPendingInactive string                    `json:"reasonPendingInactive"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// WarehouseInfo ...
 | 
					// WarehouseInfo ...
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue