namespace CRMSalesDAL.DTO.LeadScoring;
///
/// Narrow read model backing LeadScoringBLL.RecalculateLeadScoreAsync — everything needed to
/// compute the 2 real scoring dimensions (Demographic Fit, Deal Readiness) for one TLEAD row.
///
public class LeadScoringInputDTO
{
public int LeadId { get; set; }
/// TLEAD.SEGMENTID — -1 = not yet assigned (this repo's optional-FK sentinel).
public int SegmentId { get; set; }
/// TLEAD.ICPID — -1 = not yet assigned (this repo's optional-FK sentinel).
public int ICPId { get; set; }
///
/// MAN fields (1=Yes, 2=Partial, 3=No) from this Lead's most recent OPEN Deal
/// (Stage NOT IN (5,6) ClosedWon/ClosedLost), or null in each if no such Deal exists yet.
///
public byte? LatestOpenDealMANMoney { get; set; }
public byte? LatestOpenDealMANAuthority { get; set; }
public byte? LatestOpenDealMANNeed { get; set; }
}