02d2b1e510
Threads the caller's email and client IP through the match pipeline so every Results row records who triggered the match and from where. Closes #45 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
659 B
C#
16 lines
659 B
C#
namespace CvMatcher.Models.Requests
|
|
{
|
|
public sealed class MatchJobRequest
|
|
{
|
|
public string? CvDocumentId { get; set; }
|
|
public string? JobUrl { get; set; }
|
|
public string? JobDescription { get; set; }
|
|
public bool GdprConsent { get; set; }
|
|
public string? Email { get; set; }
|
|
/// <summary>ISO 639-1 language code for the match result (e.g. "en", "ro"). Defaults to "en".</summary>
|
|
public string? Language { get; set; }
|
|
/// <summary>Client IP address forwarded by the api layer. Null when called from a background job.</summary>
|
|
public string? ClientIpAddress { get; set; }
|
|
}
|
|
}
|