using vendorApproverBackend.Entities; namespace vendorApproverBackend.Dtos { public class CertificationDto { public long Id { get; set; } public string? CertificationNumber { get; set; } public string? SupplierName { get; set; } public long? SupplierId { get; set; } public string? CertificationType { get; set; } public DateTime IssueDate { get; set; } public DateTime ExpiryDate { get; set; } public CertificationStatus Status { get; set; } public long VerifiedById { get; set; } public virtual User? VerifiedBy { get; set; } public long PrequalificationRequestId { get; set; } public PrequalificationRequest? PrequalificationRequest { get; set; } public DateTime Timestamp { get; set; } public bool? RequiresReinspection { get; set; } public User? AssignedTo { get; set; } public List Inspectors { get; set; } = new List(); // This replaces the [JsonIgnore] property and will be fully populated public List RequestRenews { get; set; } = new List(); } }