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-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
|
|
|
|
|
|
|
|
|
public DbSet<XW_ProjectMode> XW_ProjectMode { get; set; }
|
|
|
|
|
public DbSet<XW_TestingProject> XW_TestingProject { get; set; }
|
2025-01-13 21:06:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|