namespace EnablementDAL.DTO; public class ShowChannelDTO { public int ChannelId { get; set; } public string ChannelCode { get; set; } = string.Empty; public string ChannelName { get; set; } = string.Empty; public string Description { get; set; } = string.Empty; public byte SubscriptionType { get; set; } = 2; // 0=Mandatory, 1=Auto-subscribed, 2=Optional public byte AutoSubscribeRule { get; set; } = 3; // 0=All, 1=ByRole, 2=ByOU, 3=ManualOnly public byte IsPortalInternal { get; set; } = 1; public byte IsPortalEss { get; set; } public byte IsPortalVendor { get; set; } public byte IsPortalCustomer { get; set; } public byte IsActive { get; set; } = 1; public short SortOrder { get; set; } = 9999; public short Version { get; set; } public byte Status { get; set; } public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } public byte SourceType { get; set; } public int TenantId { get; set; } } // Junction row — a single Show-to-Channel assignment (TSHOWCHANNEL). public class ShowChannelAssignmentDTO { public int ShowChannelId { get; set; } public int ShowId { get; set; } public int ChannelId { get; set; } public string ChannelCode { get; set; } = string.Empty; public string ChannelName { get; set; } = string.Empty; public short Version { get; set; } public byte Status { get; set; } public short SortOrder { get; set; } = 9999; public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } public byte SourceType { get; set; } public int TenantId { get; set; } }