Fix reformatting.

This commit is contained in:
2019-11-02 23:52:33 +00:00
parent f6df95b732
commit dcaf51faef
52 changed files with 6663 additions and 5874 deletions

View File

@@ -38,26 +38,26 @@ namespace DiscImageChef.Server.Models
{
public class UsbProduct
{
public UsbProduct()
{
}
public UsbProduct() { }
public UsbProduct(UsbVendor vendor, ushort id, string product)
{
ProductId = id;
Product = product;
Product = product;
AddedWhen = ModifiedWhen = DateTime.UtcNow;
Vendor = vendor;
Vendor = vendor;
}
[Key] public int Id { get; set; }
[Key]
public int Id { get; set; }
public ushort ProductId { get; set; }
public string Product { get; set; }
public DateTime AddedWhen { get; set; }
public ushort ProductId { get; set; }
public string Product { get; set; }
public DateTime AddedWhen { get; set; }
public DateTime ModifiedWhen { get; set; }
public int VendorId { get; set; }
public int VendorId { get; set; }
[JsonIgnore] public virtual UsbVendor Vendor { get; set; }
[JsonIgnore]
public virtual UsbVendor Vendor { get; set; }
}
}