using System.ComponentModel.DataAnnotations; using Kreta.Resources; using Kreta.Web.Attributes; namespace Kreta.Web.Areas.Adminisztracio.Models { public class LoginModel { [KretaDisplayName(3)] /*Felhasználónév*/ public string UserName { get; set; } [KretaDisplayName(2)] /*Jelszó*/ public string Password { get; set; } public string IntezmenyNeve { get; set; } public string IntezmenyOMkod { get; set; } public bool LejartLicence { get; set; } public bool CsokkentettGondviseloEnable { get; set; } public string IdpLogoutUrl { get; set; } public string NextUpdateHeader { get; set; } public string NextUpdateMessage { get; set; } [Required(ErrorMessageResourceName = nameof(ErrorResource.ABelepeshezACaptchaKozetelezo), ErrorMessageResourceType = typeof(ErrorResource))] public string ReCaptcha { get; set; } public bool ReCaptchaIsEnabled { get; set; } public bool IsSzirIntezmeny { get; set; } public bool IsArchivIntezmeny { get; set; } } }