mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Migrate to .NET Core 3.1.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user