Add display names for archive properties

This commit is contained in:
Pat Hartl 2023-08-25 19:25:49 -05:00
parent 4f76394bb5
commit bf8eec1f6d

View file

@ -19,9 +19,13 @@ namespace LANCommander.Data.Models
[InverseProperty("Archives")] [InverseProperty("Archives")]
public virtual Game? Game { get; set; } public virtual Game? Game { get; set; }
[Display(Name = "Last Version")]
public virtual Archive? LastVersion { get; set; } public virtual Archive? LastVersion { get; set; }
[Display(Name = "Uncompressed Size")]
public long UncompressedSize { get; set; } public long UncompressedSize { get; set; }
[Display(Name = "Compressed Size")]
public long CompressedSize { get; set; } public long CompressedSize { get; set; }
} }
} }