using System;
namespace Migrato.Core;
///
/// The applied/pending state of a single migration, as reported by
///
public class MigrationStatusEntry
{
///
/// Gets the version of the migration
///
public long Version { get; init; }
///
/// Gets the name of the migration
///
public string Name { get; init; } = string.Empty;
///
/// Gets whether the migration has been applied
///
public bool IsApplied { get; init; }
///
/// Gets the timestamp at which the migration was applied, or null if it is still pending
///
public DateTimeOffset? AppliedAt { get; init; }
}