mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add people by company entity.
This commit is contained in:
17
Cicm.Database/Models/PeopleByCompany.cs
Normal file
17
Cicm.Database/Models/PeopleByCompany.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user