using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using C4IT.FASD.Base; namespace FasdCockpitCommunicationDemo { public class cF4SDTicketSummary { public Guid Id { get; set; } public string Name { get; set; } public string Summary { get; set; } public enumTicketStatus Status { get; set; } } public class cF4SDTicket : cF4SDTicketSummary { public enum enumTicketCreationSource { Unknown = -1, Portal = 0, Mail = 1, Phone = 2, F4SD = 3 } public class cTicketJournalItem { public double CreationDaysSinceNow { get; set; } public DateTime CreationDate { get; set; } public string Header { get; set; } public string CreatedBy { get; set; } public string Description { get; set; } public string DescriptionHtml { get; set; } public bool IsVisibleForUser { get; set; } } public string AffectedUser { get; set; } public string Asset { get; set; } public double CreationDaysSinceNow { get; set; } public DateTime CreationDate { get; set; } public double? ClosingDaysSinceNow { get; set; } public DateTime? ClosingDate { get; set; } public enumTicketCreationSource CreationSource { get; set; } public string Description { get; set; } public string DescriptionHtml { get; set; } public int Priority { get; set; } public string Category { get; set; } //todo: replace with tree structure public string Solution { get; set; } public string SolutionHtml { get; set; } public Dictionary DirectLinks { get; set; } public List JournalItems { get; set; } } }