package request
|
|
import (
|
"speechAnalysis/constvar"
|
"time"
|
)
|
|
type GetAudioList struct {
|
PageInfo
|
Keyword string `form:"keyword"` // 关键字
|
LocomotiveNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:机车号" form:"locomotiveNumber"` // 机车号
|
TrainNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:车次" form:"trainNumber"` // 车次
|
DriverNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:司机号" form:"driverNumber"` // 司机号
|
StationNumber string `gorm:"index;type:varchar(255);not null;default:'';comment:车站号" form:"stationNumber"` // 车站号
|
BeginTime time.Time `json:"beginTime"` //开始时间
|
EndTime time.Time `json:"endTime"` //结束时间
|
IsFollowed constvar.BoolType `json:"isFollowed"` //是否关注 1关注 2未关注
|
}
|
|
type ProcessAudio struct {
|
ID uint `json:"id" form:"id" binding:"required"`
|
}
|
|
type BatchProcessAudio struct {
|
IDs []uint `json:"ids" binding:"required"`
|
}
|
|
type FollowReq struct {
|
ID uint `json:"id" binding:"required"`
|
}
|
|
type GetTrainInfoList struct {
|
PageInfo
|
Class constvar.Class `form:"class" json:"class"` //信息分类 1机车2车次3车站
|
ParentID uint `form:"parentID" json:"parentID"` //上级id
|
}
|