mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
58 lines
2.6 KiB
C#
58 lines
2.6 KiB
C#
namespace CarCareTracker.Models
|
|
{
|
|
public class UserConfig
|
|
{
|
|
public bool UseDarkMode { get; set; }
|
|
public bool UseSystemColorMode { get; set; }
|
|
public bool EnableCsvImports { get; set; }
|
|
public bool UseMPG { get; set; }
|
|
public bool UseDescending { get; set; }
|
|
public bool EnableAuth { get; set; }
|
|
public bool DisableRegistration { get; set; }
|
|
public bool EnableRootUserOIDC { get; set; }
|
|
public bool HideZero { get; set; }
|
|
public bool UseUKMPG {get;set;}
|
|
public bool UseThreeDecimalGasCost { get; set; }
|
|
public bool UseThreeDecimalGasConsumption { get; set; }
|
|
public bool UseMarkDownOnSavedNotes { get; set; }
|
|
public bool EnableAutoReminderRefresh { get; set; }
|
|
public bool EnableAutoOdometerInsert { get; set; }
|
|
public bool EnableShopSupplies { get; set; }
|
|
public bool EnableExtraFieldColumns { get; set; }
|
|
public bool HideSoldVehicles { get; set; }
|
|
public bool AutomaticDecimalFormat { get; set; }
|
|
public string PreferredGasUnit { get; set; } = string.Empty;
|
|
public string PreferredGasMileageUnit { get; set; } = string.Empty;
|
|
public bool UseUnitForFuelCost { get; set; }
|
|
public List<UserColumnPreference> UserColumnPreferences { get; set; } = new List<UserColumnPreference>();
|
|
public ReminderUrgencyConfig ReminderUrgencyConfig { get; set; } = new ReminderUrgencyConfig();
|
|
public string UserNameHash { get; set; }
|
|
public string UserPasswordHash { get; set;}
|
|
public string DefaultReminderEmail { get; set; } = string.Empty;
|
|
public string UserLanguage { get; set; } = "en_US";
|
|
public List<ImportMode> VisibleTabs { get; set; } = new List<ImportMode>() {
|
|
ImportMode.Dashboard,
|
|
ImportMode.ServiceRecord,
|
|
ImportMode.RepairRecord,
|
|
ImportMode.GasRecord,
|
|
ImportMode.UpgradeRecord,
|
|
ImportMode.TaxRecord,
|
|
ImportMode.ReminderRecord,
|
|
ImportMode.NoteRecord
|
|
};
|
|
public ImportMode DefaultTab { get; set; } = ImportMode.Dashboard;
|
|
public List<ImportMode> TabOrder { get; set; } = new List<ImportMode>() {
|
|
ImportMode.Dashboard,
|
|
ImportMode.PlanRecord,
|
|
ImportMode.OdometerRecord,
|
|
ImportMode.ServiceRecord,
|
|
ImportMode.RepairRecord,
|
|
ImportMode.UpgradeRecord,
|
|
ImportMode.GasRecord,
|
|
ImportMode.SupplyRecord,
|
|
ImportMode.TaxRecord,
|
|
ImportMode.NoteRecord,
|
|
ImportMode.ReminderRecord
|
|
};
|
|
}
|
|
} |