28 lines
770 B
C#
28 lines
770 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BlazorWASM.Shared
|
|
{
|
|
public class TitlePlusImageModel
|
|
{
|
|
public string Title { get; set; }
|
|
public List<DescriptionContent> DescriptionContents { get; set; }
|
|
|
|
public string ImageUrl { get; set; }
|
|
public List<ContentButton>? ContentButtons { get; set; }
|
|
|
|
public TitlePlusImageModel(string title, List<DescriptionContent> descriptionContents, string imageUrl, List<ContentButton> contentButtons = null)
|
|
{
|
|
Title = title;
|
|
DescriptionContents = descriptionContents;
|
|
ImageUrl = imageUrl;
|
|
ContentButtons = contentButtons;
|
|
}
|
|
|
|
|
|
}
|
|
}
|