mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Set defaults for booleans.
This commit is contained in:
@@ -54,7 +54,6 @@ namespace Marechai.Database.Models
|
||||
public string Alias { get; set; }
|
||||
[DisplayName("Name to be displayed")]
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
[NotMapped, DisplayName("Name")]
|
||||
public string FullName => DisplayName ?? Alias ?? $"{Name} {Surname}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user