13 lines
290 B
C#
13 lines
290 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace winui_learning_2.Models;
|
|
|
|
public class UserLoginDto
|
|
{
|
|
[JsonPropertyName("username")]
|
|
public string Username { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("password")]
|
|
public string Password { get; set; } = string.Empty;
|
|
}
|