mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Use base model.
This commit is contained in:
@@ -31,12 +31,11 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace DiscImageChef.Server.Models
|
||||
{
|
||||
public class UsbProduct
|
||||
public class UsbProduct : BaseModel<int>
|
||||
{
|
||||
public UsbProduct() { }
|
||||
|
||||
@@ -48,9 +47,6 @@ namespace DiscImageChef.Server.Models
|
||||
Vendor = vendor;
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
public ushort ProductId { get; set; }
|
||||
public string Product { get; set; }
|
||||
public DateTime AddedWhen { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user