Add Photosynthesis Type
This commit is contained in:
@@ -23,7 +23,8 @@ namespace LeafWeb.Core.Models
|
||||
[Required(ErrorMessage = "")]
|
||||
public string SiteId { get; set; }
|
||||
|
||||
public virtual PhotosynthesisType Photosynthesis { get; set; }
|
||||
[Required(ErrorMessage = "PhotosynthesisType required")]
|
||||
public virtual PhotosynthesisType PhotosynthesisType { get; set; }
|
||||
|
||||
[DataType(DataType.Date)]
|
||||
[Required]
|
||||
|
||||
@@ -10,5 +10,7 @@ namespace LeafWeb.Core.Models
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public int SortOrder { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user