2022-08-26 16:13:18 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
// ResponseSupplierInfo ...
|
|
|
|
type ResponseSupplierInfo struct {
|
2022-09-14 07:39:16 +00:00
|
|
|
ID string `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
BusinessType string `json:"businessType"`
|
2022-08-26 16:13:18 +00:00
|
|
|
}
|
2022-08-29 07:25:12 +00:00
|
|
|
|
|
|
|
// ResponseSupplierContract ...
|
|
|
|
type ResponseSupplierContract struct {
|
|
|
|
ID string `json:"id"`
|
|
|
|
Supplier string `json:"supplier"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
}
|
2022-08-31 07:48:24 +00:00
|
|
|
|
|
|
|
// SupplierBrief ...
|
|
|
|
type SupplierBrief struct {
|
2022-09-14 07:39:16 +00:00
|
|
|
ID string `json:"_id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
BusinessType string `json:"businessType"`
|
|
|
|
CreatedAt string `json:"createdAt"`
|
|
|
|
UpdatedAt string `json:"updatedAt"`
|
2022-08-31 07:48:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SupplierAll struct {
|
|
|
|
Suppliers []SupplierBrief `json:"suppliers"`
|
|
|
|
Total int64 `json:"total"`
|
|
|
|
}
|