DotBased/DotBased.AspNet.Authority/Models/Authority/AuthorityGroup.cs

23 lines
448 B
C#
Raw Normal View History

namespace DotBased.AspNet.Authority.Models.Authority;
2025-01-08 16:30:51 +01:00
public class AuthorityGroup
{
public AuthorityGroup(string name) : this()
{
Name = name;
}
public AuthorityGroup()
{
Id = Guid.NewGuid();
CreatedDate = DateTime.Now;
}
2025-01-08 16:30:51 +01:00
public Guid Id { get; set; }
public string? Name { get; set; }
public long Version { get; set; }
public DateTime CreatedDate { get; set; }
}