Files
RealCV/src/TrueCV.Domain/Entities/User.cs
peter 6d514e01b2 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>
2026-01-18 19:20:50 +01:00

25 lines
532 B
C#

using System.ComponentModel.DataAnnotations;
using TrueCV.Domain.Enums;
namespace TrueCV.Domain.Entities;
public class User
{
[Key]
public Guid Id { get; set; }
[Required]
[MaxLength(256)]
public string Email { get; set; } = string.Empty;
public UserPlan Plan { get; set; }
[MaxLength(256)]
public string? StripeCustomerId { get; set; }
public int ChecksUsedThisMonth { get; set; }
// Navigation property
public ICollection<CVCheck> CVChecks { get; set; } = new List<CVCheck>();
}