2026-01-04 17:30:28 -07:00
|
|
|
package platform
|
2026-01-06 03:06:38 +00:00
|
|
|
|
2026-01-04 17:30:28 -07:00
|
|
|
import (
|
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
2026-03-14 01:14:30 +00:00
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/platform/types"
|
2026-01-04 17:30:28 -07:00
|
|
|
)
|
|
|
|
|
|
2026-03-14 01:14:30 +00:00
|
|
|
type Location = types.Location
|
|
|
|
|
|
2026-01-04 17:30:28 -07:00
|
|
|
type ClientSync struct {
|
|
|
|
|
Fieldseeker FieldseekerRecordsSync
|
2026-01-06 03:06:38 +00:00
|
|
|
Since time.Time
|
2026-01-04 17:30:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FieldseekerRecordsSync struct {
|
2026-01-06 22:23:59 +00:00
|
|
|
MosquitoSources []MosquitoSource
|
|
|
|
|
ServiceRequests models.FieldseekerServicerequestSlice
|
|
|
|
|
TrapData models.FieldseekerTraplocationSlice
|
2026-01-04 17:30:28 -07:00
|
|
|
}
|
2026-01-05 02:06:34 +00:00
|
|
|
|
|
|
|
|
type MosquitoSource struct {
|
2026-01-06 22:23:59 +00:00
|
|
|
PointLocation models.FieldseekerPointlocation
|
|
|
|
|
Inspections models.FieldseekerMosquitoinspectionSlice
|
|
|
|
|
Treatments models.FieldseekerTreatmentSlice
|
2026-01-05 02:06:34 +00:00
|
|
|
}
|