[CHANGE] Updated models

This commit is contained in:
max
2025-01-08 16:30:51 +01:00
parent fd733b7238
commit 3ccd3106c1
3 changed files with 23 additions and 7 deletions

View File

@@ -2,6 +2,17 @@ namespace DotBased.AspNet.Authority.Models.Authority;
public abstract class AuthorityRole
{
public AuthorityRole(string name) : this()
{
Name = name;
}
public AuthorityRole()
{
Id = Guid.NewGuid();
CreatedDate = DateTime.Now;
}
public Guid Id { get; set; }
public string? Name { get; set; }