using System; using System.Linq; namespace FreeSql.DataAnnotations { [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)] public class AggregateRootBoundaryAttribute : Attribute { public string Name { get; set; } /// /// 边界是否终止 /// public bool Break { get; set; } /// /// 边界是否终止向下探测 /// public bool BreakThen { get; set; } public AggregateRootBoundaryAttribute(string name) { this.Name = name; } public AggregateRootBoundaryAttribute() { } } }