using Core.DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.PageSections {
///
///
///
public class PaymentSectionModel : PageSectionModelBase {
///
///
///
public FormItemModel NameOnCard { get; set; }
///
///
///
public FormItemModel CardNumber { get; set; }
///
///
///
public FormItemModel Expiration { get; set; }
///
///
///
public FormItemModel Cvv { get; set; }
///
///
///
///
public PaymentSectionModel(PaymentSection paymentSection) : base(paymentSection) {
NameOnCard = new FormItemModel(paymentSection.NameOnCard);
CardNumber = new FormItemModel(paymentSection.CardNumber);
Expiration = new FormItemModel(paymentSection.Expiration);
Cvv = new FormItemModel(paymentSection.Cvv);
}
}
}