using System;
using System.Collections.Generic;
using System.Text;

namespace Ticket_System
{
    public sealed class ResponseToken
    {
        public string token { get; set; } = "";
    }

    public sealed class TokenIsValid
    {
        public bool is_valid { get; set; }
    }

    public sealed class SignInRequest
    {
        public string name { get; set; } = "";
        public string password { get; set; } = "";
    }

    public sealed class SignInErrorResponse
    {
        public Dictionary<string, string[]>? errors { get; set; }
        public ResponseToken? message { get; set; }
    }

}
