YD_XinWei.Api/YD_XinWei/Context/SmartSportsContext.cs

30 lines
1.0 KiB
C#
Raw Normal View History

2025-01-13 21:06:59 +08:00
using Microsoft.EntityFrameworkCore;
2025-01-15 10:10:13 +08:00
using VOL.Entity.DomainModels;
2025-01-21 16:01:50 +08:00
using VOL.Entity.DomainModels.XinWei;
2025-01-13 21:06:59 +08:00
using YD_XinWei.Api.Entitys;
using YD_XinWei.Api.SmartSportsEntitys;
namespace YD_XinWei.Api.Context
{
/// <summary>
/// 用户服务上下文
/// </summary>
public class SmartSportsContext : DbContext
{
public SmartSportsContext(DbContextOptions<SmartSportsContext> options) : base(options)
{
}
public DbSet<S_Class> Class { get; set; }
2025-01-15 10:10:13 +08:00
public DbSet<S_Grade> Grade { get; set; }
public DbSet<S_Student> Student { get; set; }
public DbSet<S_School> School { get; set; }
2025-01-13 21:06:59 +08:00
public DbSet<Sys_User> Sys_User { get; set; }
2025-01-13 22:37:39 +08:00
2025-02-18 09:02:47 +08:00
public DbSet<N_HealthStandards> HealthStandards { get; set; }
2025-01-13 22:37:39 +08:00
public DbSet<XW_ProjectMode> XW_ProjectMode { get; set; }
public DbSet<XW_TestingProject> XW_TestingProject { get; set; }
2025-01-21 16:01:50 +08:00
public DbSet<XW_Device> XW_Device { get; set; }
public DbSet<XW_SportsTestData> XW_SportsTestData { get; set; }
2025-01-13 21:06:59 +08:00
}
}