16 lines
514 B
Go
16 lines
514 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type TimelineEvent struct {
|
|
ID int64 `json:"id"`
|
|
SubjectType string `json:"subject_type"`
|
|
SubjectID int64 `json:"subject_id"`
|
|
EventType string `json:"event_type"`
|
|
EventTime time.Time `json:"event_time"`
|
|
AssetID *int64 `json:"asset_id,omitempty"`
|
|
ComponentID *int64 `json:"component_id,omitempty"`
|
|
FirmwareVersion *string `json:"firmware_version,omitempty"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|