mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-02-23 15:15:01 +01:00
24 lines
522 B
C#
Executable File
24 lines
522 B
C#
Executable File
namespace DotBased.AspNet.Authority.Models.Authority;
|
|
|
|
public class AuthorityGroup
|
|
{
|
|
public AuthorityGroup(string name) : this()
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public AuthorityGroup()
|
|
{
|
|
Id = Guid.NewGuid();
|
|
CreatedDate = DateTime.Now;
|
|
}
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public long Version { get; set; }
|
|
|
|
public DateTime CreatedDate { get; set; }
|
|
public ICollection<AuthorityAttribute> Attributes { get; set; } = [];
|
|
} |