using System; using System.ComponentModel.DataAnnotations; using vendorApproverBackend.Enums; namespace vendorApproverBackend.Entities { public class OutcomeFactoryAudit { // ID is needed for EF Core to track the owned entity, even if mapped to JSON [Key] public int Id { get; set; } public RecommendationEnum Recommendation { get; set; } public DateTime AuditDate { get; set; } public string? FirstAuditorName { get; set; } public string? SecondAuditorName { get; set; } public double? TotalMarks { get; set; } public bool? passed { get; set; } public string? Grade { get; set; } public DateTime Timestamp { get; set; } = DateTime.UtcNow; } }