Skip to content

Instantly share code, notes, and snippets.

@HalidCisse
Created November 19, 2015 21:20
Show Gist options
  • Save HalidCisse/e48b55ed6bc26b8dc02d to your computer and use it in GitHub Desktop.
Save HalidCisse/e48b55ed6bc26b8dc02d to your computer and use it in GitHub Desktop.
staff
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