87 lines
3.1 KiB
C#
Raw Normal View History

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; }
2021-07-28 18:33:52 +08:00
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; }
2021-07-27 10:32:39 +08:00
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; }
2021-07-20 09:58:01 +08:00
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; }
2021-07-29 20:01:38 +08:00
public bool CanEnter { get; set; }
public bool CanExit { get; set; }
public bool CanCancelJoin { get; set; }
public bool CanWatch { get; set; }
/// <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; }
//最大参赛人数
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; }
//简版赛事详情
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; }
}
public class CompetitionPlayer
{
public int Id { get; set; }
public string NickName { get; set; }
public string WxHeadImg { get; set; }
public string Sex { get; set; }
}
}