using Microsoft.AspNetCore.Components;

namespace CityInfo.WEB.Components
{
    public enum LinkType
    {
        Create,
        Edit,
        Details
    }
    public partial class PageHeader
    {
        [Parameter]
        public string Name { get; set; } = string.Empty;
        [Parameter]
        public string NameType { get; set; } = string.Empty;
        [Parameter]
        public string? Link { get; set; }
        [Parameter]
        public LinkType LinkType { get; set; } = LinkType.Create;
    }
}
