File size: 532 Bytes
351c63d
a19fd25
 
 
 
 
 
 
351c63d
a19fd25
 
 
 
c2908d2
a19fd25
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;

namespace OilShopManagement.Models;

public class ApplicationUser : IdentityUser
{
    [StringLength(100)]
    [Display(Name = "الاسم الكامل")]
    public string FullName { get; set; } = string.Empty;

    public bool IsActive { get; set; } = true;

    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;

    public DateTime? LastLoginAt { get; set; }

    [StringLength(10)]
    public string? PreferredLanguage { get; set; }
}