mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 21:41:55 +00:00
[FEAT] Update StockTransferDelivery and TransferDeliveryDTO to allow optional SupplierId
This commit is contained in:
@@ -26,7 +26,7 @@ type TransferDelivery struct {
|
||||
DocumentIndex int `json:"document_index" validate:"omitempty,min=-1" default:"-1"`
|
||||
DriverName string `json:"driver_name" validate:"required"`
|
||||
VehiclePlate string `json:"vehicle_plate" validate:"required"`
|
||||
SupplierID uint `json:"supplier_id" validate:"required"`
|
||||
SupplierID uint `json:"supplier_id" `
|
||||
Products []TransferDeliveryProduct `json:"products" validate:"required,dive"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user