using Core.Abstractions.DomainObjects; using Core.Abstractions.Models; namespace WeatherForecast.Models.Abstractions { public abstract class PageSectionModelBase : ModelBase { public string? Title { get; set; } public string? Text { get; set; } public PageSectionModelBase() { } public PageSectionModelBase(PageSectionBase pageSectionBase) { Title = pageSectionBase.Title; Text = pageSectionBase.Text; } public PageSectionModelBase(string? title, string? text) { Title = title; Text = text; } } }