namespace Quadarax.Application.QLiberace.Common.Attributes { [AttributeUsage(AttributeTargets.Class)] public class DbContextModuleAssignmentAttribute : Attribute { public string ModuleCode { get; set; } public DbContextModuleAssignmentAttribute(string moduleCode) { if (string.IsNullOrEmpty(moduleCode)) throw new ArgumentNullException(nameof(moduleCode)); ModuleCode = moduleCode; } } }