month.go 1.2 KB

123456789101112131415161718192021222324252627282930
  1. package model
  2. import "go-common/library/time"
  3. // VipMonth vip month info.
  4. type VipMonth struct {
  5. ID int64 `json:"id"`
  6. Month int8 `json:"month"`
  7. MonthType int8 `json:"month_type"`
  8. Operator string `json:"operator"`
  9. Status int8 `json:"status"`
  10. Mtime time.Time `json:"mtime"`
  11. }
  12. // VipMonthPrice month price info.
  13. type VipMonthPrice struct {
  14. ID int64 `json:"id" form:"id"`
  15. MonthID int8 `json:"month_id" form:"month_id"`
  16. MonthType int8 `json:"month_type" form:"month_type"`
  17. Money float64 `json:"money" form:"money"`
  18. FirstDiscountMoney float64 `json:"first_discount_money" form:"first_discount_money"`
  19. DiscountMoney float64 `json:"discount_money" form:"discount_money"`
  20. Selected int8 `json:"selected" form:"selected"`
  21. StartTime time.Time `json:"start_time" form:"start_time"`
  22. EndTime time.Time `json:"end_time" form:"end_time"`
  23. Remark string `json:"remark" form:"remark"`
  24. Operator string `json:"operator"`
  25. Status int8 `json:"status"`
  26. Mtime time.Time `json:"mtime"`
  27. }