using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations.Schema; namespace IUT_ISTAG.Models { public class ApplicationUser : IdentityUser { public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public bool is_actif { get; set; } = true; public string ?nom { get; set; } // utilisateur qui a créé ce compte public int? CreatedByUserId { get; set; } // navigation [ForeignKey("CreatedByUserId")] public ApplicationUser? CreatedByUser { get; set; } } }