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

@@ -0,0 +1,17 @@
using System;
namespace Cicm.Database.Models
{
public class PeopleByCompany : BaseModel<long>
{
public int PersonId { get; set; }
public int CompanyId { get; set; }
public string Position { get; set; }
public DateTime? Start { get; set; }
public DateTime? End { get; set; }
public bool Ongoing { get; set; }
public virtual Person Person { get; set; }
public virtual Company Company { get; set; }
}
}