using System; using System.Collections.Generic; namespace Cicm.Database.Models { public class Machines { public Machines() { Gpus = new HashSet(); Memory = new HashSet(); Processors = new HashSet(); Sound = new HashSet(); Storage = new HashSet(); } public int Id { get; set; } public int CompanyId { get; set; } public string Name { get; set; } public MachineType Type { get; set; } public DateTime? Introduced { get; set; } public int? FamilyId { get; set; } public string Model { get; set; } public Companies Company { get; set; } public MachineFamilies Family { get; set; } public ICollection Gpus { get; set; } public ICollection Memory { get; set; } public ICollection Processors { get; set; } public ICollection Sound { get; set; } public ICollection Storage { get; set; } } }