params.go 448 B

123456789101112
  1. package model
  2. // SubtitleReportAddParam .
  3. type SubtitleReportAddParam struct {
  4. Oid int64 `form:"oid" validate:"required"`
  5. SubtitleID int64 `form:"subtitle_id" validate:"required"`
  6. Tid int64 `form:"tid" validate:"required"`
  7. MetaData string `form:"metadata" validate:"lt=300"`
  8. From float64 `form:"from"`
  9. To float64 `form:"to" validate:"required"`
  10. Content string `form:"content" validate:"required"`
  11. }