25 lines
650 B
C#
25 lines
650 B
C#
using Prefab.Domain.Common;
|
|
|
|
namespace Prefab.Data.Entities;
|
|
|
|
/// <summary>
|
|
/// Captures metadata about seeder executions to prevent duplicate runs.
|
|
/// </summary>
|
|
public class SeederLog : Entity<int>
|
|
{
|
|
/// <summary>
|
|
/// Gets the seeder identifier.
|
|
/// </summary>
|
|
public string SeederName { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets the run mode (e.g., Development or Production) used for the execution.
|
|
/// </summary>
|
|
public string RunMode { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets the timestamp when the seeder completed.
|
|
/// </summary>
|
|
public DateTime RunAt { get; init; }
|
|
}
|