ql_apimanager_backend/Apimanager_backend/Dtos/RefreshResponseDto.cs
2024-11-03 22:01:35 +08:00

14 lines
381 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel.DataAnnotations;
namespace Apimanager_backend.Dtos
{
public class RefreshResponseDto
{
[Required(ErrorMessage = "用户ID必填")]
public int UserId { get; set; }
public string? Token { get; set; }
[Required(ErrorMessage = "刷新令牌必填!")]
public string RefreshToken { get; set; }
}
}