2025-06-06 14:57:20 +08:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using YD_WeChatApplet.Api.Entitys;
|
|
|
|
|
using YD_WeChatApplet.Api.SmartSportsEntitys;
|
|
|
|
|
|
|
|
|
|
namespace YD_WeChatApplet.Context
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户服务上下文
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SmartSportsContext : DbContext
|
|
|
|
|
{
|
|
|
|
|
public SmartSportsContext(DbContextOptions<SmartSportsContext> options) : base(options)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
public DbSet<S_Class> Class { get; set; }
|
|
|
|
|
public DbSet<S_ClassAssocTeacher> ClassAssocTeacher { get; set; }
|
|
|
|
|
public DbSet<S_HomeWork> HomeWork { get; set; }
|
|
|
|
|
public DbSet<S_HomeWorkStudents> HomeWorkStudents { get; set; }
|
|
|
|
|
public DbSet<S_Student> Student { get; set; }
|
|
|
|
|
public DbSet<S_SubmittedAssignments> SubmittedAssignments { get; set; }
|
|
|
|
|
public DbSet<S_Teacher> Teacher { get; set; }
|
|
|
|
|
public DbSet<S_School> School { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<Sys_User> Sys_User { get; set; }
|
|
|
|
|
public DbSet<Ai_Special> Ai_Special { get; set; }
|
2025-06-11 11:45:53 +08:00
|
|
|
|
public DbSet<Ai_ClassRoomRecord> Ai_ClassRoomRecord { get; set; }
|
|
|
|
|
public DbSet<Ai_ClassroomStudentRecord> Ai_ClassroomStudentRecord { get; set; }
|
|
|
|
|
public DbSet<Ai_FastJumpRopeData> Ai_FastJumpRopeData { get; set; }
|
|
|
|
|
public DbSet<Ai_HeartRateData> Ai_HeartRateData { get; set; }
|
2025-06-06 14:57:20 +08:00
|
|
|
|
public DbSet<G_Article> Article { get; set; }
|
|
|
|
|
public DbSet<Ai_SpecialAction> Ai_SpecialAction { get; set; }
|
|
|
|
|
public DbSet<Ai_SpecialLevel> Ai_SpecialLevel { get; set; }
|
|
|
|
|
public DbSet<N_SportsTestCategory> SportsTestCategory { get; set; }
|
|
|
|
|
public DbSet<N_HealthStandards> HealthStandards { get; set; }
|
|
|
|
|
public DbSet<N_AreaCategory> AreaCategory { get; set; }
|
|
|
|
|
public DbSet<N_AreaStandards> AreaStandards { get; set; }
|
|
|
|
|
public DbSet<S_GradeAssocCategory> GradeAssocCategory { get; set; }
|
|
|
|
|
public DbSet<Ai_SportsTestData> SportsTestData { get; set; }
|
|
|
|
|
public DbSet<N_SportsTestValue> SportsTestValue { get; set; }
|
|
|
|
|
public DbSet<Y_StadiumResource> StadiumResource { get; set; }
|
|
|
|
|
public DbSet<Y_Stadium> Stadium { get; set; }
|
|
|
|
|
public DbSet<Y_PopularCurricular> PopularCurricular { get; set; }
|
|
|
|
|
public DbSet<Y_CurricularTaxonomy> CurricularTaxonomy { get; set; }
|
|
|
|
|
public DbSet<Y_Curricular> Curricular { get; set; }
|
|
|
|
|
public DbSet<Y_StadiumVisiting> StadiumVisiting { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|