﻿using System.ComponentModel.DataAnnotations;

namespace MyNodes.WebController.ViewModels.User
{
    public class LoginModel
    {
        [Required(ErrorMessage = "Login is required")]
        public string Name { get; set; }

        [Required(ErrorMessage = "Password is required")]
        [DataType(DataType.Password)]
        public string Password { get; set; }
    }
}
