Add APISocietyToolBox source files

This commit is contained in:
ashishkamat
2026-06-30 16:07:31 +05:30
parent 2ebd889236
commit 70e9c9ea8d
993 changed files with 36439 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
using APISocietyToolBox.Models;
using Microsoft.EntityFrameworkCore;
namespace APISocietyToolBox.Data
{
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options) : base(options) { }
public DbSet<UserResponseModel> UserCRUD { get; set; }
public DbSet<LoginResponseModel> LoginUserValidate { get; set; }
public DbSet<UserTokenModel> getUserToken { get; set; }
public DbSet<UserTokensHistory> UserTokensHistory { get; set; }
public DbSet<DashBoardOutandingSummaryModel> getDashboardOutstandingSummary { get; set; }
public DbSet<DashBoardTransactionsModel> getDashboardTransactions { get; set; }
public DbSet<MemberBillsListModel> GetMemberBillList { get; set; }
public DbSet<BillsDetailsModel> GetBillDetails { get; set; }
public DbSet<ResponseNoticeBoardModel> DbNoticeBoard { get; set; }
public DbSet<NoticeBoardMessageModel> GetNoticeBoardMessages { get; set; }
public DbSet<MemberTransactionsListModel> GetMemberTransactionsList { get; set; }
public DbSet<PropertyUnitLedgerReportsModel> GetPropertyUnitLedgerReport { get; set; }
public DbSet<PropertyUnitUserModel> GetPropertyUnitsForUsers { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<UserTokenModel>().HasNoKey();
}
}
}