using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YY.Admin.Core { /// /// 种子数据特性 /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)] public class SeedDataAttribute : Attribute { /// /// 排序(越大越后执行) /// public int Order { get; set; } = 0; public SeedDataAttribute(int orderNo) { Order = orderNo; } } }