using System; using System.Collections.Generic; using DR.Web.UI.Model; namespace DR.FV2016.Web.Models.Candidate { public class CandidateArticleListItem : ArticleListItem { public int CandidateId { get; set; } public string CandidateName { get; set; } public string CandidateTitle { get; set; } public string WinnerTitle { get; set; } public string CandidateImageUrl { get; set; } public string CandidatePageUrl { get; set; } public string PoliticalRegion { get; set; } public string PoliticalRegionSlug { get; set; } public bool CandidateIsRerun { get; set; } public bool CandidateIsHeadOfPoliticalRegion { get; set; } public DateTime CandidateLastModified { get; set; } public int CandidatePoliticalRegionId { get; set; } public string PartyLetterUrlFriendly { get; set; } public string PartyLetter { get; set; } public string PartyName { get; set; } public int? MatchResult { get; set; } public ElectionType ElectionType { get; set; } public bool HasAnswered { get; set; } public int? PreviousVotes { get; set; } public int Votes { get; set; } public decimal Share { get; set; } public bool IsElected { get; set; } public bool IsElectedConfirmed { get; set; } public bool IsPartyLetterHidden { get; set; } public bool PersonalVotesAvailable { get; set; } public IEnumerable PartiesWithCandidates { get; set; } } public enum ElectionType { FV } }