mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:56:31 +00:00
16 lines
426 B
C#
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!;
|
|
} |