82 lines
2.6 KiB
C#
82 lines
2.6 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Assets.Scripts.Apis.Models
|
||
{
|
||
public class UserResultModel
|
||
{
|
||
public int Id { get; set; }
|
||
public string Nickname { get; set; }
|
||
/// <summary>
|
||
/// 用户的性别,值为1时是男性,值为2时是女性,值为0时是未知
|
||
/// </summary>
|
||
public int Sex { get; set; }
|
||
public int Unit { get; set; }
|
||
public double Weight { get; set; }
|
||
public int FTP { get; set; }
|
||
public int WheelDiameter { get; set; }
|
||
public string Phone { get; set; }
|
||
public string Email { get; set; }
|
||
public string Pass { get; set; }
|
||
public string OtherPlatforms { get; set; }
|
||
public string Country { get; set; }
|
||
public string Province { get; set; }
|
||
public string City { get; set; }
|
||
public string Area { get; set; }
|
||
public string WxHeadImg { get; set; }
|
||
public DateTime LastLoginTime { get; set; }
|
||
/// <summary>
|
||
/// 自动暂停
|
||
/// </summary>
|
||
public bool AutoPause { get; set; }
|
||
/// <summary>
|
||
/// 最大心率
|
||
/// </summary>
|
||
public int MaxHeartRate { get; set; }
|
||
|
||
public bool CanEditRoom { get; set; }
|
||
/// <summary>
|
||
/// 自行车重
|
||
/// </summary>
|
||
public double BicycleWeight { get; set; }
|
||
|
||
public string Contact { get; set; }
|
||
|
||
public string ContactPhone { get; set; }
|
||
|
||
public string ContactAddress { get; set; }
|
||
/// <summary>
|
||
/// 阻力灵敏度
|
||
/// </summary>
|
||
public int Sensitivity { get; set; }
|
||
/// <summary>
|
||
/// 已连接到Strava
|
||
/// </summary>
|
||
public bool ConnectedToStrava { get; set; }
|
||
|
||
public DateTime? Birthday { get; set; }
|
||
//cookie
|
||
public string cookie { get; set; }
|
||
|
||
public string Unionid { get; set; }
|
||
public int Height { get; set; }
|
||
|
||
public DateTime LastUpdateFtpTime { get; set; }
|
||
|
||
public DateTime LastUpdateWeightTime { get; set; }
|
||
|
||
public DateTime LastUpdateBicycleWeightTime { get; set; }
|
||
public DateTime LastUpdateMaxHeartRate { get; set; }
|
||
public DateTime LastUpdateWheelStraight { get; set; }
|
||
public DateTime UpdateTime { get; set; }
|
||
public string WebHost { get; set; }//创建比赛url
|
||
public bool CanCreateRace { get; set; }//是否可以创建比赛
|
||
//第三方userid
|
||
public string AppleUserId { get; set; }
|
||
public string FacebookUserId { get; set; }
|
||
}
|
||
}
|