Adding LeafInput
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user