2024-06-04 11:57:28 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class UserBindingModel
|
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public string FirstName { get; set; } = string.Empty;
|
|
|
|
|
public string SecondName { get; set; } = string.Empty;
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
|
public string PasswordHash { get; set; } = string.Empty;
|
2024-06-05 15:14:25 +04:00
|
|
|
|
public string? Password { get; set; }
|
2024-06-04 11:57:28 +04:00
|
|
|
|
public DateTime Birthday { get; set; }
|
|
|
|
|
public RoleBindingModel Role { get; set; } = null!;
|
|
|
|
|
}
|
|
|
|
|
}
|