From a7364f0b20a2025585dbbddd52fa42bc4b51e86d Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 09 六月 2025 11:26:13 +0800 Subject: [PATCH] feat:根据用户ID获取用户是否为后台管理员 新增字段promoterIdNumber --- LifePayment/LifePayment.EntityFrameworkCore/LifePaymentServicesDbContext.cs | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.EntityFrameworkCore/LifePaymentServicesDbContext.cs b/LifePayment/LifePayment.EntityFrameworkCore/LifePaymentServicesDbContext.cs index e021985..ff2b377 100644 --- a/LifePayment/LifePayment.EntityFrameworkCore/LifePaymentServicesDbContext.cs +++ b/LifePayment/LifePayment.EntityFrameworkCore/LifePaymentServicesDbContext.cs @@ -1,4 +1,5 @@ using LifePayment.Domain; +using LifePayment.Domain.Common; using LifePayment.Domain.LifePay; using LifePayment.Domain.Models; using Microsoft.EntityFrameworkCore; @@ -16,6 +17,11 @@ { } + public virtual DbSet<LifePayPromoter> LifePayPromoter { get; set; } + + public virtual DbSet<LifePayChannelConsultation> LifePayChannelConsultation { get; set; } + + public virtual DbSet<LifePayChannelConsultationFollowup> LifePayChannelConsultationFollowup { get; set; } public virtual DbSet<LifePayUser> LifePayUser { get; set; } @@ -25,15 +31,27 @@ public virtual DbSet<LifePayPremium> LifePayPremium { get; set; } + + public virtual DbSet<LifePayConsumption> LifePayConsumption { get; set; } + public virtual DbSet<LifePayRechargeReceipts> LifePayRechargeReceipts { get; set; } + + public virtual DbSet<LifePayExpensesReceipts> LifePayExpensesReceipts { get; set; } + + public virtual DbSet<LifePayChannlesRake> LifePayChannlesRake { get; set; } + public virtual DbSet<Area> Area { get; set; } public virtual DbSet<User> Users { get; set; } public virtual DbSet<Role> Roles { get; set; } + public virtual DbSet<OnlineService> OnlineService { get; set; } + public virtual DbSet<LifePayIntroInfo> LifePayIntroInfo { get; set; } public virtual DbSet<UserRole> UserRoles { get; set; } + + public virtual DbSet<UserChannle> UserChannle { get; set; } public virtual DbSet<OperateHistory> OperateHistory { get; set; } @@ -41,6 +59,8 @@ public virtual DbSet<LifePayAccount> LifePayAccount { get; set; } + public virtual DbSet<DallyStatistics> DallyStatistics { get; set; } + [UnitOfWork] protected override void OnModelCreating(ModelBuilder builder) { -- Gitblit v1.9.1