audio.go 926 B

12345678910111213141516171819202122
  1. package request
  2. type GetAudioList struct {
  3. PageInfo
  4. Keyword string `form:"keyword"` // 关键字
  5. LocomotiveNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:机车号" form:"locomotiveNumber"` // 机车号
  6. TrainNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:车次" form:"trainNumber"` // 车次
  7. DriverNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:司机号" form:"driverNumber"` // 司机号
  8. StationNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:车站号" form:"stationNumber"` // 车站号
  9. }
  10. type ProcessAudio struct {
  11. ID uint `json:"id" binding:"required"`
  12. }
  13. type BatchProcessAudio struct {
  14. IDs []uint `json:"ids" binding:"required"`
  15. }
  16. type FollowReq struct {
  17. ID uint `json:"id" binding:"required"`
  18. }