first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
namespace Fitness_core_BE.Models
{
// One row per (client, sweep) a background job processed. Central, not tenant-scoped --
// job history isn't gym-operational data, and needs to be visible from one place
// regardless of which tenant schema it's actually about.
public class JobRunLog
{
[Key]
public Guid JobRunLogId { get; set; }
public string JobName { get; set; } = string.Empty;
public Guid FKClientId { get; set; }
public DateTime RunAtUtc { get; set; } = DateTime.UtcNow;
// "Success" | "PartialFailure" | "Failed"
public string Status { get; set; } = string.Empty;
public int SubscriptionsRenewed { get; set; }
public string? ErrorMessage { get; set; }
}
}