Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model
Phase 0 of proposal-system: complete project setup including:
- CDK infrastructure (3 stacks: foundation, compute, frontend)
- .NET 8 solution with Clean Architecture (Domain, Application, Infrastructure, Api)
- EF Core data model (PostgreSQL) with all entities
- Python Lambda placeholders (pdf-extract, pdf-generate, library-ingest)
- React 19 web frontend scaffold (Vite + MUI)
- React Native mobile placeholder
- Shared TypeScript API contracts
- GitHub Actions CI/CD (ci.yaml + deploy.yaml)
- OIDC deploy role (githubdeploy-proposal-system)
- Dependabot configuration
- Cognito User Pool with Google OAuth, PKCE clients, groups
2026-05-16 18:40:46 -04:00
|
|
|
namespace ProposalSystem.Domain.Entities;
|
|
|
|
|
|
|
|
|
|
public enum AuditAction
|
|
|
|
|
{
|
|
|
|
|
Submit,
|
|
|
|
|
Edit,
|
|
|
|
|
Approve,
|
|
|
|
|
Download,
|
|
|
|
|
Regenerate,
|
|
|
|
|
Revise,
|
|
|
|
|
AssignAdmin,
|
|
|
|
|
EditLineItem,
|
|
|
|
|
EditScope,
|
|
|
|
|
GeneratePDF,
|
|
|
|
|
MarkSent,
|
|
|
|
|
CreateRevision,
|
2026-05-22 16:40:19 -04:00
|
|
|
UpdateRole,
|
|
|
|
|
ReturnToReview
|
Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model
Phase 0 of proposal-system: complete project setup including:
- CDK infrastructure (3 stacks: foundation, compute, frontend)
- .NET 8 solution with Clean Architecture (Domain, Application, Infrastructure, Api)
- EF Core data model (PostgreSQL) with all entities
- Python Lambda placeholders (pdf-extract, pdf-generate, library-ingest)
- React 19 web frontend scaffold (Vite + MUI)
- React Native mobile placeholder
- Shared TypeScript API contracts
- GitHub Actions CI/CD (ci.yaml + deploy.yaml)
- OIDC deploy role (githubdeploy-proposal-system)
- Dependabot configuration
- Cognito User Pool with Google OAuth, PKCE clients, groups
2026-05-16 18:40:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
}
|