namespace DXPDAL.Party; // ── TDXPPARTYBRANCHLINK ────────────────────────────────────────────────────── // T table — INT AutoNumber PK. Resolves to the branch/plant level (MPARTYBRANCH) since // GSTIN, delivery location, and invoicing are branch-scoped in the existing GB5 model. public class PartyBranchLinkDTO { public int DxpPartyBranchLinkId { get; set; } public int DxpPartyId { get; set; } public int TenantId { get; set; } public int LocalPartyBranchId { get; set; } // MPARTYBRANCH.PARTYBRANCHID in that tenant's DB public bool IsDefault { get; set; } // Audit public byte Status { get; set; } = 1; // 1=Active 2=Suspended 3=Revoked public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } }