- 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>
32 lines
709 B
C#
32 lines
709 B
C#
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!;
|
|
}
|