namespace Galaeth.Core.Attributes.EntityAnnotation;
///
/// Define the database table name for this entity.
///
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class TableMappingAttribute : Attribute
{
///
/// Initializes a new instance of the class.
///
/// The database table name.
public TableMappingAttribute(string name)
{
Name = name;
}
///
/// Database table name.
///
public string Name { get; }
}