Initial commit: TrueCV CV verification platform

Clean architecture solution with:
- Domain: Entities (User, CVCheck, CVFlag, CompanyCache) and Enums
- Application: Service interfaces, DTOs, and models
- Infrastructure: EF Core, Identity, Hangfire, external API clients, services
- Web: Blazor Server UI with pages and components

Features:
- CV upload and parsing (PDF/DOCX) using Claude API
- Employment verification against Companies House API
- Timeline analysis for gaps and overlaps
- Veracity scoring algorithm
- Background job processing with Hangfire
- Azure Blob Storage for file storage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-18 19:20:50 +01:00
commit 6d514e01b2
70 changed files with 5996 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using TrueCV.Domain.Enums;
namespace TrueCV.Domain.Entities;
public class CVFlag
{
[Key]
public Guid Id { get; set; }
public Guid CVCheckId { get; set; }
public FlagCategory Category { get; set; }
public FlagSeverity Severity { get; set; }
[Required]
[MaxLength(256)]
public string Title { get; set; } = string.Empty;
[Required]
[MaxLength(2048)]
public string Description { get; set; } = string.Empty;
public int ScoreImpact { get; set; }
// Navigation property
[ForeignKey(nameof(CVCheckId))]
public CVCheck CVCheck { get; set; } = null!;
}