Added leaf status, ssh.net
This commit is contained in:
@@ -9,6 +9,7 @@ namespace LeafWeb.Core.Models
|
||||
public int Id { get; set; }
|
||||
|
||||
public virtual ICollection<LeafInputFile> LeafInputFiles { get; set; }
|
||||
public virtual ICollection<LeafInputStatus> LeafInputStatuses { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Name required")]
|
||||
public string Name { get; set; }
|
||||
@@ -25,5 +26,8 @@ namespace LeafWeb.Core.Models
|
||||
[DataType(DataType.Date)]
|
||||
[Required]
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
[DataType(DataType.Date)]
|
||||
public DateTime? Processed { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace LeafWeb.Core.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Status of processing LeafInput
|
||||
/// </summary>
|
||||
public class LeafInputStatus
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public virtual LeafInput LeafInput { get; set; }
|
||||
public string Status { get; set; }
|
||||
public string Description { get; set; }
|
||||
public DateTime DateTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user