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; }
    }
}
