Init
This commit is contained in:
24
Prefab/Data/Entities/SeederLog.cs
Normal file
24
Prefab/Data/Entities/SeederLog.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user