using System.Collections.Generic; namespace EnablementDAL.DTO { // Moved from GB5Framework/FrameworkDAL/DTO/TourShow/TShowPicklistDTO.cs. Aggregated dropdown // data for the Show authoring form (Module, Space, Channel, ContentCategory, UserGroup, // SubscriptionType). Distinct from GetSelectListShow, which returns existing Shows (for picking // one to edit) rather than the option lists needed to fill out the form fields. public class TShowPicklistDTO { public List Modules { get; set; } = new(); public List Spaces { get; set; } = new(); public List Channels { get; set; } = new(); public List ContentCategories { get; set; } = new(); public List UserGroups { get; set; } = new(); // Static, not DB-backed — mirrors ShowChannelDTO.SubscriptionType (0=Mandatory, // 1=Auto-subscribed, 2=Optional) used on TSHOW.SUBSCRIPTIONTYPEID. public List SubscriptionTypes { get; set; } = new() { new TShowPicklistItemDTO { Id = 0, Code = "MANDATORY", Name = "Mandatory" }, new TShowPicklistItemDTO { Id = 1, Code = "AUTO_SUBSCRIBED", Name = "Auto-subscribed" }, new TShowPicklistItemDTO { Id = 2, Code = "OPTIONAL", Name = "Optional" }, }; } public class TShowPicklistItemDTO { public int Id { get; set; } public string Code { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; } }