natsio/model/supplier_response.go

30 lines
674 B
Go
Raw Normal View History

2022-08-26 16:13:18 +00:00
package model
// ResponseSupplierInfo ...
type ResponseSupplierInfo struct {
ID string `json:"id"`
Name string `json:"name"`
}
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:29:11 +00:00
2022-08-31 07:18:04 +00:00
// SupplierBrief ...
type SupplierBrief struct {
ID string `json:"_id"`
Name string `json:"name"`
Status string `json:"status"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type SupplierAll struct {
Suppliers []SupplierBrief `json:"suppliers"`
Total int64 `json:"total"`
2022-08-26 16:13:18 +00:00
}