Files
annotations/Azaion.Common/DTO/ApiCredentials.cs
T
2025-06-13 23:06:48 +03:00

16 lines
426 B
C#

using CommandLine;
using MessagePack;
namespace Azaion.Common.DTO;
[MessagePackObject]
public class ApiCredentials : EventArgs
{
[Key(nameof(Email))]
[Option('e', "email", Required = true, HelpText = "User Email")]
public string Email { get; set; } = null!;
[Key(nameof(Password))]
[Option('p', "pass", Required = true, HelpText = "User Password")]
public string Password { get; set; } = null!;
}