2024-05-08 14:52:50 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace MedicalDatabaseContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class DoctorViewModel : AbstractPersonViewModel
|
|
|
|
|
{
|
|
|
|
|
public int SpecializationId { get; set; }
|
|
|
|
|
[DisplayName("Специальность")]
|
|
|
|
|
public string SpecializationName { get; set; } = string.Empty;
|
2024-05-16 01:41:37 +04:00
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return GetFIO() + ", " + SpecializationName.ToLower();
|
|
|
|
|
}
|
2024-05-08 14:52:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|