namespace Galaeth.Core.Attributes.EntityAnnotation; /// /// Define the column name this property relates to. /// [AttributeUsage(AttributeTargets.Property)] public class ColumnMappingAttribute : Attribute { /// /// Initializes a new instance of the class. /// /// Database column name. public ColumnMappingAttribute(string name) { Name = name; } /// /// Database table column name. /// public string Name { get; } }