Use base model for primary key.

This commit is contained in:
2019-05-19 17:51:28 +01:00
parent 916b0ec1c7
commit 843496bb1c
27 changed files with 40 additions and 58 deletions

View File

@@ -30,13 +30,12 @@
namespace Cicm.Database.Models
{
public class StorageByMachine
public class StorageByMachine : BaseModel<long>
{
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 virtual Machine Machine { get; set; }
}