Files
mws.backend.dotnet/domain/Roles/Role.cs
T

14 lines
432 B
C#
Raw Normal View History

2026-08-19 23:25:08 +07:00
namespace mws.backend.dotnet.domain.Roles;
2026-08-13 23:10:22 +07:00
public class Role
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public bool IsSystem { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public List<RolePermission> Permissions { get; set; } = [];
2026-08-19 23:25:08 +07:00
public List<mws.backend.dotnet.domain.Users.UserRole> UserRoles { get; set; } = [];
2026-08-13 23:10:22 +07:00
}