using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;

namespace LSFE.Infrastructure.Entities
{
    public class AppsUsers : IdentityUser
    {
        public string? FullName { get; set; }
        public string? Company { get; set; }
        public int? DepartmentId { get; set; }

        [ForeignKey("DepartmentId")]
        public Departments? Department { get; set; }

        public DateTime CreatedDate { get; set; }
        public DateTime UpdatedDate { get; set; }
        public string? CreatedBy { get; set; }
        public string? UpdatedBy { get; set; }
        public string? Address { get; set; }
        public int? AttachmentId { get; set; }

        [ForeignKey("AttachmentId")]
        public Attachment? Attachment { get; set; }
        public string? EmployeeId { get; set; }
    }
}
