Add people by company entity.

This commit is contained in:
2019-06-05 15:32:17 +01:00
parent 2afe0b9e9a
commit a50b6a6edd
8 changed files with 5987 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@@ -22,5 +23,6 @@ namespace Cicm.Database.Models
public string FullName => $"{Name} {Surname}";
public short? CountryOfBirthId { get; set; }
public virtual ICollection<PeopleByCompany> Companies { get; set; }
}
}