This commit is contained in:
mmrbnjd
2024-03-30 15:10:36 +03:30
parent f4588f3426
commit a9e3afdea4
60 changed files with 1752 additions and 70 deletions

23
Back/Data/Models/User.cs Normal file
View File

@@ -0,0 +1,23 @@
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<RolUser> RolUsers { get; set; }
#endregion
}
}