Submit all LeafInputFiles together
This commit is contained in:
@@ -8,7 +8,11 @@ namespace LeafWeb.Core.Entities
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public virtual ICollection<LeafInputFile> Files { get; set; }
|
||||
public virtual ICollection<LeafInputFile> InputFiles { get; set; }
|
||||
public virtual ICollection<LeafOutputFile> OutputFiles { get; set; }
|
||||
|
||||
public LeafInputStatusType CurrentStatus { get; set; }
|
||||
public virtual ICollection<LeafInputStatus> StatusHistory { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Name required")]
|
||||
public string Name { get; set; }
|
||||
@@ -28,5 +32,10 @@ namespace LeafWeb.Core.Entities
|
||||
[DataType(DataType.Date)]
|
||||
[Required]
|
||||
public DateTime Added { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{Id}_{Identifier}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user