mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 11:14:27 +00:00
19 lines
463 B
C#
19 lines
463 B
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Aaru.Server.Database.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; }
|
|
} |