Migrate to .NET Core 3.1.

This commit is contained in:
2020-05-21 05:01:35 +01:00
parent e3ebd41291
commit 880f66df1a
12 changed files with 67 additions and 79 deletions

View File

@@ -41,9 +41,9 @@ namespace Marechai.Areas.Admin.Models
public string Company;
[DisplayFormat(DataFormatString = "{0:d}"), DataType(DataType.Date)]
public DateTime? Introduced;
[DisplayName("Model code")]
public string ModelCode;
public string Name;
[DisplayName("Model code")]
public string ModelCode { get; set; }
[NotMapped]
public string IntroducedView => Introduced?.ToShortDateString() ?? "Unknown";