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