refactor: Rename TrueCV to RealCV throughout codebase

- Renamed all directories (TrueCV.* -> RealCV.*)
- Renamed all project files (.csproj)
- Renamed solution file (TrueCV.sln -> RealCV.sln)
- Updated all namespaces in C# and Razor files
- Updated project references
- Updated CSS variable names

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-22 20:47:55 +00:00
parent 6f384f8d09
commit 92a3b60878
107 changed files with 693 additions and 554 deletions

View File

@@ -0,0 +1,28 @@
using System.ComponentModel.DataAnnotations;
namespace RealCV.Domain.Entities;
public class AuditLog
{
[Key]
public Guid Id { get; set; }
public Guid UserId { get; set; }
[Required]
[MaxLength(64)]
public string Action { get; set; } = string.Empty;
[MaxLength(128)]
public string? EntityType { get; set; }
public Guid? EntityId { get; set; }
[MaxLength(1024)]
public string? Details { get; set; }
[MaxLength(64)]
public string? IpAddress { get; set; }
public DateTime CreatedAt { get; set; }
}

View File

@@ -0,0 +1,37 @@
using System.ComponentModel.DataAnnotations;
using RealCV.Domain.Enums;
namespace RealCV.Domain.Entities;
public class CVCheck
{
[Key]
public Guid Id { get; set; }
public Guid UserId { get; set; }
[Required]
[MaxLength(512)]
public string OriginalFileName { get; set; } = string.Empty;
[Required]
[MaxLength(2048)]
public string BlobUrl { get; set; } = string.Empty;
public CheckStatus Status { get; set; }
public string? ExtractedDataJson { get; set; }
public int? VeracityScore { get; set; }
[MaxLength(64)]
public string? ProcessingStage { get; set; }
public string? ReportJson { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime? CompletedAt { get; set; }
public ICollection<CVFlag> Flags { get; set; } = new List<CVFlag>();
}

View File

@@ -0,0 +1,31 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using RealCV.Domain.Enums;
namespace RealCV.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!;
}

View File

@@ -0,0 +1,33 @@
using System.ComponentModel.DataAnnotations;
namespace RealCV.Domain.Entities;
public class CompanyCache
{
[Key]
[MaxLength(32)]
public string CompanyNumber { get; set; } = string.Empty;
[Required]
[MaxLength(512)]
public string CompanyName { get; set; } = string.Empty;
[Required]
[MaxLength(64)]
public string Status { get; set; } = string.Empty;
[MaxLength(64)]
public string? CompanyType { get; set; }
public DateOnly? IncorporationDate { get; set; }
public DateOnly? DissolutionDate { get; set; }
[MaxLength(64)]
public string? AccountsCategory { get; set; }
[MaxLength(256)]
public string? SicCodesJson { get; set; }
public DateTime CachedAt { get; set; }
}