21 lines
603 B
C#
21 lines
603 B
C#
using Core.DomainObjects.PageSections;
|
|
using WeatherForecast.Models.Abstractions;
|
|
|
|
namespace WeatherForecast.Models.PageSections {
|
|
public class SummarySectionModel : PageSectionModelBase<SummarySection> {
|
|
|
|
public string Total { get; set; }
|
|
|
|
public FormItemModel PromoCode { get; set; }
|
|
|
|
public FormItemModel Submit { get; set; }
|
|
|
|
public SummarySectionModel(SummarySection summarySection) : base(summarySection) {
|
|
Total = summarySection.Total;
|
|
PromoCode = new FormItemModel(summarySection.PromoCode);
|
|
Submit = new FormItemModel(summarySection.Submit);
|
|
}
|
|
|
|
}
|
|
}
|