powerfun-unity/Assets/Scripts/Apis/Models/UserResultModel.cs

82 lines
2.6 KiB
C#
Raw Normal View History

2021-03-22 16:05:40 +08:00
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; }
2021-04-06 15:30:36 +08:00
//cookie
public string cookie { get; set; }
2021-04-16 17:49:11 +08:00
public string Unionid { get; set; }
public int Height { get; set; }
2021-04-23 09:22:12 +08:00
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; }//是否可以创建比赛
2022-01-05 17:40:12 +08:00
//第三方userid
public string AppleUserId { get; set; }
public string FacebookUserId { get; set; }
2021-03-22 16:05:40 +08:00
}
}