using System.ComponentModel.DataAnnotations;

namespace watcher_monitoring.Models;

public class LoginViewModel
{
    [Required(ErrorMessage = "Benutzername ist erforderlich")]
    [Display(Name = "Benutzername")]
    public string Username { get; set; } = string.Empty;

    [Required(ErrorMessage = "Passwort ist erforderlich")]
    [DataType(DataType.Password)]
    [Display(Name = "Passwort")]
    public string Password { get; set; } = string.Empty;

    [Display(Name = "Angemeldet bleiben")]
    public bool RememberMe { get; set; }
}
