model.go 205 B

1234567891011
  1. package model
  2. // ArgProID .
  3. type ArgProID struct {
  4. ID int `form:"id" validate:"required,min=1,gte=1"`
  5. }
  6. // ArgItemID .
  7. type ArgItemID struct {
  8. ID int `form:"itemsId" validate:"required,min=1,gte=1"`
  9. }