using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ReallifeGamemode.Database; namespace ReallifeGamemode.DataService.Types { public class GetUserDataResponse { public string Name { get; set; } public AdminLevel AdminLevel { get; set; } public DateTime RegistrationDate { get; set; } public int RegisteredSince => (int)(DateTime.Now - RegistrationDate).TotalDays; public int HandMoney { get; set; } public int BankMoney { get; set; } public string FactionName { get; set; } public string FactionRankName { get; set; } public string Job { get; set; } public int WantedLevel { get; set; } public bool CarDrivingLicense { get; set; } public bool BikeDrivingLicense { get; set; } public bool BoatLicense { get; set; } public bool HelicopterLicense { get; set; } public bool PlaneLicense { get; set; } } }