69 lines
2.3 KiB
C#
69 lines
2.3 KiB
C#
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 CreateTime { get; set; }
|
|
public int CreateUser { get; set; }
|
|
public string Dec { get; set; }
|
|
public string EndApplyTime { get; set; }
|
|
public string EndApplyTimeVlaue { get; set; }
|
|
|
|
public bool IsOfficial { get; set; }
|
|
public int MapCompetitionType { get; set; }
|
|
public object NickName { get; set; }
|
|
public int pageCount { get; set; }
|
|
public int RouteId { get; set; }
|
|
public string Sponsor { get; set; }
|
|
public string 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 object 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 CanExit { 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; }
|
|
|
|
}
|
|
public class CompetitionPlayer
|
|
{
|
|
public int Id { get; set; }
|
|
public string NickName { get; set; }
|
|
public string WxHeadImg { get; set; }
|
|
public string Sex { get; set; }
|
|
}
|
|
}
|