This commit is contained in:
andrei-mihnea-cerbu
2024-04-08 00:03:24 +03:00
parent 2ccec617a5
commit b48d5ee19e
168 changed files with 2877 additions and 1146 deletions
+32 -7
View File
@@ -9,10 +9,35 @@ public class Doctor
Id = Guid.NewGuid();
}
[Key]
public Guid Id { get; private set; }
public string? Name { get; set; }
public string? Email { get; set; }
public string? Password { get; set; }
public string? Description { get; set; }
}
[Key] public Guid Id { get; private set; }
public string? Name { get; private set; }
public string? Email { get; private set; }
public string? Password { get; private set; }
public string? Description { get; private set; }
public void SetId(Guid id)
{
Id = id;
}
public void SetName(string name)
{
Name = name;
}
public void SetEmail(string email)
{
Email = email;
}
public void SetPassword(string password)
{
Password = password;
}
public void SetDescription(string? description)
{
Description = description;
}
}