16 lines
511 B
Go
16 lines
511 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type TimelineEvent struct {
|
|
ID string `json:"id"`
|
|
SubjectType string `json:"subject_type"`
|
|
SubjectID string `json:"subject_id"`
|
|
EventType string `json:"event_type"`
|
|
EventTime time.Time `json:"event_time"`
|
|
MachineID *string `json:"machine_id,omitempty"`
|
|
PartID *string `json:"part_id,omitempty"`
|
|
FirmwareVersion *string `json:"firmware_version,omitempty"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|