using Core.Abstractions.DomainObjects;
namespace WeatherForecast.Models.Abstractions {
///
///
///
///
public abstract class AddressSectionModelBase : PageSectionModelBase {
///
///
///
public FormItemModel FirstName { get; set; }
///
///
///
public FormItemModel LastName { get; set; }
///
///
///
public FormItemModel Address { get; set; }
///
///
///
public FormItemModel Address2 { get; set; }
///
///
///
public FormItemModel Country { get; set; }
///
///
///
public FormItemModel State { get; set; }
///
///
///
public FormItemModel City { get; set; }
///
///
///
public FormItemModel Zip { get; set; }
///
///
///
///
public AddressSectionModelBase(AddressSectionBase addressSection) : base(addressSection) {
FirstName = new FormItemModel(addressSection.FirstName);
LastName = new FormItemModel(addressSection.LastName);
Address = new FormItemModel(addressSection.Address);
Address2 = new FormItemModel(addressSection.Address2);
Country = new FormItemModel(addressSection.FirstName);
State = new FormItemModel(addressSection.State);
City = new FormItemModel(addressSection.City);
Zip = new FormItemModel(addressSection.Zip);
}
}
}