Adding EF initialization
This commit is contained in:
@@ -6,10 +6,9 @@ namespace LeafWeb.Core.Models
|
||||
{
|
||||
public class LeafInput
|
||||
{
|
||||
[Key]
|
||||
public int LeafInputId { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
public virtual IEnumerable<LeafInputFile> LeafInputFiles { get; set; }
|
||||
public virtual ICollection<LeafInputFile> LeafInputFiles { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "Name required")]
|
||||
public string Name { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user