- remove duplicate ITenantRepository/TenantRepository from Console - extend Platform ITenantRepository with GetByIdAsync, GetPagedAsync, CountAsync - update Console services to use Platform.Infrastructure.Repositories - fix nullable warnings (UserDto, OAuthClientService) - fix YarpGateway Directory.Build.props duplicate import - fix DynamicProxyConfigProvider CS8618 warning
17 lines
540 B
C#
17 lines
540 B
C#
namespace Fengling.Console.Models.Dtos;
|
|
|
|
public class UserDto
|
|
{
|
|
public long Id { get; set; }
|
|
public string? UserName { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? RealName { get; set; }
|
|
public string? Phone { get; set; }
|
|
public string TenantCode { get; set; } = "";
|
|
public string TenantName { get; set; } = "";
|
|
public List<string> Roles { get; set; } = new();
|
|
public bool EmailConfirmed { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|