19 lines
439 B
C#
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!;
|
|
}
|
|
} |