move doctors to their own table
This commit is contained in:
parent
d4cf23c9ff
commit
c9749047b5
|
@ -1,15 +1,12 @@
|
|||
using System.Runtime.Serialization;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Server.Models
|
||||
{
|
||||
[Table("Doctors")]
|
||||
[DataContract]
|
||||
public class Doctor : Person
|
||||
{
|
||||
private int _DoctorID;
|
||||
|
||||
[DataMember]
|
||||
public int DoctorID { get => _DoctorID; set => _DoctorID = value; }
|
||||
|
||||
public Doctor() { }
|
||||
public Doctor(string firstName, string lastName, Gender gender, Salutation salutation,
|
||||
string streetName, string streetNumber, City city)
|
||||
|
|
Loading…
Reference in New Issue