mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Revert USB models to independence.
This commit is contained in:
@@ -31,11 +31,12 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DiscImageChef.Database.Models
|
||||
{
|
||||
public class UsbProduct : BaseModel<int>
|
||||
public class UsbProduct
|
||||
{
|
||||
public UsbProduct() { }
|
||||
|
||||
@@ -47,6 +48,8 @@ namespace DiscImageChef.Database.Models
|
||||
AddedWhen = ModifiedWhen = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
[Index]
|
||||
public ushort ProductId { get; set; }
|
||||
public string Product { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user