Add init weapon scraper

This commit is contained in:
bob
2026-05-29 14:00:58 -05:00
parent 286d1366fe
commit 6f3c0175cd
20 changed files with 1199 additions and 62 deletions

View File

@@ -0,0 +1,19 @@
namespace BlueLaminate.EFCore.Entities;
/// <summary>
/// One successful run of a data-scraping job. Used to throttle jobs that
/// should run infrequently (e.g. the weapon catalogue, which changes rarely).
/// Only successful runs are recorded, so a failed run never blocks a retry.
/// </summary>
public class ScrapeRun
{
public int Id { get; set; }
/// <summary>Identifies which job this run belongs to, e.g. "weapons".</summary>
public string Source { get; set; } = null!;
public DateTimeOffset RanAt { get; set; }
/// <summary>How many records the run inserted or updated.</summary>
public int ItemCount { get; set; }
}