mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add basic fields to device report.
This commit is contained in:
@@ -5,6 +5,11 @@ namespace DiscImageChef.Database.Models
|
||||
{
|
||||
public class Device : DeviceReportV2
|
||||
{
|
||||
public Device()
|
||||
{
|
||||
LastSynchronized = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
public Device(DeviceReportV2 report)
|
||||
{
|
||||
ATA = report.ATA;
|
||||
@@ -17,6 +22,10 @@ namespace DiscImageChef.Database.Models
|
||||
SCSI = report.SCSI;
|
||||
SecureDigital = report.SecureDigital;
|
||||
USB = report.USB;
|
||||
Manufacturer = report.Manufacturer;
|
||||
Model = report.Model;
|
||||
Revision = report.Revision;
|
||||
Type = report.Type;
|
||||
}
|
||||
|
||||
public DateTime LastSynchronized { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user