namespace MarketingDAL.DTO.Segment;
///
/// MarketMind AI master data — a customer Segment (MSEGMENT). Root of the Segment → ICP → Persona
/// → NDPHypothesis/EmotionalDriver hierarchy described in the Guided Growth Engine plan
/// (~/.claude/plans/in-entitlement-also-we-async-charm.md, Phase 0 — MarketMind AI).
///
public class SegmentDTO
{
#region Segment
public int SegmentId { get; set; }
public string SegmentCode { get; set; } = string.Empty;
public string SegmentName { get; set; } = string.Empty;
/// 1=B2B, 2=B2C, 3=B2Ch (channel partner) — see CK_MSEGMENT_SEGMENTTYPE.
public byte SegmentType { get; set; }
public decimal AvgBillingValue { get; set; }
public decimal GrossProfitMarginPercent { get; set; }
/// TINYINT boolean per CLAUDE-DB-SCHEMA.md §3 — 0=No, 1=Yes.
public byte RepeatPurchase { get; set; }
public int CollectionCycleDays { get; set; }
public string? Remarks { get; set; }
#endregion
#region Base
public int CreatedById { get; set; }
public DateTime CreatedOn { get; set; }
public string? CreatedByName { get; set; }
public int ModifiedById { get; set; }
public DateTime ModifiedOn { get; set; }
public string? ModifiedByName { get; set; }
#endregion
#region Standard
public short SortOrder { get; set; }
public byte Status { get; set; }
public short Version { get; set; }
public int TenantId { get; set; }
#endregion
}