feat: editable po_date

This commit is contained in:
Adnan Zahir
2026-04-25 22:47:52 +07:00
parent 732ebd423d
commit eefc9850e1
4 changed files with 64 additions and 0 deletions
@@ -61,6 +61,10 @@ type DeletePurchaseItemsRequest struct {
ItemIDs []uint `json:"item_ids" validate:"required,min=1,dive,gt=0"`
}
type UpdatePoDateRequest struct {
PoDate string `json:"po_date" validate:"required,datetime=2006-01-02"`
}
type Query struct {
Page int `query:"page" validate:"omitempty,number,min=1"`
Limit int `query:"limit" validate:"omitempty,number,min=1,max=100"`