eeacfebec9
Adjust namespace
39 lines
1009 B
C#
39 lines
1009 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using AutoMapper;
|
|
|
|
namespace LeafWeb.WebCms.Models
|
|
{
|
|
public class LeafInputConfirm
|
|
{
|
|
[Display(Name = "Your name")]
|
|
public string Name { get; set; }
|
|
[Display(Name = "Your email")]
|
|
public string Email { get; set; }
|
|
[Display(Name = "Data identifier")]
|
|
public string Identifier { get; set; }
|
|
[Display(Name = "Site Id")]
|
|
public string SiteId { get; set; }
|
|
[Display(Name = "Photosynthetic Pathway")]
|
|
public SelectListViewModel PhotosynthesisType { get; set; }
|
|
public string[] Files { get; set; }
|
|
|
|
static LeafInputConfirm()
|
|
{
|
|
Mapper.CreateMap<LeafInputCreate, LeafInputConfirm>();
|
|
}
|
|
|
|
//public LeafInputConfirm(LeafInputCreate leafInputCreate, string[] files)
|
|
//{
|
|
// Mapper.Map(leafInputCreate, this);
|
|
// Files = files;
|
|
//}
|
|
|
|
//public LeafInputConfirm(IPublishedContent content, CultureInfo culture) : base(content, culture)
|
|
//{
|
|
//}
|
|
|
|
//public LeafInputConfirm(IPublishedContent content) : base(content)
|
|
//{
|
|
//}
|
|
}
|
|
} |