using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations.Schema;

namespace Fengling.AuthService.Models;

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; }
}
