This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,33 @@
using System;
namespace Kreta.Framework.Entities
{
/// <summary>
/// Entitást jelző attribútum.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class EntityAttribute : Attribute
{
private string m_Name;
/// <summary>
/// Az attribútum konstruktora.
/// </summary>
/// <param name="name">Az entitás neve</param>
public EntityAttribute(string name)
{
m_Name = name;
}
/// <summary>
/// Az entitás neve.
/// </summary>
public string Name
{
get
{
return m_Name;
}
}
}
}