d56729de42
Captures client IP at job-search link-click time and threads it through to the session. Both Email and ClientIpAddress are copied from session to each result row during processing. Closes #47 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
800 B
C#
19 lines
800 B
C#
using Shared.Data.Entities;
|
|
|
|
namespace CvSearch.Data.Entities;
|
|
|
|
public sealed class JobSearchResultEntity : BaseEntity
|
|
{
|
|
public string SessionId { get; set; } = string.Empty;
|
|
public string ProviderName { get; set; } = string.Empty;
|
|
public string JobUrl { get; set; } = string.Empty;
|
|
public string JobTitle { get; set; } = string.Empty;
|
|
public string JobText { get; set; } = string.Empty;
|
|
public int Score { get; set; }
|
|
public string ResultJson { get; set; } = string.Empty;
|
|
/// <summary>Email address of the user who triggered the search. Copied from the parent session.</summary>
|
|
public string? Email { get; set; }
|
|
/// <summary>Client IP address at link-click time. Copied from the parent session.</summary>
|
|
public string? ClientIpAddress { get; set; }
|
|
}
|