2021-06-24 18:19:28 +08:00
|
|
|
|
using System;
|
2021-07-16 18:37:02 +08:00
|
|
|
|
using System.Collections.Generic;
|
2021-06-24 18:19:28 +08:00
|
|
|
|
|
|
|
|
|
|
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; }
|
2021-07-23 09:04:56 +08:00
|
|
|
|
public string CompetitionPreviewUrl { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
public string CreateTime { get; set; }
|
|
|
|
|
|
public int CreateUser { get; set; }
|
|
|
|
|
|
public string Dec { get; set; }
|
2021-07-28 18:33:52 +08:00
|
|
|
|
public DateTime EndApplyTime { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
public string EndApplyTimeVlaue { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public bool IsOfficial { get; set; }
|
|
|
|
|
|
public int MapCompetitionType { get; set; }
|
2021-12-27 18:29:23 +08:00
|
|
|
|
public string NickName { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
public int pageCount { get; set; }
|
|
|
|
|
|
public int RouteId { get; set; }
|
|
|
|
|
|
public string Sponsor { get; set; }
|
2021-07-23 09:04:56 +08:00
|
|
|
|
public string SponsorCoverage { get; set; }
|
2021-07-27 10:32:39 +08:00
|
|
|
|
public DateTime StartApplyTime { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
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; }
|
2021-07-20 09:58:01 +08:00
|
|
|
|
public string StatusVlaue { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
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; }
|
2021-07-29 20:01:38 +08:00
|
|
|
|
public bool CanEnter { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
public bool CanExit { get; set; }
|
2021-07-28 14:00:03 +08:00
|
|
|
|
public bool CanCancelJoin { get; set; }
|
|
|
|
|
|
public bool CanWatch { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 服务器当前时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime Now { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 第一个冲线时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DateTime? FirstEndTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 第一个冲线以后,还需要多少分钟自动结束
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int CloseTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public bool HasRecord { get; set; }
|
2021-07-16 18:37:02 +08:00
|
|
|
|
//最大参赛人数
|
|
|
|
|
|
public int MaxMembers { get; set; }
|
|
|
|
|
|
//报名参赛的选手
|
|
|
|
|
|
public List<CompetitionPlayer> UserList {get;set; }
|
2021-07-20 09:58:01 +08:00
|
|
|
|
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; }
|
2021-07-23 09:04:56 +08:00
|
|
|
|
//简版赛事详情
|
|
|
|
|
|
public string ShortPreview { get; set; }
|
|
|
|
|
|
//活动banner
|
|
|
|
|
|
public string BannerPreview { get; set; }
|
2021-07-23 15:04:29 +08:00
|
|
|
|
public bool HasJoin { get; set; }
|
|
|
|
|
|
public int ApplyCount { get; set; }
|
2021-07-16 18:37:02 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
public class CompetitionPlayer
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
public string NickName { get; set; }
|
|
|
|
|
|
public string WxHeadImg { get; set; }
|
|
|
|
|
|
public string Sex { get; set; }
|
2021-06-24 18:19:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|