added province name
This commit is contained in:
1 parent
68ead82827
commit
a44c10d445
2 files changed
+17
-13
No files matched your search
@@ -236,15 +236,17 @@ type ListFilter struct {
|
||||
// LoanOrderListItemDTO is the list row; passport, work, card and guarantor
|
||||
// details come from GET /loan-orders/:id.
|
||||
type LoanOrderListItemDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
LoanType *shared.NamedInfo `json:"loanType,omitempty"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
Region string `json:"region"`
|
||||
Branch *shared.NamedInfo `json:"branch,omitempty"`
|
||||
CustomerName string `json:"customerName"`
|
||||
CustomerSurname string `json:"customerSurname"`
|
||||
Phone string `json:"phone"`
|
||||
Status *string `json:"status"`
|
||||
Id int64 `json:"id"`
|
||||
LoanType *shared.NamedInfo `json:"loanType,omitempty"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
Region string `json:"region"`
|
||||
Branch *shared.NamedInfo `json:"branch,omitempty"`
|
||||
// ProvinceName is the branch's province (etrap).
|
||||
ProvinceName shared.LocalizedText `json:"provinceName"`
|
||||
CustomerName string `json:"customerName"`
|
||||
CustomerSurname string `json:"customerSurname"`
|
||||
Phone string `json:"phone"`
|
||||
Status *string `json:"status"`
|
||||
}
|
||||
|
||||
type ListLoanOrderDTO struct {
|
||||
|
||||
Reference in new issue
Block a user