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; }
}
