package domain import "time" type Machine struct { ID string `json:"id"` Name string `json:"name"` Vendor *string `json:"vendor,omitempty"` Model *string `json:"model,omitempty"` VendorSerial string `json:"vendor_serial"` MachineTag *string `json:"machine_tag,omitempty"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } // Asset is deprecated, use Machine instead type Asset = Machine type Part struct { ID string `json:"id"` Vendor *string `json:"vendor,omitempty"` Model *string `json:"model,omitempty"` VendorSerial string `json:"vendor_serial"` FirstSeenAt *time.Time `json:"first_seen_at,omitempty"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } // Component is deprecated, use Part instead type Component = Part