sanAntonioSeniorGolf/API/DTO/Login/UserRegisterDTO.cs

20 lines
380 B
C#
Raw Normal View History

2024-07-12 17:27:01 -05:00
using DAL.Values;
using System.ComponentModel.DataAnnotations;
namespace API.DTO.Login
{
public class UserRegisterDTO
{
[MaxLength(64)]
public string firstName { get; set; } = null!;
[MaxLength(64)]
public string lastName { get; set; } = null!;
public PhoneNumber phoneNumber { get; set; } = null!;
[MaxLength(1000)]
public string? password { get; set; }
2024-07-12 17:27:01 -05:00
}
}