proposal-system/api/src/ProposalSystem.Domain/Entities/AuditLog.cs
Adam Moussa cab97cbb1b Add PDF download for all roles, version history, and status timeline fix
- Removed admin-only restriction on PDF download endpoints
- Added GET pdf/versions endpoint returning all generated PDFs
- Download PDF button on detail page for Approved/Sent/Revised proposals
- PDF Versions card shows all revisions with individual download buttons
- Dev-mode support for GetPdfRevision endpoint
- Status timeline stepper now uses STATUS_LABELS (fixes "InReview" display)
- PDF Lambda improvements for local generation
2026-05-27 18:17:48 -04:00

33 lines
676 B
C#

namespace ProposalSystem.Domain.Entities;
public enum AuditAction
{
Submit,
Edit,
Approve,
Download,
Regenerate,
Revise,
AssignAdmin,
EditLineItem,
EditScope,
GeneratePDF,
MarkSent,
CreateRevision,
UpdateRole,
ReturnToReview
}
public class AuditLog
{
public Guid Id { get; set; }
public Guid? ProposalId { get; set; }
public Guid UserId { get; set; }
public AuditAction Action { get; set; }
public string? Details { get; set; }
public DateTime Timestamp { get; set; }
public string? IpAddress { get; set; }
public Proposal? Proposal { get; set; }
public User? User { get; set; }
}