// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System.Collections.Generic; namespace MyDriving.DataObjects { public class UserProfile : BaseDataObject { public string FirstName { get; set; } public string LastName { get; set; } public string UserId { get; set; } public string ProfilePictureUri { get; set; } public int Rating { get; set; } public int Ranking { get; set; } /// /// Gets or sets the total distance. Stored in Miles /// /// The total distance. public double TotalDistance { get; set; } public long TotalTrips { get; set; } public long TotalTime { get; set; } public long HardStops { get; set; } public long HardAccelerations { get; set; } /// /// Gets or sets the fuel consumption. Stored in gallons /// /// The fuel consumption. public double FuelConsumption { get; set; } /// /// Gets or sets the max speed. Stored in km/h /// /// The max speed. public double MaxSpeed { get; set; } public List Devices { get; set; } } public class Device : BaseDataObject { public string Name { get; set; } } }