2019-11-17 22:18:32 +00:00
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2024-05-03 22:18:49 +01:00
|
|
|
namespace Aaru.Server.Database.Models;
|
2021-12-08 17:57:50 +00:00
|
|
|
|
|
|
|
|
public class UsbProductModel
|
2019-11-17 22:18:32 +00:00
|
|
|
{
|
2021-12-08 17:57:50 +00:00
|
|
|
[DisplayName("Manufacturer")]
|
|
|
|
|
public string VendorName { get; set; }
|
2023-10-04 00:09:19 +01:00
|
|
|
|
|
|
|
|
public int VendorId { get; set; }
|
|
|
|
|
|
2021-12-08 17:57:50 +00:00
|
|
|
[DisplayName("Product")]
|
|
|
|
|
public string ProductName { get; set; }
|
2023-10-04 00:09:19 +01:00
|
|
|
|
|
|
|
|
[DisplayName("Product ID")]
|
|
|
|
|
[DisplayFormat(DataFormatString = "0x{0:X4}")]
|
2021-12-08 17:57:50 +00:00
|
|
|
public ushort ProductId { get; set; }
|
2019-11-17 22:18:32 +00:00
|
|
|
}
|