mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Show vendor alongside usb product.
This commit is contained in:
16
DiscImageChef.Server/Models/UsbProductModel.cs
Normal file
16
DiscImageChef.Server/Models/UsbProductModel.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user