using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PSTW_CentralSystem.Models
{
    public class UserModel : IdentityUser<int> // Specify the type for the primary key
    {
        // Add custom properties
        public string? FullName { get; set; }
        public int? UserStatus { get; set; }
        public int? departmentId { get; set; }
        [ForeignKey("departmentId")]
        public virtual DepartmentModel? Department { get; set; }
        
    }
}
