using Microsoft.EntityFrameworkCore.Metadata.Internal; using System.ComponentModel.DataAnnotations.Schema; namespace Back.Data.Models { public class User { public int ID { get; set; } public string Fullname { get; set; } public string? Email { get; set; } public string Mobile { get; set; } public string Username { get; set; } public string Password { get; set; } public byte[]? Photo { get; set; } public bool IsActive { get; set; } [Column(TypeName = "varchar(max)")] public string? Token { get; set; } public string? DateLastLogin { get; set; } #region Navigation public virtual ICollection RolUsers { get; set; } #endregion } }