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"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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 03:06:38 +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 {
|
|
|
|
|
PointLocation *models.FieldseekerPointlocation
|
2026-01-06 03:06:38 +00:00
|
|
|
Inspections *models.FieldseekerMosquitoinspectionSlice
|
|
|
|
|
Treatments *models.FieldseekerTreatmentSlice
|
2026-01-05 02:06:34 +00:00
|
|
|
}
|