nidus-sync/platform/type.go

25 lines
546 B
Go
Raw Normal View History

2026-01-04 17:30:28 -07:00
package platform
2026-01-04 17:30:28 -07:00
import (
"time"
"github.com/Gleipnir-Technology/nidus-sync/db/models"
)
type ClientSync struct {
Fieldseeker FieldseekerRecordsSync
Since time.Time
2026-01-04 17:30:28 -07:00
}
type FieldseekerRecordsSync struct {
MosquitoSources []MosquitoSource
ServiceRequests models.FieldseekerServicerequestSlice
TrapData models.FieldseekerTraplocationSlice
2026-01-04 17:30:28 -07:00
}
type MosquitoSource struct {
PointLocation models.FieldseekerPointlocation
Inspections models.FieldseekerMosquitoinspectionSlice
Treatments models.FieldseekerTreatmentSlice
}