coupon.go 347 B

123456789101112131415161718
  1. package model
  2. // ArgAllowanceList req.
  3. type ArgAllowanceList struct {
  4. State int8 `form:"state"`
  5. }
  6. // ArgCouponPage req .
  7. type ArgCouponPage struct {
  8. State int8 `form:"state"`
  9. Pn int `form:"pn"`
  10. Ps int `form:"ps"`
  11. }
  12. // ArgPrizeDraw struct .
  13. type ArgPrizeDraw struct {
  14. CardType int8 `form:"card_type" validate:"min=0,gte=0,lte=2"`
  15. }