添加项目文件。

This commit is contained in:
2026-05-09 17:06:30 +08:00
parent c60f5fe117
commit 720ef957d4
378 changed files with 14843 additions and 0 deletions
@@ -0,0 +1,16 @@
namespace IdentityService.WebApi.Applications.Dtos.Common
{
public class UserResponse
{
public Guid Id { get; set; }
public string UserName { get; set; }
public string NickName { get; set; }
public string? Email { get; set; }
public string? Phone { get; set; }
public string Region { get; set; }
public string Description { get; set; }
public string? Avatar { get; set; }
public DateTimeOffset CreationTime { get; set; }
public DateTimeOffset? Deletion { get; set; }
}
}
@@ -0,0 +1,18 @@
namespace IdentityService.WebApi.Applications.Dtos
{
public class LoginResponse
{
public Guid UserId { get; init; }
public string Token { get; init; }
public string RefreshToken { get; init; }
public DateTime? Expired { get; init; }
public LoginResponse(Guid userId, string token, string refreshToken, DateTime? expired)
{
UserId = userId;
Token = token;
RefreshToken = refreshToken;
Expired = expired;
}
}
}