30 lines
772 B
C#
30 lines
772 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Web;
|
|
using Web_Server_EHEC.Model;
|
|
|
|
namespace Web_Server_EHEC.DAL
|
|
{
|
|
public class DoctorDAL
|
|
{
|
|
[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, DateTime birthdate, string street, string city)
|
|
{
|
|
this.Firstname = firstName;
|
|
this.Lastname = lastName;
|
|
this.Street = street;
|
|
this.City = city;
|
|
}
|
|
}
|
|
}
|
|
} |