This commit is contained in:
@@ -23,9 +23,15 @@ namespace AyaNova.Models
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
[Required]
|
||||
public DateTime DueDate { get; set; }
|
||||
public DateTime? CompletedDate { get; set; }
|
||||
public long? UserId { get; set; }
|
||||
public string CompletionNotes { get; set; }
|
||||
[Required]
|
||||
public long UserId { get; set; }
|
||||
[Required]
|
||||
public long AssignedByUserId { get; set; }
|
||||
|
||||
[Required]
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
@@ -40,6 +46,17 @@ namespace AyaNova.Models
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public bool Self
|
||||
{
|
||||
get
|
||||
{
|
||||
return (UserId == AssignedByUserId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public Review()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
|
||||
Reference in New Issue
Block a user