DotBased/DotBased.AspNet.Authority/Models/Authority/AuthorityAttribute.cs
2025-02-02 23:33:00 +01:00

18 lines
464 B
C#
Executable File

namespace DotBased.AspNet.Authority.Models.Authority;
public class AuthorityAttribute(string attributeKey, Guid bound)
{
public AuthorityAttribute() : this(string.Empty, Guid.NewGuid())
{
}
public Guid BoundId { get; set; } = bound;
public string AttributeKey { get; set; } = attributeKey;
public string AttributeValue { get; set; } = string.Empty;
public string? Type { get; set; }
public long Version { get; set; }
}