Use enumerations in EF models.

This commit is contained in:
2018-08-06 21:07:07 +01:00
parent b9aca7a804
commit e6378588f3
12 changed files with 1805 additions and 73 deletions

View File

@@ -2,11 +2,11 @@
{
public class StorageByMachine
{
public int MachineId { get; set; }
public int Type { get; set; }
public int Interface { get; set; }
public long? Capacity { get; set; }
public long Id { get; set; }
public int MachineId { get; set; }
public StorageType Type { get; set; }
public StorageInterface Interface { get; set; }
public long? Capacity { get; set; }
public long Id { get; set; }
public Machines Machine { get; set; }
}