- Convert Tenant to anemia model with long Id (no strong-typed ID) - Add ApplicationUser, ApplicationRole to Platform.Domain (inherit Identity) - Add TenantInfo value object for user-tenant redundancy - Implement TenantManager/TenantStore in Platform.Infrastructure - Update PlatformDbContext to inherit IdentityDbContext - Migrate AuthService and Console to use Platform entities - Remove old TenantRepository (replaced by TenantManager) - Update AGENTS.md documentation
14 lines
444 B
C#
14 lines
444 B
C#
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace Fengling.Platform.Domain.AggregatesModel.RoleAggregate;
|
|
|
|
public class ApplicationRole : IdentityRole<long>
|
|
{
|
|
public string? Description { get; set; }
|
|
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
|
|
public long? TenantId { get; set; }
|
|
public bool IsSystem { get; set; }
|
|
public string? DisplayName { get; set; }
|
|
public List<string>? Permissions { get; set; }
|
|
}
|