Backend/C_shape/WEBAPI/JWT/JWTdemo/Models/AuthenticateRequest.cs

13 lines
228 B
C#
Raw Permalink Normal View History

2024-05-06 14:09:39 +08:00
namespace JWTdemo.Models;
using System.ComponentModel.DataAnnotations;
public class AuthenticateRequest
{
[Required]
public string? Username { get; set; }
[Required]
public string? Password { get; set; }
}