namespace AIStudio.Assistants.BeyondFactsLab;
///
/// A material in the list of a preparation, also when it cannot be opened.
///
/// The ID of the material.
/// The material, or null when its files are damaged or missing, or a newer version of AI Studio stored it.
public sealed record BflMaterialEntry(Guid MaterialId, BflMaterial? Material)
{
///
/// Gets whether the material can be opened.
///
public bool IsAvailable => this.Material is not null;
}