first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,50 @@
namespace F9WebAiTest.Application.Dtos.Auth;
public class LoginDto
{
public string Username { get; set; }
public string Password { get; set; }
}
public class LoginResultDto
{
public string AccessToken { get; set; }
public string RefreshToken { get; set; }
public DateTime AccessTokenExpiresAt { get; set; }
public EmployeeInfoDto User { get; set; }
}
public class RefreshTokenDto
{
public string RefreshToken { get; set; }
}
public class EmployeeInfoDto
{
public long Id { get; set; }
public string Username { get; set; }
public string RealName { get; set; }
public string Nickname { get; set; }
public string Avatar { get; set; }
public string Phone { get; set; }
public string Email { get; set; }
public long DepartmentId { get; set; }
public string DepartmentName { get; set; }
public int Status { get; set; }
public List<string> Roles { get; set; } = new();
public List<string> Permissions { get; set; } = new();
}
public class ChangePasswordDto
{
public string OldPassword { get; set; }
public string NewPassword { get; set; }
}
public class UpdateProfileDto
{
public string Nickname { get; set; }
public string Avatar { get; set; }
public string Phone { get; set; }
public string Email { get; set; }
}