namespace CvSearch.Models.Data.Entities;

public sealed class JobSearchSessionEntity
{
    public string Id { get; set; } = string.Empty;
    public string TokenId { get; set; } = string.Empty;
    public string CvDocumentId { get; set; } = string.Empty;
    public string Email { get; set; } = string.Empty;
    public string Status { get; set; } = JobSearchStatus.Pending;
    public string Keywords { get; set; } = string.Empty;
    public string? ProviderConfigJson { get; set; }
    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}

public static class JobSearchStatus
{
    public const string Pending = "Pending";
    public const string Processing = "Processing";
    public const string Done = "Done";
    public const string Failed = "Failed";
}
