1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- // Copyright 2019 github.com. All rights reserved.
- // Use of this source code is governed by github.com.
- package v1
- import (
- "smart-site-management-gateway/param/base"
- "smart-site-management-gateway/pb/v1"
- )
- type LatestStaffDataQuery struct {
- Page int32 `form:"page" json:"page"`
- }
- type LatestStaffDataRequest struct {
- base.Header
- LatestStaffDataQuery
- }
- type LatestStaffDataResponse struct {
- base.Result
- Data v1.LatestStaffDataReply `json:"data"`
- }
- type StaffWorkTypeStatisticsRequest struct {
- base.Header
- }
- type StaffWorkTypeStatisticsResponse struct {
- base.Result
- Data v1.StaffWorkTypeStatisticsReply `json:"data"`
- }
- type StaffTypeStatisticsRequest struct {
- base.Header
- }
- type StaffTypeStatisticsResponse struct {
- base.Result
- Data v1.StaffTypeStatisticsReply `json:"data"`
- }
- type LaborCompanyStatisticsRequest struct {
- base.Header
- }
- type LaborCompanyStatisticsResponse struct {
- base.Result
- Data v1.LaborCompanyStatisticsReply `json:"data"`
- }
- type StaffListQuery struct {
- Page int32 `form:"page"`
- Filter string `form:"filter"`
- }
- type StaffListRequest struct {
- base.Header
- StaffListQuery
- }
- type StaffListResponse struct {
- base.Result
- Data v1.StaffListReply `json:"data"`
- }
- type StaffAttendanceQuery struct {
- Page int32 `form:"page"`
- Filter string `form:"filter"`
- Start int64 `form:"start"`
- End int64 `form:"end"`
- }
- type StaffAttendanceRequest struct {
- base.Header
- StaffAttendanceQuery
- }
- type StaffAttendanceResponse struct {
- base.Result
- Data v1.StaffAttendanceReply `json:"data"`
- }
|