using System; using System.Collections.Generic; namespace Assets.Scripts.Apis.Models { public class MapCompetition { public int Id { get; set; } public string Area { get; set; } public string CompetitionType { get; set; } public string CoverImage { get; set; } public string CompetitionPreviewUrl { get; set; } public string CreateTime { get; set; } public int CreateUser { get; set; } public string Dec { get; set; } public DateTime EndApplyTime { get; set; } public string EndApplyTimeVlaue { get; set; } public bool IsOfficial { get; set; } public int MapCompetitionType { get; set; } public string NickName { get; set; } public int pageCount { get; set; } public int RouteId { get; set; } public string Sponsor { get; set; } public string SponsorCoverage { get; set; } public DateTime StartApplyTime { get; set; } public string StartApplyTimeVlaue { get; set; } public DateTime StartTime { get; set; } //public string StartTimeVlaue { get; set; } public DateTime EndTime { get; set; } //public string EndTimeVlaue { get; set; } public int Status { get; set; } public string StatusVlaue { get; set; } public string Title { get; set; } public double TotalDistance { get; set; } public bool applyed { get; set; } public bool CanJoin { get; set; } public bool CanStart { get; set; } public bool CanEnter { get; set; } public bool CanExit { get; set; } public bool CanCancelJoin { get; set; } public bool CanWatch { get; set; } /// /// 服务器当前时间 /// public DateTime Now { get; set; } /// /// 第一个冲线时间 /// public DateTime? FirstEndTime { get; set; } /// /// 第一个冲线以后,还需要多少分钟自动结束 /// public int CloseTime { get; set; } public bool HasRecord { get; set; } //最大参赛人数 public int MaxMembers { get; set; } //报名参赛的选手 public List UserList {get;set; } public double Distance { get; set; } public double AverageGrade { get; set; } public double EleDifference { get; set; } public double? TotalClimb { get; set; } public double MaxElevation { get; set; } public string AltitudeGraph { get; set; } public string RouteCover { get; set; } //简版赛事详情 public string ShortPreview { get; set; } //活动banner public string BannerPreview { get; set; } public bool HasJoin { get; set; } public int ApplyCount { get; set; } } public class CompetitionPlayer { public int Id { get; set; } public string NickName { get; set; } public string WxHeadImg { get; set; } public string Sex { get; set; } } }