35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EFB.Models
|
|
{
|
|
public class UserModel
|
|
{
|
|
/*
|
|
User - Contains relevant user information as well as current session data such
|
|
|
|
#API Token
|
|
#Route
|
|
#Last Recorded Sim Position
|
|
|
|
This is the model that is implemented into MongoDB
|
|
*/
|
|
public object Id { get; init; }
|
|
public string EMail { get; init; }
|
|
public TokenModel UserToken { get; set; } = null;
|
|
|
|
//Contains the most recent route generated by the user through the App
|
|
public string Route { get; set; }
|
|
public TokenModel RouteToken { get; set; } = null;
|
|
|
|
//Contains the Departure and Arrival Charts for the user's route
|
|
public ChartModel DepartureCharts { get; set; }
|
|
public ChartModel ArrivalCharts { get; set; }
|
|
|
|
//Contains the most recently stored position of the user in the simulator
|
|
public object SimPosition { get; set; } = null;
|
|
|
|
}
|
|
} |