Files
ShopSolution-backend/Webshop.Application/DTOs/Auth/LoginRequestDto.cs
Tizian.Breuch ce69373adb try
2025-07-23 21:08:30 +02:00

20 lines
573 B
C#

// Auto-generiert von CreateWebshopFiles.ps1
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace Webshop.Application.DTOs.Auth
{
public class LoginRequestDto
{
[Required(ErrorMessage = "E-Mail ist erforderlich.")]
[EmailAddress(ErrorMessage = "Ungültiges E-Mail-Format.")]
public string Email { get; set; } = string.Empty;
[Required(ErrorMessage = "Passwort ist erforderlich.")]
public string Password { get; set; } = string.Empty;
}
}