mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Feat[BE-261,265]: add category request body on create on
This commit is contained in:
@@ -13,6 +13,7 @@ type ApprovalRequest struct {
|
||||
type Create struct {
|
||||
PoNumber *string `form:"po_number" validate:"omitempty,max=50"`
|
||||
TransactionDate string `form:"transaction_date" validate:"required,datetime=2006-01-02"`
|
||||
Category string `form:"category" validate:"required,oneof=BOP NON-BOP"`
|
||||
SupplierID uint64 `form:"supplier_id" validate:"required,gt=0"`
|
||||
Documents []*multipart.FileHeader `form:"documents" validate:"omitempty,dive"`
|
||||
CostPerKandangs []CostPerKandang `form:"cost_per_kandangs" validate:"required,min=1,dive"`
|
||||
|
||||
Reference in New Issue
Block a user