renis-backend/DTO/UserDto.cs
2024-09-07 12:45:00 +03:00

19 lines
439 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace renis_backend.DTO
{
public class UserDto
{
[Required]
public string Name { get; set; } = null!;
[Phone]
[Required]
public string Phone { get; set; } = null!;
[Required]
public string Password { get; set; } = null!;
}
}