mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-08-03 20:45:42 +08:00
refactor: ♻️ 框架&业务代码分离 (#185)
Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
namespace NetAdmin.Infrastructure.Attributes;
|
||||
|
||||
/// <summary>
|
||||
/// 域名特性
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Enum)]
|
||||
public sealed class DomainAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// 主机名称
|
||||
/// </summary>
|
||||
public string HostName { get; init; }
|
||||
}
|
Reference in New Issue
Block a user