ch pin-orders
This commit is contained in:
1 parent
27ad42528c
commit
94eb2aa4e9
4 files changed
+35
-8
No files matched your search
@@ -89,7 +89,23 @@ type ListFilter struct {
|
||||
Limit int
|
||||
}
|
||||
|
||||
type ListCardPinOrderDTO struct {
|
||||
Count int64 `json:"count"`
|
||||
CardPinOrders []CardPinOrderDTO `json:"cardPinOrders"`
|
||||
// CardPinOrderListItemDTO is the list row; card type, branch, passport and
|
||||
// scans come from GET /card-pin-orders/:id.
|
||||
type CardPinOrderListItemDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
UniqueId *string `json:"uniqueId"`
|
||||
CardNumber *string `json:"cardNumber"`
|
||||
CustomerName string `json:"customerName"`
|
||||
CustomerSurname string `json:"customerSurname"`
|
||||
Region string `json:"region"`
|
||||
// ProvinceName is the branch's province (etrap).
|
||||
ProvinceName shared.LocalizedText `json:"provinceName"`
|
||||
Phone *string `json:"phone"`
|
||||
Status *string `json:"status"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
type ListCardPinOrderDTO struct {
|
||||
Count int64 `json:"count"`
|
||||
CardPinOrders []CardPinOrderListItemDTO `json:"cardPinOrders"`
|
||||
}
|
||||
Reference in new issue
Block a user