Files
PowderCoatingLogix/src/PowderCoating.Core/Entities/TermsAcceptance.cs
T
2026-04-23 21:38:24 -04:00

16 lines
520 B
C#

namespace PowderCoating.Core.Entities;
/// <summary>
/// Immutable audit record written once at registration. Never updated or deleted.
/// </summary>
public class TermsAcceptance
{
public int Id { get; set; }
public string UserId { get; set; } = string.Empty;
public int CompanyId { get; set; }
public string TosVersion { get; set; } = string.Empty;
public DateTime AcceptedAt { get; set; } = DateTime.UtcNow;
public string? IpAddress { get; set; }
public string? UserAgent { get; set; }
}