mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Set date datatypes in model.
This commit is contained in:
@@ -53,6 +53,7 @@ namespace Cicm.Database.Models
|
||||
[StringLength(45)]
|
||||
public string ModelCode { get; set; }
|
||||
[DisplayFormat(DataFormatString = "{0:d}")]
|
||||
[DataType(DataType.Date)]
|
||||
public DateTime? Introduced { get; set; }
|
||||
[DisplayName("Instruction set")]
|
||||
public int? InstructionSetId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user