namespace DXPDAL.Party; // ── MDXPPARTY ──────────────────────────────────────────────────────────────── // M table — INT AutoNumber PK. GLOBAL table (no TenantId) — lives in the dedicated DXP // system database, never a client tenant DB. See migration header for the full rationale. public class PartyDTO { public int DxpPartyId { get; set; } public string LegalName { get; set; } = string.Empty; public byte PartyTypeCode { get; set; } // 1=Vendor 2=Customer 3=Dealer 4=ServiceFranchisee 5=Consumer public string? PrimaryGSTINHash { get; set; } public string? PrimaryPANHash { get; set; } public string? PrimaryMobileHash { get; set; } public string? PrimaryEmailHash { get; set; } public int? MergedIntoPartyId { get; set; } // Audit public short Version { get; set; } public byte Status { get; set; } = 1; // 1=Active 2=Suspended 3=Merged 4=Deleted public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } }