using AutoMapper; using LeafWeb.Core.Entities; namespace LeafWeb.WebCms.Models { public class LeafInputDataCurveViewModel { /// Sample CO2 concentration //[ParseInfo(17, units: "umol/mol")] public double? CO2S { get; set; } public LeafInputDataCurveViewModel() {} public LeafInputDataCurveViewModel(LeafInputDataCurve leafInputDataCurve) { Mapper.Map(leafInputDataCurve, this); } } }