zhangzengfei
2023-09-07 55aa27a6ad0e012d62dcea2db37528a1b18836fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
}