using System;
using System.Collections.Generic;
using System.Text;

namespace CoviDokClientX.Models
{
    public class User
    {
        public string Id { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public Gender Gender { get; set; }
        public Role Role { get; set; }

        public string Email { get; set; }

        public string Password { get; set; }

        public string ConfirmPassword { get; set; }
        public string Address { get; set; }
        public string Phone { get; set; }
        public DateTime RegistrationDate { get; set; }
        public int? PictureId { get; set; }
        public string PictureName { get; set; }

        public string DisplayName
        {
            get
            {
                return $"{LastName} {FirstName}";
            }
        }
    }

    public enum Role { Doctor, Assistant, Parent, Child }
    public enum Gender { Male, Female}
}