Api/Netina.Common/Models/Entity/PageClassDisplay.cs

25 lines
556 B
C#
Raw Normal View History

2024-04-16 20:01:34 +03:30
namespace Netina.Common.Models.Entity
2023-12-16 20:25:12 +03:30
{
[AttributeUsage(AttributeTargets.Class)]
2024-02-12 22:01:15 +03:30
public class PageClassDisplay : Attribute
2023-12-16 20:25:12 +03:30
{
private readonly string _description;
private readonly string _name;
2024-02-12 22:01:15 +03:30
public PageClassDisplay(string name, string description)
2023-12-16 20:25:12 +03:30
{
_name = name;
_description = description;
}
public string GetName()
{
return _name;
}
public string GetDescription()
{
return _description;
}
}
}