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

19 lines
424 B
C#
Executable File

namespace DotBased.AspNet.Authority.Models.Authority;
public class AuthorityRole()
{
public AuthorityRole(string name) : this()
{
Name = name;
}
public Guid Id { get; set; } = Guid.NewGuid();
public string? Name { get; set; }
public long Version { get; set; }
public DateTime CreatedDate { get; set; } = DateTime.Now;
public override string ToString() => Name ?? string.Empty;
}