using SolutionErp.Domain.Common;

namespace SolutionErp.Domain.Contracts;

// Admin-configurable: which WorkflowPolicy applies to each ContractType.
// Seed with hardcoded defaults (see DbInitializer); admin can switch via
// /system/workflows UI without code changes. Later iteration will let admin
// define custom policies with bespoke phase/role/SLA.
public class WorkflowTypeAssignment : BaseEntity
{
    public ContractType ContractType { get; set; }
    public string PolicyName { get; set; } = string.Empty; // "Standard" | "SkipCcm" (extensible)
}
