You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Common/Common/Security/Identity/Role.cs

17 lines
426 B

using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Connected.Security.Identity;
namespace Common.Security.Identity;
[Table(Schema = SchemaAttribute.SysSchema)]
internal record Role : ConsistentEntity<int>, IRole
{
public const string CacheKey = $"{SchemaAttribute.SysSchema}.{nameof(Role)}";
[Length(128)]
[Ordinal(0)]
public string? Name { get; init; }
}