19 lines
676 B
C#
19 lines
676 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 RegisterRequestDto
|
|
{
|
|
[Required][EmailAddress] public string Email { get; set; } = string.Empty;
|
|
[Required][MinLength(6)] public string Password { get; set; } = string.Empty;
|
|
[Required][Compare("Password")] public string ConfirmPassword { get; set; } = string.Empty;
|
|
[Required] public string FirstName { get; set; } = string.Empty;
|
|
[Required] public string LastName { get; set; } = string.Empty;
|
|
}
|
|
}
|