using Core.DomainObjects.PageSections; using WeatherForecast.Models.Abstractions; namespace WeatherForecast.Models.PageSections { /// /// /// public class CheckoutSummarySectionModel : PageSectionModelBase { /// /// /// public string Total { get; set; } /// /// /// public FormItemModel PromoCode { get; set; } /// /// /// public FormItemModel Submit { get; set; } /// /// /// /// public CheckoutSummarySectionModel(SummarySection summarySection) : base(summarySection) { Total = summarySection.Total; PromoCode = new FormItemModel(summarySection.PromoCode); Submit = new FormItemModel(summarySection.Submit); } } }