package models import "basic.com/valib/logc.git" type ScheduleLog logc.ScheduleLog type ScheduleQuery struct { TimeStart string `json:"timeStart" example:"2020-01-02 15:04:05"` // 开始时间,不传为结束时间前一个小时 TimeEnd string `json:"timeEnd" example:"2020-01-02 16:00:00"` // 结束时间,不传为当前时间 ProcID string `json:"procID" example:"pollcontrol"` // 摄像机ID ProcName string `json:"procName" example:"addCamera"` // 功能 FuzzySearch string `json:"fuzzySearch" example:"启动"` // 模糊查询 Page int `json:"page" example:"2"` // 页码 PageSize int `json:"pageSize" example:"20"` // 分页大小 } func (ScheduleLog) TableName() string { return "t_schedule_log" }