Add Address
This commit is contained in:
parent
8b4a89d3c7
commit
5907802908
@ -251,6 +251,7 @@ func (h *Handler) toPartnerResponse(resp *entity.Partner) response.Partner {
|
|||||||
BankAccountHolderName: resp.BankAccountHolderName,
|
BankAccountHolderName: resp.BankAccountHolderName,
|
||||||
BankAccountHolderNumber: resp.BankAccountNumber,
|
BankAccountHolderNumber: resp.BankAccountNumber,
|
||||||
Logo: resp.Logo,
|
Logo: resp.Logo,
|
||||||
|
Address: resp.Address,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ type Partner struct {
|
|||||||
ID *int64 `json:"id"`
|
ID *int64 `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
Address string `json:"address,omitempty"`
|
Address string `json:"address"`
|
||||||
CreatedAt string `json:"created_at,omitempty"`
|
CreatedAt string `json:"created_at,omitempty"`
|
||||||
UpdatedAt string `json:"updated_at,omitempty"`
|
UpdatedAt string `json:"updated_at,omitempty"`
|
||||||
AdminName string `json:"admin_name"`
|
AdminName string `json:"admin_name"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user