InitEshop+ddd+ca

This commit is contained in:
Matěj Kubíček
2026-07-16 18:33:05 +02:00
parent ffd8a087c8
commit 7e080eaef9
144 changed files with 972 additions and 1339 deletions
@@ -0,0 +1,19 @@
using System.ComponentModel.DataAnnotations;
namespace Eshop.Web.ViewModels;
public class AuthLoginViewModel
{
[Required(ErrorMessage = "Email or username is required")]
[Display(Name = "Email or Username")]
public string EmailOrUsername { get; set; } = "";
[Display(Name = "Password")]
[DataType(DataType.Password)]
[Required] [MinLength(4)]
public string Password { get; set; }
[Display(Name = "Remember me?")]
public bool RememberMe { get; set; } = false;
public string? ReturnUrl { get; set; }
}