12 lines
237 B
C#
12 lines
237 B
C#
|
namespace Parking_space_WebAPI.Models;
|
||
|
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
||
|
public class AuthenticateRequest
|
||
|
{
|
||
|
[Required]
|
||
|
public string? username { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
public string? password { get; set; }
|
||
|
}
|