2024-05-08 02:06:28 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace MedicalDatabaseContracts.Models
|
2024-05-07 23:43:40 +04:00
|
|
|
|
{
|
|
|
|
|
public class AbstractPersonModel : AbstractModel
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
public string Surname { get; set; } = string.Empty;
|
|
|
|
|
public string? Patronymic { get; set; }
|
|
|
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
2024-05-15 02:21:25 +04:00
|
|
|
|
public string GetFIO()
|
|
|
|
|
{
|
|
|
|
|
return string.Join(" ", Surname, Name, Patronymic ?? string.Empty);
|
|
|
|
|
}
|
2024-05-07 23:43:40 +04:00
|
|
|
|
}
|
|
|
|
|
}
|