oop_II-6/Service_Server/Service_Server/Models/Doctor.cs

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;
}
}
}