Created
November 19, 2015 21:20
-
-
Save HalidCisse/e48b55ed6bc26b8dc02d to your computer and use it in GitHub Desktop.
staff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Staff | |
{ | |
[Key] | |
public Guid StaffGuid { get; set; } | |
public Guid? PersonGuid { get; set; } | |
public string Matricule { get; set; } | |
public string PositionPrincipale { get; set; } | |
public string DepartementPrincipale { get; set; } | |
public string Division { get; set; } | |
public string Qualification { get; set; } | |
public string Diploma { get; set; } | |
public string DiplomaLevel { get; set; } | |
public int Experiences { get; set; } | |
public string FormerJob { get; set; } | |
public string Grade { get; set; } | |
public DateTime? HiredDate { get; set; } | |
public StaffStatus Statut { get; set; } | |
[ForeignKey("PersonGuid")] | |
public virtual Person Person { get; set; } | |
public virtual ICollection<Subject> Subjects { get; set; } = new HashSet<Subject>(); | |
public virtual ICollection<Study> Studies { get; set; } = new HashSet<Study>(); | |
public virtual ICollection<Job> Jobs { get; set; } = new HashSet<Job>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment