Forge.Schema.Sample (Forge v0.1.1)

View Source

Ecto schema for sample records.

Stores sample data, status, and tracks lineage through parent relationships.

Summary

Types

t()

@type t() :: %Forge.Schema.Sample{
  __meta__: term(),
  artifacts: [Forge.Schema.Artifact.t()] | Ecto.Association.NotLoaded.t(),
  child_samples: [t()] | Ecto.Association.NotLoaded.t(),
  data: map(),
  deleted_at: DateTime.t() | nil,
  id: binary() | nil,
  inserted_at: DateTime.t() | nil,
  manifest_hash: String.t() | nil,
  measurements:
    [Forge.Schema.MeasurementRecord.t()] | Ecto.Association.NotLoaded.t(),
  parent_sample: t() | Ecto.Association.NotLoaded.t() | nil,
  parent_sample_id: binary() | nil,
  pipeline: Forge.Schema.Pipeline.t() | Ecto.Association.NotLoaded.t() | nil,
  pipeline_id: binary() | nil,
  stage_executions:
    [Forge.Schema.StageExecution.t()] | Ecto.Association.NotLoaded.t(),
  status: String.t(),
  updated_at: DateTime.t() | nil,
  version: integer()
}