2018-08-05 23:11:15 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Cicm.Database.Models
|
|
|
|
|
|
{
|
2018-08-06 21:27:14 +01:00
|
|
|
|
public class MachineFamily
|
2018-08-05 23:11:15 +01:00
|
|
|
|
{
|
2018-08-06 21:27:14 +01:00
|
|
|
|
public MachineFamily()
|
2018-08-05 23:11:15 +01:00
|
|
|
|
{
|
2018-08-06 21:27:14 +01:00
|
|
|
|
Machines = new HashSet<Machine>();
|
2018-08-05 23:11:15 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-06 19:54:03 +01:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
public int CompanyId { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
2018-08-05 23:11:15 +01:00
|
|
|
|
|
2018-08-06 23:33:39 +01:00
|
|
|
|
public virtual Company Company { get; set; }
|
|
|
|
|
|
public virtual ICollection<Machine> Machines { get; set; }
|
2018-08-05 23:11:15 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|