using System; using Newtonsoft.Json; namespace DR.FV2016.Web.Models.Candidate { public class CandidateListItem { public int Id { get; set; } public string Name { get; set; } //TODO: TSVN remove //public string Title { get; set; } public string WinnerTitle { get; set; } public string ImageUrl { get; set; } public string CandidatePageUrl { get; set; } public bool IsTopCandidate { get; set; } [JsonIgnore] public int PartyListPriority { get; set; } public bool IsRerun { get; set; } public bool IsHeadOfPoliticalRegion { get; set; } //TODO: TSVN remove //[JsonIgnore] //public bool IsVIP { get; set; } [JsonIgnore] public DateTime LastModified { get; set; } [JsonIgnore] public int PartyId { get; set; } public string PartyLetter { get; set; } public string PartyName { get; set; } //TODO: TSVN remove //[JsonIgnore] //public int PoliticalRegionId { get; set; } public string PoliticalRegionFullName { get; set; } public string PoliticalRegionSlug { get; set; } public string AnswerString { get; set; } public int? MatchResult { get; set; } // DREXSAND new public int? Votes09 { get; set; } public bool IsElected13 { get; set; } public int Votes { get; set; } public Decimal Share { get; set; } //For ep14 - topcandidateslist Frontpage public bool IsPartyLetterHidden { get; set; } } }