using System; using System.Collections.Generic; namespace Cicm.Database.Models { public class Machines { public Machines() { GpusByMachine = new HashSet(); MemoryByMachine = new HashSet(); ProcessorsByMachine = new HashSet(); SoundByMachine = new HashSet(); StorageByMachine = new HashSet(); } public int Id { get; set; } public int Company { get; set; } public string Name { get; set; } public int Type { get; set; } public DateTime? Introduced { get; set; } public int? Family { get; set; } public string Model { get; set; } public Companies CompanyNavigation { get; set; } public MachineFamilies FamilyNavigation { get; set; } public ICollection GpusByMachine { get; set; } public ICollection MemoryByMachine { get; set; } public ICollection ProcessorsByMachine { get; set; } public ICollection SoundByMachine { get; set; } public ICollection StorageByMachine { get; set; } } }