using SolutionErp.Domain.Common;
using SolutionErp.Domain.Contracts;   // reuse ApprovalDecision

namespace SolutionErp.Domain.Budgets;

public class BudgetApproval : BaseEntity
{
    public Guid BudgetId { get; set; }
    public BudgetPhase FromPhase { get; set; }
    public BudgetPhase ToPhase { get; set; }
    public Guid? ApproverUserId { get; set; }                // null = system SLA auto
    public ApprovalDecision Decision { get; set; }
    public string? Comment { get; set; }
    public DateTime ApprovedAt { get; set; }

    public Budget? Budget { get; set; }
}
