Adding LeafInput

This commit is contained in:
2016-01-11 23:11:38 -05:00
parent df8256f09b
commit 79baded8b1
14 changed files with 153 additions and 8 deletions
@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web;
namespace LeafWeb.Web.ViewModels.LeafInput
{
public class CreateViewModel
{
[Required]
[Display(Name = "Your name")]
public string Name { get; set; }
[Required]
[Display(Name = "Your email address")]
public string Email { get; set; }
[Required]
[Display(Name = "A unique identifier for this data")]
public string LeafInputId { get; set; }
[Required]
[Display(Name = "The site's name/Fluxnet ID, if known")]
public string SiteID { get; set; }
[Required]
[UIHint("HttpPostedFileBase")]
public HttpPostedFileBase Files { get; set; }
}
}