using System; using System.Collections.Generic; using System.Text; using System.Xml.Linq; namespace Manager.Interfaces.DTO { public class ConfigurationDTO { public string id { get; set; } public string label { get; set; } public List title { get; set; } public string imageId { get; set; } // == ResourceId public string imageSource { get; set; } // == Image url public string primaryColor { get; set; } public string secondaryColor { get; set; } public List languages { get; set; } // fr, en, de, nl => Sélection dans une liste déjà établie dans l'application ! public DateTime dateCreation { get; set; } public bool isMobile { get; set; } // MyVisit - True if for mobile (MyVisit) public bool isTablet { get; set; } public bool isOffline { get; set; } // MyVisit - True if MyVisit is full offline /*public string latitude { get; set; } // MyVisit - latitude of visit ? (MyVisit) public string longitude { get; set; } // MyVisit - True if for mobile (MyVisit)*/ public string instanceId { get; set; } public List sectionIds { get; set; } public string loaderImageId { get; set; } // == ResourceId public string loaderImageUrl { get; set; } // == Image url public string weatherCity { get; set; } // Weather City // TODO REMOVE public DateTimeOffset? weatherUpdatedDate { get; set; } // Weather date update (to only refresh) // TODO REMOVE public string weatherResult { get; set; } // Weather result // TODO REMOVE public bool isWeather // TODO REMOVE { get { return weatherCity != null && weatherCity.Trim().Length > 0; } } public bool isDate { get; set; } public bool isHour { get; set; } public bool isSectionImageBackground { get; set; } // Use to display background for section main image (or not) public int? roundedValue { get; set; } // Use to set rounded decoration value public int? screenPercentageSectionsMainPage { get; set; } // Use to set percentage of screen will be used to show sections (base on center) public string appVersion { get; set; } // Use to set percentage of screen will be used to show sections (base on center) } }