29 lines
578 B
C#
29 lines
578 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Service_Server.Models
|
|
{
|
|
[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)
|
|
{
|
|
this.FirstName = firstName;
|
|
this.LastName = lastName;
|
|
|
|
}
|
|
}
|
|
}
|