using Microsoft.AspNetCore.Identity;
using PSTW_CentralSystem.Areas.Inventory.Models;
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
        //[Key]
        //public int UserId { get; set; }
        public string? FullName { get; set; }
        public int? UserInfoStatus { get; set; }
        public int? departmentId { get; set; }
        [ForeignKey("departmentId")]
        public virtual DepartmentModel? Department { get; set; }

        public virtual InventoryMasterModel? Store { get; set; }
    }
}
