namespace Fengling.AuthService.Models; public class OAuthApplication { public long Id { get; set; } public string ClientId { get; set; } = string.Empty; public string? ClientSecret { get; set; } public string DisplayName { get; set; } = string.Empty; public string[] RedirectUris { get; set; } = Array.Empty(); public string[] PostLogoutRedirectUris { get; set; } = Array.Empty(); public string[] Scopes { get; set; } = Array.Empty(); public string[] GrantTypes { get; set; } = Array.Empty(); public string ClientType { get; set; } = "public"; public string ConsentType { get; set; } = "implicit"; public string Status { get; set; } = "active"; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime? UpdatedAt { get; set; } }