using System;
namespace Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
{
///
/// Attribute that represents a reference between two tables/DTOs
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
public class ReferencesAttribute : Attribute
{
public ReferencesAttribute(Type type)
{
Type = type;
}
///
/// Gets or sets the Type of the referenced DTO/table
///
public Type Type { get; set; }
}
}