[Aaru.Database] Reformat and cleanup.

This commit is contained in:
2023-10-03 23:00:32 +01:00
parent af659f3fcb
commit 2dd3bc18dc
12 changed files with 70 additions and 11 deletions

View File

@@ -56,16 +56,22 @@ public class UsbProduct
/// <summary>Database ID</summary>
[Key]
public int Id { get; set; }
/// <summary>Product ID</summary>
public ushort ProductId { get; set; }
/// <summary>Product name</summary>
public string Product { get; set; }
/// <summary>Date when model has been added to the database</summary>
public DateTime AddedWhen { get; set; }
/// <summary>Date when model was last modified</summary>
public DateTime ModifiedWhen { get; set; }
/// <summary>USB vendor ID</summary>
public ushort VendorId { get; set; }
/// <summary>Database link to USB vendor</summary>
public virtual UsbVendor Vendor { get; set; }
}