using System; using System.Collections.Generic; namespace EnablementDAL.DTO { // Moved from GB5Framework/FrameworkDAL/DTO/TourShow/TShowDTO.cs — Show authoring now lives in // Enablement alongside its satellite entities (ShowRule/ShowSchedule/ShowContentLink/ShowChannel), // which already FK to ShowId. Class name and property shape kept unchanged from the move to avoid // breaking the existing FE contract (features/gbshow, now projects/enablement/master/show). public class TShowDTO { private int showid; // SHOWID public int ShowId { get { return showid; } set { showid = value; } } private int spaceid; // SPACEID public int SpaceId { get { return spaceid; } set { spaceid = value; } } private int shownature; // SHOWNATURE public int ShowNature { get { return shownature; } set { shownature = value; } } private string showname; // SHOWNAME public string ShowName { get { return showname; } set { showname = value; } } private string displayname; // DISPLAYNAME public string DisplayName { get { return displayname; } set { displayname = value; } } private string description; // DESCRIPTION public string Description { get { return description; } set { description = value; } } private string objective; // OBJECTIVE public string Objective { get { return objective; } set { objective = value; } } private int moduleid; // MODULEID public int ModuleId { get { return moduleid; } set { moduleid = value; } } private int contentcategoryid; // CONTENTCATEGORYID public int ContentCategoryId { get { return contentcategoryid; } set { contentcategoryid = value; } } private int conditiontype; // CONDITIONTYPE public int ConditionType { get { return conditiontype; } set { conditiontype = value; } } private string showconditions; // SHOWCONDITIONS public string ShowConditions { get { return showconditions; } set { showconditions = value; } } private int starttype; // STARTTYPE public int StartType { get { return starttype; } set { starttype = value; } } private int showtype; // SHOWTYPE public int ShowType { get { return showtype; } set { showtype = value; } } private int rememberstage; // REMEMBERSTAGE public int RememberStage { get { return rememberstage; } set { rememberstage = value; } } private int displayprogress; // DISPLAYPROGRESS public int DisplayProgress { get { return displayprogress; } set { displayprogress = value; } } private string tags; // TAGS public string Tags { get { return tags; } set { tags = value; } } //standrds private int createdbyid; private DateTime createdon; private int modifiedbyid; private DateTime modifiedon; private int sortorder; private int status; private int version; private int sourcetype; private int tenantid; public int CreatedById { get { return createdbyid; } set { createdbyid = value; } } public DateTime CreatedOn { get { return createdon; } set { createdon = value; } } public int ModifiedById { get { return modifiedbyid; } set { modifiedbyid = value; } } public DateTime ModifiedOn { get { return modifiedon; } set { modifiedon = value; } } public int SortOrder { get { return sortorder; } set { sortorder = value; } } public int Status { get { return status; } set { status = value; } } public int Version { get { return version; } set { version = value; } } public int SourceType { get { return sourcetype; } set { sourcetype = value; } } public int TenantId { get { return tenantid; } set { tenantid = value; } } private int priority; private int theme; private int autoAdvance; private int displayPosition; private short displayDuration; private DateTime startDate; private DateTime expiryDate; private int isShowTemplate; private int userGroupId; private int channelId; private int subscriptionTypeId; private int approvalStatus; private int approvedById; private DateTime approvedOn; // Public Properties public int Priority //PRIORITY { get { return priority; } set { priority = value; } } public int Theme //THEME { get { return theme; } set { theme = value; } } public int AutoAdvance { get { return autoAdvance; } set { autoAdvance = value; } } public int DisplayPosition //DISPLAYPOSITION { get { return displayPosition; } set { displayPosition = value; } } public short DisplayDuration //DISPPLAYDURATION { get { return displayDuration; } set { displayDuration = value; } } public DateTime StartDate //STARTDATE { get { return startDate; } set { startDate = value; } } public DateTime ExpiryDate //EXPIRYDATE { get { return expiryDate; } set { expiryDate = value; } } public int IsShowTemplate //ISSHOWTEMPLATE { get { return isShowTemplate; } set { isShowTemplate = value; } } public int UserGroupID //USERGROUPID { get { return userGroupId; } set { userGroupId = value; } } public int ChannelID //CHANNELID { get { return channelId; } set { channelId = value; } } public int SubscriptionTypeID //SUBSCRIPTIONTYPEID { get { return subscriptionTypeId; } set { subscriptionTypeId = value; } } public int ApprovalStatus //APPROVALSTATUS { get { return approvalStatus; } set { approvalStatus = value; } } public int ApprovedByID //APPROVEDBYID { get { return approvedById; } set { approvedById = value; } } public DateTime ApprovedOn //APPROVEDON { get { return approvedOn; } set { approvedOn = value; } } // Optional CMS Channel source (Part B, Slice 3) — distinct from the dead legacy // ChannelID/SubscriptionTypeID pair above (zero live references anywhere in current // BLL/DAL code) and from Enablement's own MSHOWCHANNEL/TSHOWCHANNEL. When set, // ShowContentLinkBLL live-merges currently-Published content from this CMS Channel // into the Show's content-link list (see ShowContentLinkBLL.GetShowContentLinkListAsync). public int? CmsChannelId { get; set; } public List ShowStepArray { get; set; } = new List(); private TShowStepDTO tshowstepdto = new TShowStepDTO(); public TShowStepDTO TShowStepDTO { get { return tshowstepdto; } set { tshowstepdto = value; } } } }