....
This commit is contained in:
23
Back/Data/Models/User.cs
Normal file
23
Back/Data/Models/User.cs
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user