mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use base model for primary key.
This commit is contained in:
@@ -32,14 +32,13 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Cicm.Database.Models
|
||||
{
|
||||
public class MachineFamily
|
||||
public class MachineFamily : BaseModel<int>
|
||||
{
|
||||
public MachineFamily()
|
||||
{
|
||||
Machines = new HashSet<Machine>();
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
public int CompanyId { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user