[Update] Response supplier

This commit is contained in:
trunglt251292 2022-09-14 14:39:16 +07:00
parent cc48a083f2
commit 9f1f2faf9e
1 changed files with 9 additions and 7 deletions

View File

@ -2,8 +2,9 @@ package model
// ResponseSupplierInfo ... // ResponseSupplierInfo ...
type ResponseSupplierInfo struct { type ResponseSupplierInfo struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
BusinessType string `json:"businessType"`
} }
// ResponseSupplierContract ... // ResponseSupplierContract ...
@ -16,11 +17,12 @@ type ResponseSupplierContract struct {
// SupplierBrief ... // SupplierBrief ...
type SupplierBrief struct { type SupplierBrief struct {
ID string `json:"_id"` ID string `json:"_id"`
Name string `json:"name"` Name string `json:"name"`
Status string `json:"status"` Status string `json:"status"`
CreatedAt string `json:"createdAt"` BusinessType string `json:"businessType"`
UpdatedAt string `json:"updatedAt"` CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
} }
type SupplierAll struct { type SupplierAll struct {