Move old owned_computers and owned_consoles tables to a new OwnedMachines table

with corresponding GPUs, memory, processors, sound synths and storage related tables.
This commit is contained in:
2019-05-29 21:13:09 +01:00
parent b27d67604f
commit 3813ad80cf
17 changed files with 6677 additions and 303 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel;
namespace Cicm.Database.Models
{
public class MemoryByOwnedMachine : BaseModel<long>
{
public long OwnedMachineId { get; set; }
public MemoryType Type { get; set; }
public MemoryUsage Usage { get; set; }
public long Size { get; set; }
[DisplayName("Speed (Hz)")]
public double Speed { get; set; }
public virtual OwnedMachine OwnedMachine { get; set; }
}
}