mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 21:41:55 +00:00
27 lines
1.0 KiB
Go
27 lines
1.0 KiB
Go
package dto
|
|
|
|
import "time"
|
|
|
|
type ClosingSapronakItemDTO struct {
|
|
Id uint64 `json:"id"`
|
|
Date string `json:"date"`
|
|
ReferenceNumber string `json:"reference_number"`
|
|
TransactionType string `json:"transaction_type"`
|
|
ProductName string `json:"product_name"`
|
|
ProductCategory string `json:"product_category"`
|
|
ProductSubCategory string `json:"product_sub_category"`
|
|
SourceWarehouse string `json:"source_warehouse"`
|
|
DestinationWarehouse string `json:"destination_warehouse,omitempty"`
|
|
Destination string `json:"destination,omitempty"`
|
|
Quantity float64 `json:"quantity"`
|
|
Unit string `json:"unit"`
|
|
FormattedQuantity string `json:"formatted_quantity"`
|
|
Notes string `json:"notes"`
|
|
SortDate time.Time `json:"-"`
|
|
}
|
|
|
|
type ClosingSapronakDTO struct {
|
|
IncomingSapronak []ClosingSapronakItemDTO `json:"incoming_sapronak"`
|
|
OutgoingSapronak []ClosingSapronakItemDTO `json:"outgoing_sapronak"`
|
|
}
|