User
add: Issues crud feature
c7beb09
Raw
History Blame Contribute Delete
1.39 kB
using System;
using System.Collections.Generic;
namespace TaskTrackingSystem.Database.AppDbContextModels;
public partial class User
{
public long Id { get; set; }
public string Username { get; set; } = null!;
public string FirstName { get; set; } = null!;
public string LastName { get; set; } = null!;
public string Email { get; set; } = null!;
public string PasswordHash { get; set; } = null!;
public string? Phone { get; set; }
public long RoleId { get; set; }
public bool IsActive { get; set; }
public DateTime? CreatedAt { get; set; }
public long? CreatedBy { get; set; }
public DateTime? UpdatedAt { get; set; }
public long? UpdatedBy { get; set; }
public bool IsDeleted { get; set; }
public virtual ICollection<AuditLog> AuditLogs { get; set; } = new List<AuditLog>();
public virtual ICollection<Comment> Comments { get; set; } = new List<Comment>();
public virtual ICollection<ProjectMember> ProjectMembers { get; set; } = new List<ProjectMember>();
public virtual ICollection<Project> Projects { get; set; } = new List<Project>();
public virtual Role Role { get; set; } = null!;
public virtual ICollection<Task> TaskAssignedByNavigations { get; set; } = new List<Task>();
public virtual ICollection<Task> TaskAssignedToNavigations { get; set; } = new List<Task>();
}