using System.ComponentModel.DataAnnotations;

namespace Api.Models
{
  public class TokenViewModel
  {
    [Required]
    public string Token { get; set; }

    [Required]
    public string Username { get; set; }

    public TokenViewModel(string username, string token)
    {
      Token = token;
      Username = username;
    }
  }
}