16 lines
520 B
C#
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; }
|
|
}
|