Yuyuqt
feat: authorization
c596926
Raw
History Blame
999 Bytes
using System;
using System.Collections.Generic;
namespace Database.Models;
public partial class User
{
public int Id { get; set; }
public string FullName { get; set; } = null!;
public string Email { get; set; } = null!;
public string PasswordHash { get; set; } = null!;
public string? PhoneNumber { get; set; }
public string Role { get; set; } = null!;
public bool IsActive { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime? UpdatedAt { get; set; }
public string? StudentId { get; set; }
public bool? BanStatus { get; set; }
public DateTime? SuspensionEndDate { get; set; }
public string? Address { get; set; }
public virtual ICollection<Borrowing> Borrowings { get; set; } = new List<Borrowing>();
public virtual ICollection<UserSubscription> UserSubscriptions { get; set; } = new List<UserSubscription>();
public virtual ICollection<Wishlist> Wishlists { get; set; } = new List<Wishlist>();
}