Show products in USB vendor details.

This commit is contained in:
2019-11-17 22:47:41 +00:00
parent 85c34c640a
commit 9a06a00600
3 changed files with 71 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace DiscImageChef.Server.Models
{
public class UsbVendorModel
{
[DisplayName("Manufacturer")]
public string Vendor { get; set; }
[DisplayName("Vendor ID"), DisplayFormat(DataFormatString = "0x{0:X4}")]
public ushort VendorId { get; set; }
public List<UsbProductModel> Products { get; set; }
}
}