Files

17 lines
674 B
Go

package model
// ImeiQueueStartMessage asks the Worker to scan the card table and run a full
// IMEI synchronization. The Admin service does not perform upstream calls for
// this path. A nil Scope (or one whose channels normalize to empty) is a full
// sync.
//
// The json tags must stay byte-identical with the Admin-side definition in
// iotlcm-admin-svr (internal/model/imei_sync.go); the two services each keep
// their own copy by existing convention.
type ImeiQueueStartMessage struct {
RunID string `json:"runId"`
Operation string `json:"operation"`
TriggeredAt string `json:"triggeredAt"`
Scope *SyncScope `json:"scope,omitempty"`
}