mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using System;
|
|
using DiscImageChef.CommonTypes.Metadata;
|
|
|
|
namespace DiscImageChef.Database.Models
|
|
{
|
|
public class Report : DeviceReportV2
|
|
{
|
|
public Report()
|
|
{
|
|
Created = DateTime.UtcNow;
|
|
Uploaded = false;
|
|
}
|
|
|
|
public Report(DeviceReportV2 report)
|
|
{
|
|
ATA = report.ATA;
|
|
ATAPI = report.ATA;
|
|
CompactFlash = report.CompactFlash;
|
|
FireWire = report.FireWire;
|
|
Created = DateTime.UtcNow;
|
|
MultiMediaCard = report.MultiMediaCard;
|
|
PCMCIA = report.PCMCIA;
|
|
SCSI = report.SCSI;
|
|
SecureDigital = report.SecureDigital;
|
|
USB = report.USB;
|
|
Uploaded = false;
|
|
Manufacturer = report.Manufacturer;
|
|
Model = report.Model;
|
|
Revision = report.Revision;
|
|
Type = report.Type;
|
|
}
|
|
|
|
public DateTime Created { get; set; }
|
|
public bool Uploaded { get; set; }
|
|
}
|
|
} |