48 lines
2.1 KiB
C#
48 lines
2.1 KiB
C#
using GozareshgirProgramManager.Domain.CheckoutAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.CustomerAgg;
|
|
using GozareshgirProgramManager.Domain.ProjectAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.RoleAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.RoleUserAgg;
|
|
using GozareshgirProgramManager.Domain.SalaryPaymentSettingAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.SkillAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.UserAgg.Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using GozareshgirProgramManager.Domain.TaskChatAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.FileManagementAgg.Entities;
|
|
using GozareshgirProgramManager.Domain.ProjectAgg.Entities.Phase;
|
|
using GozareshgirProgramManager.Domain.ProjectAgg.Entities.Project;
|
|
using GozareshgirProgramManager.Domain.ProjectAgg.Entities.Task;
|
|
using GozareshgirProgramManager.Domain.ProjectAgg.Entities.Task.TaskSection;
|
|
|
|
namespace GozareshgirProgramManager.Application._Common.Interfaces;
|
|
|
|
public interface IProgramManagerDbContext
|
|
{
|
|
DbSet<Checkout> Checkouts { set; get; }
|
|
DbSet<SalaryPaymentSetting?> SalaryPaymentSettings { set; get; }
|
|
DbSet<Role> Roles { get; set; }
|
|
DbSet<User> Users { get; set; }
|
|
DbSet<UserRefreshToken> RefreshTokens { get; set; }
|
|
DbSet<Customer> Customers { get; }
|
|
DbSet<Project> Projects { get; set; }
|
|
DbSet<ProjectPhase> ProjectPhases { get; set; }
|
|
DbSet<TaskSection> TaskSections { get; set; }
|
|
DbSet<ProjectSection> ProjectSections { get; set; }
|
|
DbSet<PhaseSection> PhaseSections { get; set; }
|
|
DbSet<BugSection> BugSections { get; set; }
|
|
DbSet<ProjectTask> ProjectTasks { get; set; }
|
|
|
|
DbSet<TaskChatMessage> TaskChatMessages { get; set; }
|
|
DbSet<UploadedFile> UploadedFiles { get; set; }
|
|
|
|
//Task Section Time Request
|
|
DbSet<TaskSectionTimeRequest> TaskSectionTimeRequests { get; set; }
|
|
|
|
// Task Section Revision
|
|
DbSet<TaskSectionRevision> TaskSectionRevisions { get; set; }
|
|
|
|
DbSet<Skill> Skills { get; set; }
|
|
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
|
|
}
|
|
|