init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
33
KretaWeb/Areas/Adminisztracio/Models/ProfilModel.cs
Normal file
33
KretaWeb/Areas/Adminisztracio/Models/ProfilModel.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Resources;
|
||||
using Kreta.Web.Attributes;
|
||||
using static Kreta.Core.Constants;
|
||||
|
||||
namespace Kreta.Web.Areas.Adminisztracio.Models
|
||||
{
|
||||
public class ProfilModel
|
||||
{
|
||||
public bool JelszoValtoztatasNemLehetseges { get; set; }
|
||||
|
||||
[KretaRequired(StringResourcesId = 2575 /*Jelenlegi jelszó megadása kötelező!*/)]
|
||||
[KretaDisplayName(1826)] /*Jelenlegi jelszó*/
|
||||
[DataType(DataType.Password)]
|
||||
public string JelenlegiJelszo { get; set; }
|
||||
|
||||
[KretaRequired(StringResourcesId = 2576 /*Új jelszó megadása kötelező!*/)]
|
||||
[KretaDisplayName(1827)] /*Új jelszó*/
|
||||
[DataType(DataType.Password)]
|
||||
[StringLength(General.JelszoMaximumKarakterekSzama, MinimumLength = General.JelszoMinimumKarakterekSzama, ErrorMessageResourceName = nameof(ErrorResource.AJelszonakMin0Max0KarakterbolKellAllnia), ErrorMessageResourceType = typeof(ErrorResource))]
|
||||
public string UjJelszo { get; set; }
|
||||
|
||||
[KretaRequired(StringResourcesId = 2577 /*Új jelszó megerősítésének megadása kötelező!*/)]
|
||||
[KretaDisplayName(1828)] /*Új jelszó megerősítése*/
|
||||
[DataType(DataType.Password)]
|
||||
[StringLength(General.JelszoMaximumKarakterekSzama, MinimumLength = General.JelszoMinimumKarakterekSzama, ErrorMessageResourceName = nameof(ErrorResource.AJelszonakMin0Max0KarakterbolKellAllnia), ErrorMessageResourceType = typeof(ErrorResource))]
|
||||
[Compare("UjJelszo", ErrorMessageResourceName = nameof(ErrorResource.JelszoNemEgyezikMeg), ErrorMessageResourceType = typeof(ErrorResource))]
|
||||
public string UjJelszoMegerositese { get; set; }
|
||||
|
||||
public bool IsElerhetosegAdatokSzerkeszthetoek { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue