model.go 650 B

123456789101112131415161718192021222324252627282930313233
  1. package model
  2. // Pendant event const.
  3. const (
  4. PendantPickOff int64 = iota + 1
  5. PendantPutOn
  6. )
  7. // VipInfo .
  8. type VipInfo struct {
  9. Mid int64 `json:"mid"`
  10. VipType int64 `json:"vipType"`
  11. VipStatus int64 `json:"vipStatus"`
  12. VipDueDate int64 `json:"vipDueDate"`
  13. }
  14. // ArgMIDNID struct.
  15. type ArgMIDNID struct {
  16. MID int64 `form:"mid" validate:"gt=0,required"`
  17. NID int64 `form:"nid" validate:"gt=0,required"`
  18. }
  19. // ArgMID struct.
  20. type ArgMID struct {
  21. MID int64 `form:"mid" validate:"gt=0,required"`
  22. }
  23. // AccountNotify .
  24. type AccountNotify struct {
  25. UID int64 `json:"mid"`
  26. Type string `json:"type"`
  27. Action string `json:"action"`
  28. }