Created
May 22, 2017 21:34
-
-
Save dsibinski/270d672a47715a6f0e76ce4747048b3d to your computer and use it in GitHub Desktop.
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
[Table("Duties")] | |
public class Duty | |
{ | |
[PrimaryKey, AutoIncrement] | |
public int Id { get; set; } | |
public string Description { get; set; } | |
public DateTime Deadline { get; set; } | |
[ForeignKey(typeof(Employee))] | |
public int EmployeeId { get; set; } | |
[ManyToOne] | |
public Employee Employee { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment