2018-08-05 23:11:15 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Cicm.Database.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
public class Machines
|
|
|
|
|
|
{
|
|
|
|
|
|
public Machines()
|
|
|
|
|
|
{
|
2018-08-06 19:54:03 +01:00
|
|
|
|
Gpus = new HashSet<GpusByMachine>();
|
|
|
|
|
|
Memory = new HashSet<MemoryByMachine>();
|
|
|
|
|
|
Processors = new HashSet<ProcessorsByMachine>();
|
|
|
|
|
|
Sound = new HashSet<SoundByMachine>();
|
|
|
|
|
|
Storage = new HashSet<StorageByMachine>();
|
2018-08-05 23:11:15 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-06 21:07:07 +01:00
|
|
|
|
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; }
|
2018-08-05 23:11:15 +01:00
|
|
|
|
|
2018-08-06 19:54:03 +01:00
|
|
|
|
public Companies Company { get; set; }
|
|
|
|
|
|
public MachineFamilies Family { get; set; }
|
|
|
|
|
|
public ICollection<GpusByMachine> Gpus { get; set; }
|
|
|
|
|
|
public ICollection<MemoryByMachine> Memory { get; set; }
|
|
|
|
|
|
public ICollection<ProcessorsByMachine> Processors { get; set; }
|
|
|
|
|
|
public ICollection<SoundByMachine> Sound { get; set; }
|
|
|
|
|
|
public ICollection<StorageByMachine> Storage { get; set; }
|
2018-08-05 23:11:15 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|