Show vendor alongside usb product.

This commit is contained in:
2019-11-17 22:18:32 +00:00
parent b2d964d455
commit 4083d00f51
3 changed files with 38 additions and 33 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace DiscImageChef.Server.Models
{
public class UsbProductModel
{
[DisplayName("Manufacturer")]
public string VendorName { get; set; }
public int VendorId { get; set; }
[DisplayName("Product")]
public string ProductName { get; set; }
[DisplayName("Product ID"), DisplayFormat(DataFormatString = "0x{0:X4}")]
public ushort ProductId { get; set; }
}
}