7497 lines
276 KiB
C#
7497 lines
276 KiB
C#
// <auto-generated />
|
||
using System;
|
||
using Microsoft.EntityFrameworkCore;
|
||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||
using Microsoft.EntityFrameworkCore.Metadata;
|
||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||
using VOL.Core.EFDbContext;
|
||
|
||
#nullable disable
|
||
|
||
namespace VOL.Core.Migrations
|
||
{
|
||
[DbContext(typeof(VOLContext))]
|
||
partial class VOLContextModelSnapshot : ModelSnapshot
|
||
{
|
||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||
{
|
||
#pragma warning disable 612, 618
|
||
modelBuilder
|
||
.HasAnnotation("ProductVersion", "6.0.0")
|
||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||
|
||
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ActivitiestData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int?>("ActivitiesId")
|
||
.HasColumnType("int")
|
||
.HasComment("活动Id");
|
||
|
||
b.Property<double>("AdditionalScore")
|
||
.HasColumnType("float")
|
||
.HasComment("附加分");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("项目类型");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("CorrectJudge")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("动作解析");
|
||
|
||
b.Property<int?>("CorrectNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<int>("DataType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("持续时间");
|
||
|
||
b.Property<DateTime?>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int?>("MaxValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最大");
|
||
|
||
b.Property<int?>("MinValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最小");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<string>("ModelName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("模式名称");
|
||
|
||
b.Property<int>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<int>("Rank")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩等级");
|
||
|
||
b.Property<string>("RankStr")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("设备评价语");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<DateTime>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("测试时间");
|
||
|
||
b.Property<int>("Semester")
|
||
.HasColumnType("int)")
|
||
.HasComment("学期");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<DateTime?>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<long>("UniqueId")
|
||
.HasColumnType("bigint")
|
||
.HasComment("设备上传成绩时唯一标识, 重复时服务端不保存数据");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("float")
|
||
.HasComment("测试成绩");
|
||
|
||
b.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.Property<int>("Year")
|
||
.HasColumnType("int)")
|
||
.HasComment("当前年份");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_ActivitiestData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ClassRoomRecord", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("AddCount")
|
||
.HasColumnType("int")
|
||
.HasComment("新增人数");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<DateTime?>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<string>("Name")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("名称");
|
||
|
||
b.Property<int>("NoParticipateCount")
|
||
.HasColumnType("int")
|
||
.HasComment("缺勤人数");
|
||
|
||
b.Property<int>("ParticipateCount")
|
||
.HasColumnType("int")
|
||
.HasComment("参与人数");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<int>("Semester")
|
||
.HasColumnType("int)")
|
||
.HasComment("学期");
|
||
|
||
b.Property<DateTime?>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int>("StudentCount")
|
||
.HasColumnType("int")
|
||
.HasComment("班级下学生人数");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("老师姓名");
|
||
|
||
b.Property<int>("TrainingModuleEnum")
|
||
.HasColumnType("int")
|
||
.HasComment("训练模块枚举");
|
||
|
||
b.Property<int>("Year")
|
||
.HasColumnType("int)")
|
||
.HasComment("当前年份");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_ClassRoomRecord");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ClassroomSetting", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<int>("ClassroomStageId")
|
||
.HasColumnType("int")
|
||
.HasComment("阶段Id");
|
||
|
||
b.Property<int>("Density")
|
||
.HasColumnType("int")
|
||
.HasComment("密度");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("时长");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_ClassroomSetting");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ClassroomStage", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Name")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_ClassroomStage");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ClassroomStudentRecord", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("Age")
|
||
.HasColumnType("int")
|
||
.HasComment("年龄");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("ClassRoomRecordId");
|
||
|
||
b.ToTable("Ai_ClassroomStudentRecord");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_Device", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("DeviceType")
|
||
.HasColumnType("int")
|
||
.HasComment("设备类型");
|
||
|
||
b.Property<DateTime>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("有效期结束时间");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Name")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("AI设备名称");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<DateTime>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("有效期开始时间");
|
||
|
||
b.Property<int>("Status")
|
||
.HasColumnType("int")
|
||
.HasComment("设备状态 固定值:1:启用2:禁用,禁用的设备无法使用");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_Device");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_DeviceAssocSchool", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_DeviceAssocSchool");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_FastJumpRopeData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<DateTime?>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("GroupId")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("GroupId");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int?>("JumpValue")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<string>("ModelName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("模式名称");
|
||
|
||
b.Property<int?>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/秒");
|
||
|
||
b.Property<string>("Rank")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<int>("RankEnum")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩等级");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<DateTime>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("测试时间");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<DateTime?>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int?>("StudentCount")
|
||
.HasColumnType("int")
|
||
.HasComment("测试人数");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<int>("TrainingModule")
|
||
.HasColumnType("int")
|
||
.HasComment("训练模块[[1:专项教学/2:测评考级/3:AI赛场/4:AI体测]/5:速度跳绳");
|
||
|
||
b.Property<long>("UniqueId")
|
||
.HasColumnType("bigint")
|
||
.HasComment("设备上传成绩时唯一标识, 重复时服务端不保存数据");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_FastJumpRopeData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_HeartRateData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<int>("ClassroomStageId")
|
||
.HasColumnType("int")
|
||
.HasComment("阶段Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<int?>("Consumption")
|
||
.HasColumnType("int")
|
||
.HasComment("运动消耗");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<DateTime>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("测试时间");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<double>("Strength")
|
||
.HasColumnType("double")
|
||
.HasComment("运动强度");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("double")
|
||
.HasComment("心率");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_HeartRateData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_LevelExamData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("AssessmentResults")
|
||
.HasColumnType("int")
|
||
.HasComment("是否通过");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("CorrectJudge")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("动作解析");
|
||
|
||
b.Property<int?>("CorrectNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("持续时间");
|
||
|
||
b.Property<DateTime>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<string>("FileName")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("文件名称");
|
||
|
||
b.Property<string>("FileUrl")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("文件路径");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int?>("MaxValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最大");
|
||
|
||
b.Property<int?>("MinValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最小");
|
||
|
||
b.Property<int?>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<int>("Rank")
|
||
.HasColumnType("int")
|
||
.HasComment("专项测评等级");
|
||
|
||
b.Property<string>("RankStr")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("专项测评等级");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("设备评价语");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<DateTime>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("测试时间");
|
||
|
||
b.Property<int>("Semester")
|
||
.HasColumnType("int)")
|
||
.HasComment("学期");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<int>("SpecialId")
|
||
.HasColumnType("int")
|
||
.HasComment("专项类型Id");
|
||
|
||
b.Property<DateTime>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherPhone")
|
||
.HasColumnType("varchar(11)")
|
||
.HasComment("老师手机号");
|
||
|
||
b.Property<long>("UniqueId")
|
||
.HasColumnType("bigint")
|
||
.HasComment("设备上传成绩时唯一标识, 重复时服务端不保存数据");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("float")
|
||
.HasComment("测试成绩");
|
||
|
||
b.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.Property<int>("Year")
|
||
.HasColumnType("int)")
|
||
.HasComment("当前年份");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_LevelExamData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_Mode", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ModeEnum")
|
||
.HasColumnType("int")
|
||
.HasComment("模式枚举");
|
||
|
||
b.Property<string>("ModeName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("AI模式名称");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_Mode");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ModeAssocModule", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ModeId")
|
||
.HasColumnType("int")
|
||
.HasComment("模式Id");
|
||
|
||
b.Property<int>("TrainingModuleId")
|
||
.HasColumnType("int")
|
||
.HasComment("模块Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_ModeAssocModule");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ScanCodeLogin", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherPhoneNo")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("老师联系方式");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_ScanCodeLogin");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_Special", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("图片地址");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("SpecialName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("专项名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_Special");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SpecialAction", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("ActionName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("动作名称");
|
||
|
||
b.Property<string>("ActionType")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("动作类型");
|
||
|
||
b.Property<string>("ActionVideoPath")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("动作示范-视频路径");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("ExerciseVideoPath")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("练习方法-视频路径");
|
||
|
||
b.Property<string>("ExplainVideoPath")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("要领讲解-视频路径");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("SpecialLevelId")
|
||
.HasColumnType("int")
|
||
.HasComment("专项水平Id");
|
||
|
||
b.Property<string>("StandardVideoPath")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("达标标准-视频路径");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("SpecialLevelId");
|
||
|
||
b.ToTable("Ai_SpecialAction");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SpecialLevel", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("EndGrade")
|
||
.HasColumnType("int")
|
||
.HasComment("结束年级");
|
||
|
||
b.Property<string>("LevelName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("水平名称");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("SpecialId")
|
||
.HasColumnType("int")
|
||
.HasComment("专项Id");
|
||
|
||
b.Property<int>("StartGrade")
|
||
.HasColumnType("int")
|
||
.HasComment("开始年级");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("SpecialId");
|
||
|
||
b.ToTable("Ai_SpecialLevel");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SportsTestData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int?>("ActivitiesId")
|
||
.HasColumnType("int")
|
||
.HasComment("Ai赛场Id");
|
||
|
||
b.Property<double>("AdditionalScore")
|
||
.HasColumnType("float")
|
||
.HasComment("附加分");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("项目类型");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("CorrectJudge")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("动作解析");
|
||
|
||
b.Property<int?>("CorrectNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<int>("DataType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<int?>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("持续时间");
|
||
|
||
b.Property<DateTime?>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<string>("FileName")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("文件名称");
|
||
|
||
b.Property<string>("FileUrl")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("文件路径");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<double?>("Height")
|
||
.HasColumnType("float")
|
||
.HasComment("身高");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int?>("MaxValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最大");
|
||
|
||
b.Property<int?>("MinValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最小");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<string>("ModelName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("模式名称");
|
||
|
||
b.Property<int?>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<string>("Rank")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<int>("RankEnum")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩等级");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("设备评价语");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<DateTime>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("测试时间");
|
||
|
||
b.Property<int>("Semester")
|
||
.HasColumnType("int)")
|
||
.HasComment("学期");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<DateTime?>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int?>("StudentCount")
|
||
.HasColumnType("int")
|
||
.HasComment("班级人数");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<int>("TrainingModule")
|
||
.HasColumnType("int")
|
||
.HasComment("训练模块[[1:专项教学/2:测评考级/3:AI赛场/4:AI体测]");
|
||
|
||
b.Property<long>("UniqueId")
|
||
.HasColumnType("bigint")
|
||
.HasComment("设备上传成绩时唯一标识, 重复时服务端不保存数据");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("float")
|
||
.HasComment("测试成绩");
|
||
|
||
b.Property<double?>("Weight")
|
||
.HasColumnType("float")
|
||
.HasComment("体重");
|
||
|
||
b.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.Property<int>("Year")
|
||
.HasColumnType("int)")
|
||
.HasComment("当前年份");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_SportsTestData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SportsTestVideo", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("Size")
|
||
.HasColumnType("int")
|
||
.HasComment("文件的大小");
|
||
|
||
b.Property<int>("Type")
|
||
.HasColumnType("int")
|
||
.HasComment("文件类型");
|
||
|
||
b.Property<string>("Url")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("文件的链接地址");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_SportsTestVideo");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_TrainingData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<double>("AdditionalScore")
|
||
.HasColumnType("float")
|
||
.HasComment("附加分");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("项目类型");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRoomRecordId")
|
||
.HasColumnType("int")
|
||
.HasComment("课堂记录Id");
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("CorrectJudge")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("动作解析");
|
||
|
||
b.Property<int?>("CorrectNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("持续时间");
|
||
|
||
b.Property<DateTime?>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int?>("MaxValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最大");
|
||
|
||
b.Property<int?>("MinValue")
|
||
.HasColumnType("int")
|
||
.HasComment("最小");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<string>("ModelName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("模式名称");
|
||
|
||
b.Property<int>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<int>("Rank")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩等级");
|
||
|
||
b.Property<string>("RankStr")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("设备评价语");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<DateTime?>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<long>("UniqueId")
|
||
.HasColumnType("bigint")
|
||
.HasComment("设备上传成绩时唯一标识, 重复时服务端不保存数据");
|
||
|
||
b.Property<DateTime?>("UploadTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("上传时间");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("float")
|
||
.HasComment("测试成绩");
|
||
|
||
b.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_TrainingData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_TrainingModule", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("ModuleName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("模块名称");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<int>("TrainingModuleEnum")
|
||
.HasColumnType("int")
|
||
.HasComment("训练模块枚举");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_TrainingModule");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.App_Appointment", b =>
|
||
{
|
||
b.Property<Guid>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasMaxLength(36)
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("Describe")
|
||
.IsRequired()
|
||
.HasMaxLength(250)
|
||
.HasColumnType("nvarchar(250)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.IsRequired()
|
||
.HasMaxLength(15)
|
||
.HasColumnType("nvarchar(15)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("App_Appointment");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.App_Expert", b =>
|
||
{
|
||
b.Property<int>("ExpertId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ExpertId"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("AuditDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("AuditId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("AuditStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Auditor")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("Certificate")
|
||
.HasMaxLength(2500)
|
||
.HasColumnType("nvarchar(2500)");
|
||
|
||
b.Property<string>("City")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("Company")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("Education")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ExpertName")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("HeadImageUrl")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("IDNumber")
|
||
.HasMaxLength(18)
|
||
.HasColumnType("nvarchar(18)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.HasMaxLength(11)
|
||
.HasColumnType("nvarchar(11)");
|
||
|
||
b.Property<string>("Professional")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("ReallyName")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("Resume")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("SpecialField")
|
||
.HasMaxLength(800)
|
||
.HasColumnType("nvarchar(800)");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("UserTrueName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int?>("User_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("ExpertId");
|
||
|
||
b.ToTable("App_Expert");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.App_News", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Author")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("BigImageUrls")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("Content")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<int>("DailyRecommend")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("DetailUrl")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ImageUrl")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("NewsType")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("ReleaseDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int?>("ViewCount")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("App_News");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.App_ReportPrice", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Age")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateTime?>("AuditDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("AuditId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("AuditStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Auditor")
|
||
.HasMaxLength(40)
|
||
.HasColumnType("nvarchar(40)");
|
||
|
||
b.Property<string>("City")
|
||
.IsRequired()
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(60)
|
||
.HasColumnType("nvarchar(60)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(60)
|
||
.HasColumnType("nvarchar(60)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<decimal>("Price")
|
||
.HasColumnType("numeric");
|
||
|
||
b.Property<string>("Variety")
|
||
.IsRequired()
|
||
.HasMaxLength(40)
|
||
.HasColumnType("nvarchar(40)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("App_ReportPrice");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.App_Transaction", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CowType")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("Describe")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.IsRequired()
|
||
.HasMaxLength(15)
|
||
.HasColumnType("nvarchar(15)");
|
||
|
||
b.Property<int>("Quantity")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("TransactionType")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("App_Transaction");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.App_TransactionAvgPrice", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("AgeRange")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<decimal>("AvgPrice")
|
||
.HasColumnType("decimal");
|
||
|
||
b.Property<string>("City")
|
||
.IsRequired()
|
||
.HasMaxLength(15)
|
||
.HasColumnType("nvarchar(15)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime>("Date")
|
||
.HasColumnType("date");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("IsTop")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Variety")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("App_TransactionAvgPrice");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Business.People.S_GradeAssocCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("测试类别Id");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<double>("Weight")
|
||
.HasColumnType("float")
|
||
.HasComment("权重");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_GradeAssocCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Business.People.S_SchoolAssocGrade", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_SchoolAssocGrade");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Business.People.S_SchoolNature", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("NatureEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<string>("NatureName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_SchoolNature");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Business.People.S_SchoolNatureAssocGrade", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("NatureId")
|
||
.HasColumnType("int")
|
||
.HasComment("学校性质Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_SchoolNatureAssocGrade");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.FormCollectionObject", b =>
|
||
{
|
||
b.Property<Guid>("FormCollectionId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(60)
|
||
.HasColumnType("nvarchar(60)");
|
||
|
||
b.Property<string>("FormData")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<Guid?>("FormId")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(60)
|
||
.HasColumnType("nvarchar(60)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Title")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.HasKey("FormCollectionId");
|
||
|
||
b.ToTable("FormCollectionObject");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.FormDesignOptions", b =>
|
||
{
|
||
b.Property<Guid>("FormId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(60)
|
||
.HasColumnType("nvarchar(60)");
|
||
|
||
b.Property<string>("DaraggeOptions")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("FormConfig")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("FormFields")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("FormOptions")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(60)
|
||
.HasColumnType("nvarchar(60)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("TableConfig")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("nvarchar(1000)");
|
||
|
||
b.HasKey("FormId");
|
||
|
||
b.ToTable("FormDesignOptions");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_Activities", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("ActivitiesName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("赛事名称");
|
||
|
||
b.Property<int>("ActivitiesStatus")
|
||
.HasColumnType("int")
|
||
.HasComment("状态");
|
||
|
||
b.Property<int>("CategoryId")
|
||
.HasColumnType("int")
|
||
.HasComment("测试类别Id");
|
||
|
||
b.Property<string>("CategoryName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("DataType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<DateTime>("EndDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("活动结束时间");
|
||
|
||
b.Property<string>("ImagePath")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("图片路径");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("ParticipantType")
|
||
.HasColumnType("int")
|
||
.HasComment("参赛人员类型");
|
||
|
||
b.Property<string>("Participants")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("参赛对象");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<int>("SportsTestDataType")
|
||
.HasColumnType("int")
|
||
.HasComment("数据类型");
|
||
|
||
b.Property<DateTime>("StartDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("活动开始时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("G_Activities");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_Article", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Abstract")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("摘要");
|
||
|
||
b.Property<string>("ArticleUrl")
|
||
.HasColumnType("nvarchar(1000)")
|
||
.HasComment("文章地址");
|
||
|
||
b.Property<string>("CoverImage")
|
||
.HasColumnType("nvarchar(1000)")
|
||
.HasComment("封面图");
|
||
|
||
b.Property<string>("Title")
|
||
.HasColumnType("nvarchar(1000)")
|
||
.HasComment("文章标题");
|
||
|
||
b.Property<DateTime>("UpdateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("更新时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("G_Article");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_EntryStudent", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ActivitiesId")
|
||
.HasColumnType("int")
|
||
.HasComment("活动Id");
|
||
|
||
b.Property<int>("Age")
|
||
.HasColumnType("int")
|
||
.HasComment("年龄");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("Photo")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("学生照片");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("ActivitiesId");
|
||
|
||
b.ToTable("G_EntryStudent");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_SportsTestData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<double?>("Bmi")
|
||
.HasColumnType("float")
|
||
.HasComment("Bmi");
|
||
|
||
b.Property<int?>("Chinning")
|
||
.HasColumnType("int")
|
||
.HasComment("引体向上");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Gender")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<double?>("Hectometer")
|
||
.HasColumnType("double")
|
||
.HasComment("800米");
|
||
|
||
b.Property<double?>("Height")
|
||
.HasColumnType("double")
|
||
.HasComment("身高");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<double?>("Kilometer")
|
||
.HasColumnType("double")
|
||
.HasComment("1000米");
|
||
|
||
b.Property<double?>("Pliable")
|
||
.HasColumnType("double")
|
||
.HasComment("坐位体前屈");
|
||
|
||
b.Property<int?>("Pulmonary")
|
||
.HasColumnType("int")
|
||
.HasComment("肺活量");
|
||
|
||
b.Property<int?>("Rope")
|
||
.HasColumnType("int")
|
||
.HasComment("一分钟跳绳");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校名称");
|
||
|
||
b.Property<DateTime?>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("提交时间");
|
||
|
||
b.Property<int?>("Situp")
|
||
.HasColumnType("int")
|
||
.HasComment("一分钟仰卧起坐");
|
||
|
||
b.Property<double?>("Speed")
|
||
.HasColumnType("double")
|
||
.HasComment("50米");
|
||
|
||
b.Property<double?>("Speedeight")
|
||
.HasColumnType("double")
|
||
.HasComment("50米*8 往返跑");
|
||
|
||
b.Property<double?>("Standing")
|
||
.HasColumnType("double")
|
||
.HasComment("立定跳远");
|
||
|
||
b.Property<string>("StudenNumber")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生邀请码");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("老师姓名");
|
||
|
||
b.Property<double?>("Weight")
|
||
.HasColumnType("double")
|
||
.HasComment("体重");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("I_SportsTestData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_StuDetailInfoEntity", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ClassRanking")
|
||
.HasColumnType("int")
|
||
.HasComment("班级排名");
|
||
|
||
b.Property<double>("Efficiency")
|
||
.HasColumnType("float")
|
||
.HasComment("效率");
|
||
|
||
b.Property<string>("GroupNumber")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("组编号");
|
||
|
||
b.Property<int>("GroupRanking")
|
||
.HasColumnType("int")
|
||
.HasComment("组排名");
|
||
|
||
b.Property<bool>("IsGroup")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否是组");
|
||
|
||
b.Property<string>("Kcal")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("卡路里");
|
||
|
||
b.Property<int>("Level")
|
||
.HasColumnType("int")
|
||
.HasComment("等级");
|
||
|
||
b.Property<double>("PowerMax")
|
||
.HasColumnType("float")
|
||
.HasComment("最大握力");
|
||
|
||
b.Property<double>("PowerTotal")
|
||
.HasColumnType("float")
|
||
.HasComment("总握力");
|
||
|
||
b.Property<double>("Speed")
|
||
.HasColumnType("float")
|
||
.HasComment("速度");
|
||
|
||
b.Property<double>("SpeedTime")
|
||
.HasColumnType("float")
|
||
.HasComment("速度时间");
|
||
|
||
b.Property<int>("TotalNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("总数");
|
||
|
||
b.Property<int?>("TrainGroupId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("UseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("使用时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("TrainGroupId");
|
||
|
||
b.ToTable("I_StuDetailInfoEntity");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainGroup", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("AvgEff")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("握力效率平均值");
|
||
|
||
b.Property<string>("DevicesName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("设备名称");
|
||
|
||
b.Property<string>("GroupAvg")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("平均");
|
||
|
||
b.Property<string>("GroupAvgKcal")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("平均卡路里");
|
||
|
||
b.Property<double>("GroupAvgTime")
|
||
.HasColumnType("float")
|
||
.HasComment("时间平均数");
|
||
|
||
b.Property<int>("GroupHigh")
|
||
.HasColumnType("int")
|
||
.HasComment("优秀");
|
||
|
||
b.Property<int>("GroupLow")
|
||
.HasColumnType("int")
|
||
.HasComment("合格");
|
||
|
||
b.Property<int>("GroupM")
|
||
.HasColumnType("int")
|
||
.HasComment("良好");
|
||
|
||
b.Property<int>("GroupMax")
|
||
.HasColumnType("int")
|
||
.HasComment("最大");
|
||
|
||
b.Property<int>("GroupMedianNum")
|
||
.HasColumnType("int")
|
||
.HasComment("中位数");
|
||
|
||
b.Property<int>("GroupMin")
|
||
.HasColumnType("int")
|
||
.HasComment("最小");
|
||
|
||
b.Property<string>("GroupName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("组名");
|
||
|
||
b.Property<string>("GroupSpeed")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("每秒个数");
|
||
|
||
b.Property<float>("GroupSpeedAvgTime")
|
||
.HasColumnType("real")
|
||
.HasComment("自由训练平均时间");
|
||
|
||
b.Property<int>("GroupSpeedCompleteNum")
|
||
.HasColumnType("int")
|
||
.HasComment("自由训练距离完成人数");
|
||
|
||
b.Property<int>("GroupSpeedCompletePre")
|
||
.HasColumnType("int")
|
||
.HasComment("百分比");
|
||
|
||
b.Property<float>("GroupSpeedMaxime")
|
||
.HasColumnType("real")
|
||
.HasComment("自由训练最大时间");
|
||
|
||
b.Property<float>("GroupSpeedMedianTime")
|
||
.HasColumnType("real")
|
||
.HasComment("自由训练中位数时间");
|
||
|
||
b.Property<float>("GroupSpeedMinTime")
|
||
.HasColumnType("real")
|
||
.HasComment("自由训练最小时间");
|
||
|
||
b.Property<float>("GroupSpeedTotalTime")
|
||
.HasColumnType("real")
|
||
.HasComment("自由训练总时间");
|
||
|
||
b.Property<int>("GroupTimeMedian")
|
||
.HasColumnType("int")
|
||
.HasComment("时间中位数");
|
||
|
||
b.Property<int>("GroupTotalNum")
|
||
.HasColumnType("int")
|
||
.HasComment("总数");
|
||
|
||
b.Property<int>("GroupUseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时限数完成总时间 / 红黄捏捏蛋对决 KO 时间");
|
||
|
||
b.Property<bool>("IsGroup")
|
||
.HasColumnType("bit")
|
||
.HasComment("true A组, false B组");
|
||
|
||
b.Property<int>("Level1")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低1");
|
||
|
||
b.Property<int>("Level10")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低10");
|
||
|
||
b.Property<int>("Level2")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低2");
|
||
|
||
b.Property<int>("Level3")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低3");
|
||
|
||
b.Property<int>("Level4")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低4");
|
||
|
||
b.Property<int>("Level5")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低5");
|
||
|
||
b.Property<int>("Level6")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低6");
|
||
|
||
b.Property<int>("Level7")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低7");
|
||
|
||
b.Property<int>("Level8")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低8");
|
||
|
||
b.Property<int>("Level9")
|
||
.HasColumnType("int")
|
||
.HasComment("等级高低9");
|
||
|
||
b.Property<string>("MaxEff")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("握力效率最大值");
|
||
|
||
b.Property<int>("MaxUseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时限数班级中最大用时");
|
||
|
||
b.Property<string>("MinEff")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("握力效率最小值");
|
||
|
||
b.Property<int>("MinUseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时限数班级中最小用时");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<float>("SecondsNumber")
|
||
.HasColumnType("real")
|
||
.HasComment("平均速度");
|
||
|
||
b.Property<string>("StuName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称 (在随堂测试有效)");
|
||
|
||
b.Property<int?>("TrainingDataId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("TrainingDataId");
|
||
|
||
b.ToTable("I_TrainGroup");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainingData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("AvgEff")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("握力效率平均值");
|
||
|
||
b.Property<string>("AvgNumMan")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("男生平均");
|
||
|
||
b.Property<string>("AvgNumWom")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("女生平均");
|
||
|
||
b.Property<double>("BoyLevelHigh")
|
||
.HasColumnType("float")
|
||
.HasComment("男孩优秀的评分标准");
|
||
|
||
b.Property<double>("BoyLevelLow")
|
||
.HasColumnType("float")
|
||
.HasComment("男孩及格的评分标准");
|
||
|
||
b.Property<double>("BoyLevelMiddle")
|
||
.HasColumnType("float")
|
||
.HasComment("男孩良好的评分标准");
|
||
|
||
b.Property<string>("ClassAvgKcal")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("平均kcal (协调项目:所有学生总个数)");
|
||
|
||
b.Property<string>("ClassAvgTime")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("时间平均数");
|
||
|
||
b.Property<string>("ClassDate")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("开始日期");
|
||
|
||
b.Property<int?>("ClassHightPer")
|
||
.HasColumnType("int")
|
||
.HasComment("优秀人数 (心率的达标人数)");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<int?>("ClassLowNum")
|
||
.HasColumnType("int")
|
||
.HasComment("合格");
|
||
|
||
b.Property<int>("ClassMaxNum")
|
||
.HasColumnType("int")
|
||
.HasComment("最大圈数");
|
||
|
||
b.Property<int>("ClassMedian")
|
||
.HasColumnType("int")
|
||
.HasComment("中位数");
|
||
|
||
b.Property<int>("ClassMinNum")
|
||
.HasColumnType("int")
|
||
.HasComment("最小圈数");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassNum")
|
||
.HasColumnType("int")
|
||
.HasComment("班级人数");
|
||
|
||
b.Property<double>("ClassNumAvg")
|
||
.HasColumnType("float")
|
||
.HasComment("平均数");
|
||
|
||
b.Property<int>("ClassScore")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩");
|
||
|
||
b.Property<string>("ClassTime")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int?>("ClassTimeMedian")
|
||
.HasColumnType("int")
|
||
.HasComment("时间中位数");
|
||
|
||
b.Property<string>("ClassTotal")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("总个数 (协调项目:所有学生总个数)");
|
||
|
||
b.Property<int?>("ClassWellNum")
|
||
.HasColumnType("int")
|
||
.HasComment("良好");
|
||
|
||
b.Property<int>("DataSource")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源");
|
||
|
||
b.Property<int?>("Distance")
|
||
.HasColumnType("int")
|
||
.HasComment("自由模式 设置跑步距离");
|
||
|
||
b.Property<float?>("DistanceUseTime")
|
||
.HasColumnType("real")
|
||
.HasComment("自由模式设置 距离所需时间 (算合格)");
|
||
|
||
b.Property<DateTime?>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<double>("GirlLevelHigh")
|
||
.HasColumnType("float")
|
||
.HasComment("女孩优秀的评分标准");
|
||
|
||
b.Property<double>("GirlLevelLow")
|
||
.HasColumnType("float")
|
||
.HasComment("女孩及格的评分标准");
|
||
|
||
b.Property<double>("GirlLevelMiddle")
|
||
.HasColumnType("float")
|
||
.HasComment("女孩良好的评分标准");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<DateTime?>("InsertTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int>("ItemType")
|
||
.HasColumnType("int")
|
||
.HasComment("项目类型");
|
||
|
||
b.Property<string>("KoTimeR")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("握力红队KO时间");
|
||
|
||
b.Property<string>("KoTimeY")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("握力黄队KO时间");
|
||
|
||
b.Property<int>("Level1")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低1");
|
||
|
||
b.Property<int>("Level10")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低10");
|
||
|
||
b.Property<int>("Level2")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低2");
|
||
|
||
b.Property<int>("Level3")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低3");
|
||
|
||
b.Property<int>("Level4")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低4");
|
||
|
||
b.Property<int>("Level5")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低5");
|
||
|
||
b.Property<int>("Level6")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低6");
|
||
|
||
b.Property<int>("Level7")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低7");
|
||
|
||
b.Property<int>("Level8")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低8");
|
||
|
||
b.Property<int>("Level9")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳等级高低9");
|
||
|
||
b.Property<int>("LimitNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("限数");
|
||
|
||
b.Property<int>("LimitTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时");
|
||
|
||
b.Property<string>("MaxEff")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("握力效率大值");
|
||
|
||
b.Property<string>("MaxNumMan")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("男生最大值");
|
||
|
||
b.Property<string>("MaxNumWom")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("女生最大值");
|
||
|
||
b.Property<int?>("MaxUseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时限数班级中最大用时");
|
||
|
||
b.Property<string>("MedianNumMan")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("男生中位数");
|
||
|
||
b.Property<string>("MedianNumWom")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("女生中位数");
|
||
|
||
b.Property<string>("MinEff")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("握力效率最小值");
|
||
|
||
b.Property<string>("MinNumMan")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("男生最小值");
|
||
|
||
b.Property<string>("MinNumWom")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("女生最小值");
|
||
|
||
b.Property<int?>("MinUseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时限数班级中最小用时");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型");
|
||
|
||
b.Property<string>("ModelName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("模式名称");
|
||
|
||
b.Property<int?>("ModelType")
|
||
.HasColumnType("int")
|
||
.HasComment("当前模式类型 (1: 倒计时,2: 正向计数,3: 限时限数)");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<string>("Speed")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("速度 (个/s)");
|
||
|
||
b.Property<string>("StuName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<int>("TotalNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("参与人数");
|
||
|
||
b.Property<string>("TotalR")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("握力红队总握力");
|
||
|
||
b.Property<int?>("TotalRound")
|
||
.HasColumnType("int")
|
||
.HasComment("总轮次");
|
||
|
||
b.Property<int?>("TotalTime")
|
||
.HasColumnType("int")
|
||
.HasComment("限时限数总耗时");
|
||
|
||
b.Property<string>("TotalY")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("握力黄队总握力");
|
||
|
||
b.Property<int?>("TrainTimer")
|
||
.HasColumnType("int")
|
||
.HasComment("正向计数总共使用时间 (秒)");
|
||
|
||
b.Property<int>("TrainType")
|
||
.HasColumnType("int")
|
||
.HasComment("训练类型");
|
||
|
||
b.Property<int?>("TrainingTime")
|
||
.HasColumnType("int")
|
||
.HasComment("训练倒计时时间 (1, 2 分钟)");
|
||
|
||
b.Property<int>("TtotalGroup")
|
||
.HasColumnType("int")
|
||
.HasComment("总轮次");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("I_TrainingData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainingStudentData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<double?>("Efficiency")
|
||
.HasColumnType("double")
|
||
.HasComment("握力");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<int>("Gender")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<int?>("HeartRatePercentage")
|
||
.HasColumnType("int")
|
||
.HasComment("心率强度");
|
||
|
||
b.Property<int?>("HighHeartRate")
|
||
.HasColumnType("int")
|
||
.HasComment("最高心率");
|
||
|
||
b.Property<int?>("JumpValue")
|
||
.HasColumnType("int")
|
||
.HasComment("个数");
|
||
|
||
b.Property<double>("Kcal")
|
||
.HasColumnType("double")
|
||
.HasComment("能耗");
|
||
|
||
b.Property<int?>("LowHeartRate")
|
||
.HasColumnType("int")
|
||
.HasComment("最低心率");
|
||
|
||
b.Property<int?>("ResultLevel")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩");
|
||
|
||
b.Property<double?>("SecondsNumber")
|
||
.HasColumnType("double")
|
||
.HasComment("每秒");
|
||
|
||
b.Property<double?>("SpeedTime")
|
||
.HasColumnType("double")
|
||
.HasComment("数值");
|
||
|
||
b.Property<int?>("StuAgileSpeedTimeNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int>("TrainingDataId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("TrainingDataId");
|
||
|
||
b.ToTable("I_TrainingStudentData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainRanking", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int?>("BalanceMaxNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("平衡最大值");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<string>("DevicesName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("设备名称");
|
||
|
||
b.Property<double?>("Efficiency")
|
||
.HasColumnType("float")
|
||
.HasComment("握力");
|
||
|
||
b.Property<int?>("ErrorNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("错误个数");
|
||
|
||
b.Property<int>("Gender")
|
||
.HasColumnType("int")
|
||
.HasComment("学校Co性别de");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级编号");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int?>("GradeNumer")
|
||
.HasColumnType("int")
|
||
.HasComment("年级总人数");
|
||
|
||
b.Property<int?>("GradeStandardNumer")
|
||
.HasColumnType("int")
|
||
.HasComment("年级达标次数");
|
||
|
||
b.Property<string>("GroupName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("组名");
|
||
|
||
b.Property<int?>("HeartRatePercentage")
|
||
.HasColumnType("int")
|
||
.HasComment("心率强度百分比");
|
||
|
||
b.Property<int?>("HighHeartRate")
|
||
.HasColumnType("int")
|
||
.HasComment("最高心率");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int>("Is_Promoted")
|
||
.HasColumnType("int")
|
||
.HasComment("是否晋级 (0 = 否)");
|
||
|
||
b.Property<int?>("JumpValue")
|
||
.HasColumnType("int")
|
||
.HasComment("个数");
|
||
|
||
b.Property<string>("Kcal")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("能耗");
|
||
|
||
b.Property<string>("LongRunNum")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("长跑次数数组");
|
||
|
||
b.Property<int?>("LowHeartRate")
|
||
.HasColumnType("int")
|
||
.HasComment("最低心率");
|
||
|
||
b.Property<int>("ModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("倒计时限时限数");
|
||
|
||
b.Property<double?>("PowerMax")
|
||
.HasColumnType("float")
|
||
.HasComment("每个人最大握力");
|
||
|
||
b.Property<double?>("PowerTotal")
|
||
.HasColumnType("float")
|
||
.HasComment("每个人总的握力");
|
||
|
||
b.Property<int?>("Ranking")
|
||
.HasColumnType("int")
|
||
.HasComment("名次");
|
||
|
||
b.Property<int?>("ResultLevel")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<double?>("SecondsNumber")
|
||
.HasColumnType("float")
|
||
.HasComment("每秒");
|
||
|
||
b.Property<double?>("SpeedTime")
|
||
.HasColumnType("float")
|
||
.HasComment("数值");
|
||
|
||
b.Property<int?>("StuAgileSpeedTimeNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("正确个数");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<int?>("StudentRound")
|
||
.HasColumnType("int")
|
||
.HasComment("第几轮");
|
||
|
||
b.Property<int>("TrainType")
|
||
.HasColumnType("int")
|
||
.HasComment("训练类型");
|
||
|
||
b.Property<int>("TrainingDataId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("UseTime")
|
||
.HasColumnType("int")
|
||
.HasComment("使用时间,限时限数最短");
|
||
|
||
b.Property<bool>("isGroup")
|
||
.HasColumnType("bit")
|
||
.HasComment("队伍:黄队 = true, 红队 = false");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("TrainingDataId");
|
||
|
||
b.ToTable("I_TrainRanking");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_AreaCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Area")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("区域");
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别枚举名称");
|
||
|
||
b.Property<string>("CategoryName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别中文名称");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("类别枚举值");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("时长");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_AreaCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_AreaStandards", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("AreaCategoryId")
|
||
.HasColumnType("int")
|
||
.HasComment("区域项目Id");
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<double>("MaxValue")
|
||
.HasColumnType("float")
|
||
.HasComment("标准值(大)");
|
||
|
||
b.Property<double>("MinValue")
|
||
.HasColumnType("float")
|
||
.HasComment("标准值(小)");
|
||
|
||
b.Property<string>("Rank")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_AreaStandards");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_HealthStandards", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<double>("MaxValue")
|
||
.HasColumnType("float")
|
||
.HasComment("标准值(大)");
|
||
|
||
b.Property<double>("MinValue")
|
||
.HasColumnType("float")
|
||
.HasComment("标准值(小)");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Rank")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_HealthStandards");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_SportsTestCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别枚举名称");
|
||
|
||
b.Property<string>("CategoryName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别中文名称");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("类别枚举值");
|
||
|
||
b.Property<int>("IsRopeSkip")
|
||
.HasColumnType("int")
|
||
.HasComment("是否是跳绳");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<int>("StatisticType")
|
||
.HasColumnType("int")
|
||
.HasComment("统计类型");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_SportsTestCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_SportsTestValue", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<double>("AdditionalScore")
|
||
.HasColumnType("float")
|
||
.HasComment("附加分");
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("类别枚举值");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRank")
|
||
.HasColumnType("int")
|
||
.HasComment("班级排名");
|
||
|
||
b.Property<int>("Consumption")
|
||
.HasColumnType("int")
|
||
.HasComment("运动消耗");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("DataSource")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<double?>("Height")
|
||
.HasColumnType("float")
|
||
.HasComment("身高");
|
||
|
||
b.Property<bool>("IsDisplay")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否显示");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<string>("Rank")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<int>("RankEnum")
|
||
.HasColumnType("int")
|
||
.HasComment("训练成绩等级");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<DateTime>("ScoreTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("测试时间");
|
||
|
||
b.Property<int>("Semester")
|
||
.HasColumnType("int)")
|
||
.HasComment("学期");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<int>("Strength")
|
||
.HasColumnType("int")
|
||
.HasComment("运动强度");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("老师名称");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("float")
|
||
.HasComment("测试结果");
|
||
|
||
b.Property<double?>("Weight")
|
||
.HasColumnType("float")
|
||
.HasComment("体重");
|
||
|
||
b.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.Property<int>("Year")
|
||
.HasColumnType("int)")
|
||
.HasComment("当前年份");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_SportsTestValue");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_SportsTrainingCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别枚举名称");
|
||
|
||
b.Property<string>("CategoryName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别中文名称");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("类别枚举值");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_SportsTrainingCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_TestAssocCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("类别枚举值");
|
||
|
||
b.Property<int>("DataSource")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源[1:IOT/2:AI]");
|
||
|
||
b.Property<int>("ModeId")
|
||
.HasColumnType("int")
|
||
.HasComment("模式Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_TestAssocCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_TrainingAssocCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("类别枚举值");
|
||
|
||
b.Property<int>("DataSource")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源[1:IOT/2:AI]");
|
||
|
||
b.Property<int>("ModeId")
|
||
.HasColumnType("int")
|
||
.HasComment("模式Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_TrainingAssocCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_TrainingValue", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<int>("CategoryId")
|
||
.HasColumnType("int")
|
||
.HasComment("测试类别Id");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("ClassRank")
|
||
.HasColumnType("int")
|
||
.HasComment("班级排名");
|
||
|
||
b.Property<int>("Consumption")
|
||
.HasColumnType("int")
|
||
.HasComment("运动消耗");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("DataSource")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("MotionDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长/分钟");
|
||
|
||
b.Property<string>("Rank")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("等级");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<double>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<int>("Strength")
|
||
.HasColumnType("int")
|
||
.HasComment("运动强度");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<double>("Value")
|
||
.HasColumnType("float")
|
||
.HasComment("测试结果");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_TrainingValue");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_VisionData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<DateTime>("ImportDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("导入时间");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.Property<double>("VisionLeft")
|
||
.HasColumnType("float")
|
||
.HasComment("左眼");
|
||
|
||
b.Property<double>("VisionReight")
|
||
.HasColumnType("float")
|
||
.HasComment("右眼");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_VisionData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_Class", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Class");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_ClassAssocTeacher", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_ClassAssocTeacher");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_Device", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<int>("DeviceType")
|
||
.HasColumnType("int")
|
||
.HasComment("设备类型");
|
||
|
||
b.Property<string>("Name")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("AI设备名称");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Device");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_GatewayAssocSchool", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("Mac")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("设备的Mac地址");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_GatewayAssocSchool");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_Grade", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Grade");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_HomeWork", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("Amount")
|
||
.HasColumnType("int")
|
||
.HasComment("作业数量");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<DateTime>("CreateTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.HasComment("作业时长");
|
||
|
||
b.Property<DateTime>("EndTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int>("GroupNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("作业数量");
|
||
|
||
b.Property<bool>("IsRepeat")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否重复");
|
||
|
||
b.Property<string>("RepetitionPeriod")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("重复周期");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<DateTime>("StartTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int>("StudentScope")
|
||
.HasColumnType("int")
|
||
.HasComment("学生范围");
|
||
|
||
b.Property<int>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("老师名称");
|
||
|
||
b.Property<string>("TeacherPhoneNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("老师手机号");
|
||
|
||
b.Property<int>("WorkModeType")
|
||
.HasColumnType("int")
|
||
.HasComment("作业类型");
|
||
|
||
b.Property<string>("WorkModeTypeName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("模式类型名称");
|
||
|
||
b.Property<string>("WorkName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("作业名称");
|
||
|
||
b.Property<int>("WorkStatus")
|
||
.HasColumnType("int")
|
||
.HasComment("作业状态");
|
||
|
||
b.Property<string>("WorkText")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("作业内容");
|
||
|
||
b.Property<int>("WorkType")
|
||
.HasColumnType("int")
|
||
.HasComment("作业类型");
|
||
|
||
b.Property<string>("WorkTypeName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("作业类型名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_HomeWork");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_HomeWorkStudents", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("DataSource")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源");
|
||
|
||
b.Property<int>("HomeWorkId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Photo")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("学生照片");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.Property<int>("Value")
|
||
.HasColumnType("int")
|
||
.HasComment("学生作业状态");
|
||
|
||
b.Property<int>("WorkStatus")
|
||
.HasColumnType("int")
|
||
.HasComment("学生作业状态");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("HomeWorkId");
|
||
|
||
b.ToTable("S_HomeWorkStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_School", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Area")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属区域");
|
||
|
||
b.Property<string>("City")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属城市");
|
||
|
||
b.Property<DateTime>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Province")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属省份");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校名称");
|
||
|
||
b.Property<int>("SchoolNatureId")
|
||
.HasColumnType("int")
|
||
.HasComment("学校性质Id");
|
||
|
||
b.Property<int>("SchoolType")
|
||
.HasColumnType("int")
|
||
.HasComment("学校类型");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_School");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_Student", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("Age")
|
||
.HasColumnType("int")
|
||
.HasComment("年龄");
|
||
|
||
b.Property<string>("AppletPwd")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("小程序密码");
|
||
|
||
b.Property<DateTime?>("Birthday")
|
||
.HasColumnType("datetime")
|
||
.HasComment("出生日期");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("HeartRateFrontNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("心率设备正面编号");
|
||
|
||
b.Property<string>("HeartRateId")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("心率设备ID");
|
||
|
||
b.Property<string>("HeartRateQRCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("心率设备二维码编号");
|
||
|
||
b.Property<string>("HomeAddress")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("家庭住址");
|
||
|
||
b.Property<string>("IDCard")
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("身份证");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Nation")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("民族");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int")
|
||
.HasComment("排序");
|
||
|
||
b.Property<string>("ParentName")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("家长姓名");
|
||
|
||
b.Property<string>("ParentPhoneNo")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("家长联系方式");
|
||
|
||
b.Property<string>("Photo")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("学生照片");
|
||
|
||
b.Property<string>("PlaceSchoolRollNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("地方学籍号");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("RopeSkipNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("跳绳二维码编号");
|
||
|
||
b.Property<string>("RopeSkipQRCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("跳绳编号");
|
||
|
||
b.Property<string>("RunChipNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("中长跑芯片编号");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("SchoolRollNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学籍号");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNation")
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("学生名族");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.Property<int>("StudentStatus")
|
||
.HasColumnType("int")
|
||
.HasComment("状态");
|
||
|
||
b.Property<int>("TotalTrainNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("训练次数");
|
||
|
||
b.Property<double>("TotalTrainTime")
|
||
.HasColumnType("float")
|
||
.HasComment("训练时长");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Student");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_SubmittedAssignments", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("FileName")
|
||
.HasColumnType("nvarchar(200)")
|
||
.HasComment("文件名称");
|
||
|
||
b.Property<string>("FilePath")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("文件地址");
|
||
|
||
b.Property<int?>("FileSize")
|
||
.HasColumnType("int")
|
||
.HasComment("文件大小");
|
||
|
||
b.Property<int>("FileType")
|
||
.HasColumnType("int")
|
||
.HasComment("文件类型");
|
||
|
||
b.Property<int>("HomeWorkId")
|
||
.HasColumnType("int")
|
||
.HasComment("作业Id");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_SubmittedAssignments");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_Teacher", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("AccumulatedTeachingTimes")
|
||
.HasColumnType("int")
|
||
.HasComment("授课次数");
|
||
|
||
b.Property<int>("Age")
|
||
.HasColumnType("int")
|
||
.HasComment("教师年龄");
|
||
|
||
b.Property<string>("AppletPwd")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("小程序密码");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<DateTime>("InductionDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("入职日期");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Ology")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("老师学科");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("教师性别");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("教师名称");
|
||
|
||
b.Property<string>("TeacherPhoneNo")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("老师联系方式");
|
||
|
||
b.Property<string>("TeacherPhoto")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("老师照片");
|
||
|
||
b.Property<int>("TeacherStatus")
|
||
.HasColumnType("int")
|
||
.HasComment("状态");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Teacher");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.SellOrder", b =>
|
||
{
|
||
b.Property<Guid>("Order_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasMaxLength(36)
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("AuditDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("AuditId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("AuditStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Auditor")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("OrderType")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("Qty")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("nvarchar(1000)");
|
||
|
||
b.Property<string>("SellNo")
|
||
.IsRequired()
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<string>("TranNo")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.HasKey("Order_Id");
|
||
|
||
b.ToTable("SellOrder");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.SellOrderList", b =>
|
||
{
|
||
b.Property<Guid>("OrderList_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasMaxLength(36)
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<string>("MO")
|
||
.IsRequired()
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<Guid>("Order_Id")
|
||
.HasMaxLength(36)
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<string>("ProductName")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int>("Qty")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("nvarchar(1000)");
|
||
|
||
b.Property<decimal?>("Weight")
|
||
.HasColumnType("decimal");
|
||
|
||
b.HasKey("OrderList_Id");
|
||
|
||
b.HasIndex("Order_Id");
|
||
|
||
b.ToTable("SellOrderList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_City", b =>
|
||
{
|
||
b.Property<int>("CityId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("CityId"), 1L, 1);
|
||
|
||
b.Property<string>("CityCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("城市Code");
|
||
|
||
b.Property<string>("CityName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("城市名称");
|
||
|
||
b.Property<string>("ProvinceCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("省份Code");
|
||
|
||
b.HasKey("CityId");
|
||
|
||
b.ToTable("Sys_City");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Department", b =>
|
||
{
|
||
b.Property<Guid>("DepartmentId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("DepartmentCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("DepartmentName")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("DepartmentType")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<Guid?>("ParentId")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.HasKey("DepartmentId");
|
||
|
||
b.ToTable("Sys_Department");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Dictionary", b =>
|
||
{
|
||
b.Property<int>("Dic_ID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Dic_ID"), 1L, 1);
|
||
|
||
b.Property<string>("Config")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("nvarchar(10000)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("DBServer")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("nvarchar(10000)");
|
||
|
||
b.Property<string>("DbSql")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("nvarchar(10000)");
|
||
|
||
b.Property<string>("DicName")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("DicNo")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("ParentId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(2000)
|
||
.HasColumnType("nvarchar(2000)");
|
||
|
||
b.HasKey("Dic_ID");
|
||
|
||
b.ToTable("Sys_Dictionary");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_DictionaryList", b =>
|
||
{
|
||
b.Property<int>("DicList_ID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("DicList_ID"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("DicName")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("DicValue")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int?>("Dic_ID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(2000)
|
||
.HasColumnType("nvarchar(2000)");
|
||
|
||
b.HasKey("DicList_ID");
|
||
|
||
b.HasIndex("Dic_ID");
|
||
|
||
b.ToTable("Sys_DictionaryList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_District", b =>
|
||
{
|
||
b.Property<int>("DistrictId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("DistrictId"), 1L, 1);
|
||
|
||
b.Property<string>("CityCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("城市Code");
|
||
|
||
b.Property<string>("DistrictCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("区县Code");
|
||
|
||
b.Property<string>("DistrictName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("区县名称");
|
||
|
||
b.HasKey("DistrictId");
|
||
|
||
b.ToTable("Sys_District");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Log", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("BeginDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("BrowserType")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<int?>("ElapsedTime")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("EndDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("ExceptionInfo")
|
||
.HasColumnType("varchar(max)");
|
||
|
||
b.Property<string>("LogType")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("RequestParameter")
|
||
.HasColumnType("varchar(max)");
|
||
|
||
b.Property<string>("ResponseParameter")
|
||
.HasColumnType("varchar(max)");
|
||
|
||
b.Property<int?>("Role_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ServiceIP")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<int?>("Success")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Url")
|
||
.HasMaxLength(30000)
|
||
.HasColumnType("varchar(max)");
|
||
|
||
b.Property<string>("UserIP")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasMaxLength(30000)
|
||
.HasColumnType("varchar(30000)");
|
||
|
||
b.Property<int?>("User_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Sys_Log");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Menu", b =>
|
||
{
|
||
b.Property<int>("Menu_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Menu_Id"), 1L, 1);
|
||
|
||
b.Property<string>("Auth")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("nvarchar(10000)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("Description")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Icon")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("MenuName")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int?>("MenuType")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("ParentId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("TableName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("Url")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("nvarchar(10000)");
|
||
|
||
b.HasKey("Menu_Id");
|
||
|
||
b.ToTable("Sys_Menu");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Province", b =>
|
||
{
|
||
b.Property<int>("ProvinceId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ProvinceId"), 1L, 1);
|
||
|
||
b.Property<string>("ProvinceCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("省份Code");
|
||
|
||
b.Property<string>("ProvinceName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("省份名称");
|
||
|
||
b.Property<string>("RegionCode")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("大区Code");
|
||
|
||
b.HasKey("ProvinceId");
|
||
|
||
b.ToTable("Sys_Province");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_QuartzLog", b =>
|
||
{
|
||
b.Property<Guid>("LogId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<int?>("ElapsedTime")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("EndDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("ErrorMsg")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<Guid?>("Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ResponseContent")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("Result")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("StratDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("TaskName")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.HasKey("LogId");
|
||
|
||
b.ToTable("Sys_QuartzLog");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_QuartzOptions", b =>
|
||
{
|
||
b.Property<Guid>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<string>("ApiUrl")
|
||
.HasMaxLength(2000)
|
||
.HasColumnType("nvarchar(2000)");
|
||
|
||
b.Property<string>("AuthKey")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("AuthValue")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("CronExpression")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("Describe")
|
||
.HasMaxLength(2000)
|
||
.HasColumnType("nvarchar(2000)");
|
||
|
||
b.Property<string>("GroupName")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<DateTime?>("LastRunTime")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Method")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("PostData")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("Status")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("TaskName")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<int?>("TimeOut")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Sys_QuartzOptions");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Role", b =>
|
||
{
|
||
b.Property<int>("Role_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Role_Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("DeleteBy")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<string>("DeptName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<int?>("Dept_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("ParentId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("RoleName")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.HasKey("Role_Id");
|
||
|
||
b.ToTable("Sys_Role");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_RoleAuth", b =>
|
||
{
|
||
b.Property<int>("Auth_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Auth_Id"), 1L, 1);
|
||
|
||
b.Property<string>("AuthValue")
|
||
.IsRequired()
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("nvarchar(1000)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int>("Menu_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("Role_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("User_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Auth_Id");
|
||
|
||
b.HasIndex("Role_Id");
|
||
|
||
b.ToTable("Sys_RoleAuth");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_TableColumn", b =>
|
||
{
|
||
b.Property<int>("ColumnId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ColumnId"), 1L, 1);
|
||
|
||
b.Property<int?>("ApiInPut")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("ApiIsNull")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("ApiOutPut")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("ColSize")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ColumnCnName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasColumnName("ColumnCNName");
|
||
|
||
b.Property<string>("ColumnName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("ColumnType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("ColumnWidth")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Columnformat")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime2");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("DropNo")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("EditColNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("EditRowNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("EditType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("IsColumnData")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("IsDisplay")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("IsImage")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("IsKey")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("IsNull")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("IsReadDataset")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("Maxlength")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime2");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Script")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("SearchColNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("SearchRowNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("SearchType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("Sortable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("TableName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int>("Table_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("ColumnId");
|
||
|
||
b.HasIndex("Table_Id");
|
||
|
||
b.ToTable("Sys_TableColumn");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_TableInfo", b =>
|
||
{
|
||
b.Property<int>("Table_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Table_Id"), 1L, 1);
|
||
|
||
b.Property<string>("CnName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("ColumnCNName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("DBServer")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("DataTableType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("DetailCnName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("DetailName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("EditorType")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ExpressField")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("FolderName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Namespace")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("OrderNo")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("ParentId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("RichText")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("SortName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("TableName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("TableTrueName")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("UploadField")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int?>("UploadMaxCount")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Table_Id");
|
||
|
||
b.ToTable("Sys_TableInfo");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_User", b =>
|
||
{
|
||
b.Property<int>("User_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("User_Id"), 1L, 1);
|
||
|
||
b.Property<string>("Address")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int?>("AppType")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("AuditDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("DeptName")
|
||
.HasMaxLength(150)
|
||
.HasColumnType("nvarchar(150)");
|
||
|
||
b.Property<int?>("Dept_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Email")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("Gender")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("HeadImageUrl")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<DateTime?>("LastLoginDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<DateTime?>("LastModifyPwdDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.HasMaxLength(11)
|
||
.HasColumnType("nvarchar(11)");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("RoleName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int>("Role_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("Token")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("UserName")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("UserPwd")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("UserTrueName")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.HasKey("User_Id");
|
||
|
||
b.ToTable("Sys_User");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_UserDepartment", b =>
|
||
{
|
||
b.Property<Guid>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<Guid>("DepartmentId")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<int>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(255)
|
||
.HasColumnType("nvarchar(255)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("UserId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Sys_UserDepartment");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlow", b =>
|
||
{
|
||
b.Property<Guid>("WorkFlow_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<int?>("AuditingEdit")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("LineConfig")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("NodeConfig")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<int?>("Weight")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("WorkName")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("WorkTable")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("WorkTableName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.HasKey("WorkFlow_Id");
|
||
|
||
b.ToTable("Sys_WorkFlow");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowStep", b =>
|
||
{
|
||
b.Property<Guid>("WorkStepFlow_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<int?>("AuditBack")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("AuditMethod")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("AuditRefuse")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Filters")
|
||
.HasMaxLength(4000)
|
||
.HasColumnType("nvarchar(4000)");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("NextStepIds")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<int?>("OrderId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ParentId")
|
||
.HasMaxLength(2000)
|
||
.HasColumnType("varchar(2000)");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<int?>("SendMail")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("StepAttrType")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("StepId")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("StepName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int?>("StepType")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("StepValue")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<int?>("Weight")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<Guid?>("WorkFlow_Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.HasKey("WorkStepFlow_Id");
|
||
|
||
b.HasIndex("WorkFlow_Id");
|
||
|
||
b.ToTable("Sys_WorkFlowStep");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowTable", b =>
|
||
{
|
||
b.Property<Guid>("WorkFlowTable_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<int?>("AuditStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<int?>("CurrentOrderId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("CurrentStepId")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("StepName")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<Guid?>("WorkFlow_Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<string>("WorkName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("WorkTable")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("WorkTableKey")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("WorkTableName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.HasKey("WorkFlowTable_Id");
|
||
|
||
b.ToTable("Sys_WorkFlowTable");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowTableAuditLog", b =>
|
||
{
|
||
b.Property<Guid>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("AuditDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("AuditId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("AuditResult")
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("nvarchar(1000)");
|
||
|
||
b.Property<int?>("AuditStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Auditor")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("nvarchar(1000)");
|
||
|
||
b.Property<string>("StepId")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("StepName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<Guid?>("WorkFlowTableStep_Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<Guid?>("WorkFlowTable_Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Sys_WorkFlowTableAuditLog");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowTableStep", b =>
|
||
{
|
||
b.Property<Guid>("Sys_WorkFlowTableStep_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<DateTime?>("AuditDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("AuditId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("AuditStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Auditor")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("nvarchar(50)");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("CreateID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Creator")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Modifier")
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("NextStepId")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<int?>("OrderId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ParentId")
|
||
.HasMaxLength(2000)
|
||
.HasColumnType("varchar(2000)");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("StepAttrType")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("StepId")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("StepName")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int?>("StepType")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("StepValue")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<int?>("Weight")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<Guid>("WorkFlowTable_Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.Property<Guid?>("WorkFlow_Id")
|
||
.HasColumnType("uniqueidentifier");
|
||
|
||
b.HasKey("Sys_WorkFlowTableStep_Id");
|
||
|
||
b.HasIndex("WorkFlowTable_Id");
|
||
|
||
b.ToTable("Sys_WorkFlowTableStep");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.test2019", b =>
|
||
{
|
||
b.Property<int>("id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("id"), 1L, 1);
|
||
|
||
b.Property<decimal?>("db")
|
||
.HasColumnType("decimal");
|
||
|
||
b.Property<string>("testUtf8")
|
||
.IsRequired()
|
||
.HasMaxLength(10)
|
||
.HasColumnType("nvarchar(10)");
|
||
|
||
b.Property<string>("testmb4")
|
||
.HasMaxLength(12)
|
||
.HasColumnType("nvarchar(12)");
|
||
|
||
b.Property<string>("text")
|
||
.HasMaxLength(65535)
|
||
.HasColumnType("nvarchar(65535)");
|
||
|
||
b.Property<DateTime?>("timepsan")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("tt")
|
||
.HasMaxLength(1)
|
||
.HasColumnType("nvarchar(1)");
|
||
|
||
b.Property<int?>("y")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("id");
|
||
|
||
b.ToTable("test2019");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.vProvinceCity", b =>
|
||
{
|
||
b.Property<int>("ProvinceId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ProvinceId"), 1L, 1);
|
||
|
||
b.Property<string>("CityCode")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("CityName")
|
||
.IsRequired()
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.Property<string>("ProvinceCode")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("ProvinceName")
|
||
.IsRequired()
|
||
.HasMaxLength(30)
|
||
.HasColumnType("nvarchar(30)");
|
||
|
||
b.HasKey("ProvinceId");
|
||
|
||
b.ToTable("vProvinceCity");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.vSys_Dictionary", b =>
|
||
{
|
||
b.Property<int>("Dic_ID")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Dic_ID"), 1L, 1);
|
||
|
||
b.Property<int>("DicList_ID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("DicName")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("DicNo")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("DicValue")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int?>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Dic_ID");
|
||
|
||
b.ToTable("vSys_Dictionary");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_Device", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("编号");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CameraInfo")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("摄像头序列号、版本信息");
|
||
|
||
b.Property<string>("CameraIp")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("AI 摄像机 IP 地址");
|
||
|
||
b.Property<string>("CreateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("CreateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<string>("DeployTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("应用时间");
|
||
|
||
b.Property<string>("DeviceImei")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("设备 IMEI 地址");
|
||
|
||
b.Property<string>("DeviceMac")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("设备 MAC 地址");
|
||
|
||
b.Property<string>("DeviceSerial")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("设备序列号");
|
||
|
||
b.Property<string>("DeviceType")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("设备型号");
|
||
|
||
b.Property<bool?>("Eai100Flag")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否是 EAI100 摄像头");
|
||
|
||
b.Property<string>("GunJumpingIp")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("抢跑 IP");
|
||
|
||
b.Property<string>("HardwareVer")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("硬件版本");
|
||
|
||
b.Property<string>("LastLoginTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("最后登录时间");
|
||
|
||
b.Property<int?>("OrgId")
|
||
.HasColumnType("int")
|
||
.HasComment("组织 ID");
|
||
|
||
b.Property<string>("OrgName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("组织名称");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("备注");
|
||
|
||
b.Property<int?>("SimilarNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("学校人脸的相似度");
|
||
|
||
b.Property<string>("SoftWareVer")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("软件版本");
|
||
|
||
b.Property<int?>("State")
|
||
.HasColumnType("int")
|
||
.HasComment("授权状态");
|
||
|
||
b.Property<int?>("Status")
|
||
.HasColumnType("int")
|
||
.HasComment("状态");
|
||
|
||
b.Property<double?>("Type")
|
||
.HasColumnType("double")
|
||
.HasComment("类型");
|
||
|
||
b.Property<string>("UpdateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<string>("UpdateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int?>("UserId")
|
||
.HasColumnType("int")
|
||
.HasComment("用户 ID");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("用户名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_Device");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_SportsTestData", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CheckCode")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("提交标识");
|
||
|
||
b.Property<int?>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级或者名单id(根据roster_type来判断)");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<string>("CreateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("CreateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<bool?>("DoubleFlag")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否双人模式");
|
||
|
||
b.Property<string>("EndTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("结束时间");
|
||
|
||
b.Property<int?>("ExaminationId")
|
||
.HasColumnType("int")
|
||
.HasComment("考试id");
|
||
|
||
b.Property<string>("ExaminationName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("考试名称");
|
||
|
||
b.Property<double?>("FemaleAvgCount")
|
||
.HasColumnType("float")
|
||
.HasComment("女生平均个数");
|
||
|
||
b.Property<int?>("FemaleAvgImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("女生平均值");
|
||
|
||
b.Property<double?>("FemaleAvgImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生平均分数");
|
||
|
||
b.Property<double?>("FemaleAvgScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生平均分数");
|
||
|
||
b.Property<double?>("FemaleCount")
|
||
.HasColumnType("float")
|
||
.HasComment("女生总成绩");
|
||
|
||
b.Property<int?>("FemaleFail")
|
||
.HasColumnType("int")
|
||
.HasComment("女生不及格人数");
|
||
|
||
b.Property<int?>("FemaleFine")
|
||
.HasColumnType("int")
|
||
.HasComment("女生优秀人数");
|
||
|
||
b.Property<int?>("FemaleGood")
|
||
.HasColumnType("int")
|
||
.HasComment("女生良好人数");
|
||
|
||
b.Property<int?>("FemaleMaxCount")
|
||
.HasColumnType("int")
|
||
.HasComment("女生最大值");
|
||
|
||
b.Property<int?>("FemaleMaxImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("女生最大值");
|
||
|
||
b.Property<double?>("FemaleMaxImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生最大分数");
|
||
|
||
b.Property<double?>("FemaleMaxScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生最大分数");
|
||
|
||
b.Property<double?>("FemaleMedianCount")
|
||
.HasColumnType("float")
|
||
.HasComment("女生中位数");
|
||
|
||
b.Property<int?>("FemaleMinCount")
|
||
.HasColumnType("int")
|
||
.HasComment("女生最小值");
|
||
|
||
b.Property<int?>("FemaleMinImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("女生最小值");
|
||
|
||
b.Property<double?>("FemaleMinImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生最小分数");
|
||
|
||
b.Property<double?>("FemaleMinScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生最小分数");
|
||
|
||
b.Property<int?>("FemalePass")
|
||
.HasColumnType("int")
|
||
.HasComment("女生及格人数");
|
||
|
||
b.Property<double?>("FemaleScore")
|
||
.HasColumnType("float")
|
||
.HasComment("女生总分数");
|
||
|
||
b.Property<int?>("FemaleTotal")
|
||
.HasColumnType("int")
|
||
.HasComment("女生总数");
|
||
|
||
b.Property<int?>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级ID");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("GroupId")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("组别");
|
||
|
||
b.Property<int?>("LossesCount1")
|
||
.HasColumnType("int")
|
||
.HasComment("失误损失次数");
|
||
|
||
b.Property<int?>("LossesCount2")
|
||
.HasColumnType("int")
|
||
.HasComment("甩绳速度偏慢损失次数");
|
||
|
||
b.Property<int?>("LossesCount3")
|
||
.HasColumnType("int")
|
||
.HasComment("进入状态过慢损失次数");
|
||
|
||
b.Property<double?>("MaleAvgCount")
|
||
.HasColumnType("float")
|
||
.HasComment("男生平均个数");
|
||
|
||
b.Property<int?>("MaleAvgImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("男生平均值");
|
||
|
||
b.Property<double?>("MaleAvgImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生平均分数");
|
||
|
||
b.Property<double?>("MaleAvgScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生平均分数");
|
||
|
||
b.Property<double?>("MaleCount")
|
||
.HasColumnType("float")
|
||
.HasComment("男生总成绩");
|
||
|
||
b.Property<int?>("MaleFail")
|
||
.HasColumnType("int")
|
||
.HasComment("男生不及格人数");
|
||
|
||
b.Property<int?>("MaleFine")
|
||
.HasColumnType("int")
|
||
.HasComment("男生优秀人数");
|
||
|
||
b.Property<int?>("MaleGood")
|
||
.HasColumnType("int")
|
||
.HasComment("男生良好人数");
|
||
|
||
b.Property<int?>("MaleMaxCount")
|
||
.HasColumnType("int")
|
||
.HasComment("男生最大值");
|
||
|
||
b.Property<int?>("MaleMaxImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("男生最大值");
|
||
|
||
b.Property<double?>("MaleMaxImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生最大分数");
|
||
|
||
b.Property<double?>("MaleMaxScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生最大分数");
|
||
|
||
b.Property<double?>("MaleMedianCount")
|
||
.HasColumnType("float")
|
||
.HasComment("男生中位数");
|
||
|
||
b.Property<int?>("MaleMinCount")
|
||
.HasColumnType("int")
|
||
.HasComment("男生最小值");
|
||
|
||
b.Property<int?>("MaleMinImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("男生最小值");
|
||
|
||
b.Property<double?>("MaleMinImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生最小分数");
|
||
|
||
b.Property<double?>("MaleMinScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生最小分数");
|
||
|
||
b.Property<int?>("MalePass")
|
||
.HasColumnType("int")
|
||
.HasComment("男生及格人数");
|
||
|
||
b.Property<double?>("MaleScore")
|
||
.HasColumnType("float")
|
||
.HasComment("男生总分数");
|
||
|
||
b.Property<int?>("MaleTotal")
|
||
.HasColumnType("int")
|
||
.HasComment("男生总数");
|
||
|
||
b.Property<int?>("MarkType")
|
||
.HasColumnType("int")
|
||
.HasComment("评分标准类型(1国家标准2地方标准3自定义标准)");
|
||
|
||
b.Property<string>("MarkTypeName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("评分标准类型名称");
|
||
|
||
b.Property<int?>("MinAvgTime")
|
||
.HasColumnType("int")
|
||
.HasComment("第一名平均耗时");
|
||
|
||
b.Property<int?>("MinErrorCount")
|
||
.HasColumnType("int")
|
||
.HasComment("失误最少的同学次数");
|
||
|
||
b.Property<int?>("MinIntoStateTime")
|
||
.HasColumnType("int")
|
||
.HasComment("进入状态最快的同学耗时(心率借用这个字段。班级运动时间)");
|
||
|
||
b.Property<int?>("ModelType")
|
||
.HasColumnType("int")
|
||
.HasComment("训练模式");
|
||
|
||
b.Property<string>("ModelTypeName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("项目模式名称");
|
||
|
||
b.Property<int?>("OrgId")
|
||
.HasColumnType("int")
|
||
.HasComment("学校ID");
|
||
|
||
b.Property<double?>("PassingRate")
|
||
.HasColumnType("float")
|
||
.HasComment("及格率");
|
||
|
||
b.Property<int?>("ProjectId")
|
||
.HasColumnType("int")
|
||
.HasComment("项目ID");
|
||
|
||
b.Property<int?>("ProjectKind")
|
||
.HasColumnType("int")
|
||
.HasComment("项目类型(1跳绳2跑步)");
|
||
|
||
b.Property<string>("ProjectKindName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("项目类型名称");
|
||
|
||
b.Property<string>("ProjectName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("项目名称");
|
||
|
||
b.Property<int?>("ProjectRuleId")
|
||
.HasColumnType("int")
|
||
.HasComment("训练标准ID");
|
||
|
||
b.Property<int?>("ProjectType")
|
||
.HasColumnType("int")
|
||
.HasComment("项目类型(1体检 2体质)");
|
||
|
||
b.Property<int?>("RosterType")
|
||
.HasColumnType("int")
|
||
.HasComment("模式类型(1随堂模式2名单模式3刷卡或手动录入)");
|
||
|
||
b.Property<int?>("Source")
|
||
.HasColumnType("int")
|
||
.HasComment("数据来源(1:pad, 2:微信小程序)");
|
||
|
||
b.Property<string>("StartTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("学生姓名");
|
||
|
||
b.Property<int?>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师ID");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("老师名称");
|
||
|
||
b.Property<int?>("TotalErrorCount")
|
||
.HasColumnType("int")
|
||
.HasComment("失误总次数");
|
||
|
||
b.Property<int?>("TrainCount")
|
||
.HasColumnType("int")
|
||
.HasComment("训练人数");
|
||
|
||
b.Property<string>("UpdateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<string>("UpdateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("修改时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_SportsTestData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainSetting", b =>
|
||
{
|
||
b.Property<int?>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int?>("Id"), 1L, 1);
|
||
|
||
b.Property<int?>("CircleCount")
|
||
.HasColumnType("int")
|
||
.HasComment("圈数");
|
||
|
||
b.Property<int?>("CircleCountGirl")
|
||
.HasColumnType("int")
|
||
.HasComment("女生圈数");
|
||
|
||
b.Property<int?>("CircleInterval")
|
||
.HasColumnType("int")
|
||
.HasComment("每圈时间间隔");
|
||
|
||
b.Property<int?>("CircleIntervalGirl")
|
||
.HasColumnType("int")
|
||
.HasComment("女生每圈时间间隔");
|
||
|
||
b.Property<string>("CreateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("CreateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<decimal?>("DecimalPlace")
|
||
.HasColumnType("decimal(18,2)")
|
||
.HasComment("保留秒以下的小数位数");
|
||
|
||
b.Property<int?>("FirstCircleInterval")
|
||
.HasColumnType("int")
|
||
.HasComment("首圈时间间隔");
|
||
|
||
b.Property<int?>("FirstCircleIntervalGirl")
|
||
.HasColumnType("int")
|
||
.HasComment("女生首圈时间间隔");
|
||
|
||
b.Property<decimal?>("FirstCircleWhole")
|
||
.HasColumnType("decimal(18,2)")
|
||
.HasComment("首圈是否整圈(1-不完整,2-完整)");
|
||
|
||
b.Property<decimal?>("FirstCircleWholeGirl")
|
||
.HasColumnType("decimal(18,2)")
|
||
.HasComment("女生首圈是否整圈(1-不完整,2-完整)");
|
||
|
||
b.Property<int?>("TrainId")
|
||
.HasColumnType("int")
|
||
.HasComment("训练ID");
|
||
|
||
b.Property<int>("XW_SportsTestDataId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_TrainSetting");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainStudents", b =>
|
||
{
|
||
b.Property<int?>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int?>("Id"), 1L, 1);
|
||
|
||
b.Property<int?>("Achievement")
|
||
.HasColumnType("int")
|
||
.HasComment("标准成绩");
|
||
|
||
b.Property<int?>("Achievement2")
|
||
.HasColumnType("int")
|
||
.HasComment("标准成绩2");
|
||
|
||
b.Property<int?>("AvgTime")
|
||
.HasColumnType("int")
|
||
.HasComment("平均耗时");
|
||
|
||
b.Property<int?>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级ID");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<bool?>("Completed")
|
||
.HasColumnType("bit")
|
||
.HasComment("是否已经完成");
|
||
|
||
b.Property<string>("CreateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("CreateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<string>("DeviceId")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("设备ID");
|
||
|
||
b.Property<int?>("ErrorCount")
|
||
.HasColumnType("int")
|
||
.HasComment("失误总次数");
|
||
|
||
b.Property<int?>("ErrorTime")
|
||
.HasColumnType("int")
|
||
.HasComment("失误总耗时");
|
||
|
||
b.Property<int?>("FamilySendFlag")
|
||
.HasColumnType("int")
|
||
.HasComment("家长消息发送标识");
|
||
|
||
b.Property<int?>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级ID");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("GroupName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("组别");
|
||
|
||
b.Property<int?>("GroupOrder")
|
||
.HasColumnType("int")
|
||
.HasComment("组号");
|
||
|
||
b.Property<int?>("HigherScore")
|
||
.HasColumnType("int")
|
||
.HasComment("高一档分数段");
|
||
|
||
b.Property<int?>("ImproveCount")
|
||
.HasColumnType("int")
|
||
.HasComment("次数提升空间");
|
||
|
||
b.Property<double?>("ImproveScore")
|
||
.HasColumnType("float")
|
||
.HasComment("分数提升空间");
|
||
|
||
b.Property<int?>("IntoStateTime")
|
||
.HasColumnType("int")
|
||
.HasComment("进入状态耗时");
|
||
|
||
b.Property<int?>("LossesCount1")
|
||
.HasColumnType("int")
|
||
.HasComment("失误损失次数");
|
||
|
||
b.Property<int?>("LossesCount2")
|
||
.HasColumnType("int")
|
||
.HasComment("甩绳速度偏慢损失次数");
|
||
|
||
b.Property<int?>("LossesCount3")
|
||
.HasColumnType("int")
|
||
.HasComment("进入状态过慢损失次数");
|
||
|
||
b.Property<int?>("MedianTime")
|
||
.HasColumnType("int")
|
||
.HasComment("有效平均值(中位数)");
|
||
|
||
b.Property<int?>("ModelType")
|
||
.HasColumnType("int")
|
||
.HasComment("报表显示");
|
||
|
||
b.Property<int?>("OrgId")
|
||
.HasColumnType("int")
|
||
.HasComment("学校ID");
|
||
|
||
b.Property<int?>("OriginalAchievement")
|
||
.HasColumnType("int")
|
||
.HasComment("原始标准成绩(被格式化小数点之前的)");
|
||
|
||
b.Property<int?>("OriginalAchievement2")
|
||
.HasColumnType("int")
|
||
.HasComment("原始标准成绩2(被格式化小数点之前的)");
|
||
|
||
b.Property<double?>("PlusesScore")
|
||
.HasColumnType("float")
|
||
.HasComment("加分项得分");
|
||
|
||
b.Property<int?>("ProjectId")
|
||
.HasColumnType("int")
|
||
.HasComment("项目ID");
|
||
|
||
b.Property<double?>("ProjectKind")
|
||
.HasColumnType("float")
|
||
.HasComment("项目类型(1跳绳2跑步)");
|
||
|
||
b.Property<int?>("QuantityCompleted")
|
||
.HasColumnType("int")
|
||
.HasComment("实际完成的数量(圈数)");
|
||
|
||
b.Property<int?>("Ranking")
|
||
.HasColumnType("int")
|
||
.HasComment("全体排名");
|
||
|
||
b.Property<int?>("RankingInGender")
|
||
.HasColumnType("int")
|
||
.HasComment("男生或女生排名");
|
||
|
||
b.Property<int?>("Rating")
|
||
.HasColumnType("int")
|
||
.HasComment("评分等级");
|
||
|
||
b.Property<double?>("Score")
|
||
.HasColumnType("float")
|
||
.HasComment("得分");
|
||
|
||
b.Property<double?>("Sex")
|
||
.HasColumnType("float")
|
||
.HasComment("性别(1男2女)");
|
||
|
||
b.Property<string>("StartTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int?>("StudentId")
|
||
.HasColumnType("int")
|
||
.HasComment("学生ID");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("学号");
|
||
|
||
b.Property<string>("Teacher")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("教师");
|
||
|
||
b.Property<int?>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师ID");
|
||
|
||
b.Property<int>("Times")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("TrainId")
|
||
.HasColumnType("int")
|
||
.HasComment("训练ID");
|
||
|
||
b.Property<string>("UpdateBy")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<string>("UpdateTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("VideoRecord")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<int>("XW_SportsTestDataId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("XW_SportsTestDataId");
|
||
|
||
b.ToTable("XW_TrainStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainViolationsBO", b =>
|
||
{
|
||
b.Property<int?>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int?>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("PicUrl")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("违规动图地址");
|
||
|
||
b.Property<int?>("SkipStumblingNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳绊脚次数");
|
||
|
||
b.Property<string>("TrainTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("违规动作训练时间");
|
||
|
||
b.Property<int?>("ViolationId")
|
||
.HasColumnType("int")
|
||
.HasComment("违规动作编号");
|
||
|
||
b.Property<int?>("XW_TrainStudentsId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("XW_TrainStudentsId");
|
||
|
||
b.ToTable("XW_TrainViolationsBO");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_Curricular", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CoverImage")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("封面图");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("CurricularName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("课程名称");
|
||
|
||
b.Property<int?>("Hits")
|
||
.HasColumnType("int)")
|
||
.HasComment("点击数");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<int>("TaxonomyId")
|
||
.HasColumnType("int)")
|
||
.HasComment("分类Id");
|
||
|
||
b.Property<string>("Url")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("资源地址");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Y_Curricular");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_CurricularTaxonomy", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("TaxonomyName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("分类名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Y_CurricularTaxonomy");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_PopularCurricular", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("CurricularId")
|
||
.HasColumnType("int)")
|
||
.HasComment("课程Id");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Y_PopularCurricular");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_SchoolAccountApplication", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.HasColumnType("nvarchar(11)")
|
||
.HasComment("联系电话");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolAddress")
|
||
.HasColumnType("nvarchar(1000)")
|
||
.HasComment("学校地址");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校名称");
|
||
|
||
b.Property<int>("Status")
|
||
.HasColumnType("int)")
|
||
.HasComment("状态");
|
||
|
||
b.Property<DateTime?>("UpdateTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("最后修改时间");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("用户姓名");
|
||
|
||
b.Property<DateTime?>("VisitingTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("来访时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Y_SchoolAccountApplication");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_Stadium", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("Address")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("地址");
|
||
|
||
b.Property<string>("Area")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属区域");
|
||
|
||
b.Property<string>("City")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属城市");
|
||
|
||
b.Property<string>("CoverImage")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("封面图");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int?>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("Intro")
|
||
.HasColumnType("text")
|
||
.HasComment("介绍");
|
||
|
||
b.Property<double?>("Latitude")
|
||
.HasColumnType("float")
|
||
.HasComment("纬度");
|
||
|
||
b.Property<double?>("Longitude")
|
||
.HasColumnType("float")
|
||
.HasComment("经度");
|
||
|
||
b.Property<int?>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("联系电话");
|
||
|
||
b.Property<string>("Province")
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属省份");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("StadiumCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("场馆编号");
|
||
|
||
b.Property<string>("StadiumName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("场馆名称");
|
||
|
||
b.Property<int>("Status")
|
||
.HasColumnType("int")
|
||
.HasComment("状态");
|
||
|
||
b.Property<int>("UnitType")
|
||
.HasColumnType("int")
|
||
.HasComment("单位类型");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Y_Stadium");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_StadiumResource", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("StadiumId")
|
||
.HasColumnType("int")
|
||
.HasComment("场馆Id");
|
||
|
||
b.Property<int>("Type")
|
||
.HasColumnType("int")
|
||
.HasComment("资源类型[1:图片/2:视频]");
|
||
|
||
b.Property<string>("Url")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("资源地址");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("StadiumId");
|
||
|
||
b.ToTable("Y_StadiumResource");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_StadiumVisiting", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.HasColumnType("nvarchar(11)")
|
||
.HasComment("联系电话");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<int>("StadiumId")
|
||
.HasColumnType("int")
|
||
.HasComment("场馆Id");
|
||
|
||
b.Property<int>("Status")
|
||
.HasColumnType("int)")
|
||
.HasComment("状态");
|
||
|
||
b.Property<DateTime?>("UpdateTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("最后修改时间");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasColumnType("nvarchar(2000)")
|
||
.HasComment("用户姓名");
|
||
|
||
b.Property<DateTime?>("VisitingTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("来访时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Y_StadiumVisiting");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.Sys_Actions", b =>
|
||
{
|
||
b.Property<int>("Action_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Action_Id"), 1L, 1);
|
||
|
||
b.Property<int>("Menu_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int?>("Sys_MenuMenu_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Text")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.Property<string>("Value")
|
||
.HasColumnType("nvarchar(max)");
|
||
|
||
b.HasKey("Action_Id");
|
||
|
||
b.HasIndex("Sys_MenuMenu_Id");
|
||
|
||
b.ToTable("Sys_Actions");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_XinWei.Api.SmartSportsEntitys.XW_ProjectMode", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("枚举");
|
||
|
||
b.Property<string>("Name")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("名称");
|
||
|
||
b.Property<int>("ProjectKind")
|
||
.HasColumnType("int")
|
||
.HasComment("ProjectKind");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_ProjectMode");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_XinWei.Api.SmartSportsEntitys.XW_TestingProject", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("枚举");
|
||
|
||
b.Property<int>("CategoryValue")
|
||
.HasColumnType("int")
|
||
.HasComment("枚举");
|
||
|
||
b.Property<bool>("IsOpen")
|
||
.HasColumnType("bit")
|
||
.HasComment("IsOpen");
|
||
|
||
b.Property<bool>("IsShow")
|
||
.HasColumnType("bit")
|
||
.HasComment("IsShow");
|
||
|
||
b.Property<int>("OrgId")
|
||
.HasColumnType("int")
|
||
.HasComment("OrgId");
|
||
|
||
b.Property<int>("ProjectId")
|
||
.HasColumnType("int")
|
||
.HasComment("ProjectId");
|
||
|
||
b.Property<string>("ProjectName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_TestingProject");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ClassroomStudentRecord", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Ai_ClassRoomRecord", "ClassRoomRecord")
|
||
.WithMany("ClassroomStudentRecord")
|
||
.HasForeignKey("ClassRoomRecordId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("ClassRoomRecord");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SpecialAction", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Ai_SpecialLevel", "SpecialLevel")
|
||
.WithMany("SpecialActionList")
|
||
.HasForeignKey("SpecialLevelId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("SpecialLevel");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SpecialLevel", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Ai_Special", "Special")
|
||
.WithMany("SpecialLevelList")
|
||
.HasForeignKey("SpecialId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Special");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_EntryStudent", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.G_Activities", "Activities")
|
||
.WithMany("EntryStudents")
|
||
.HasForeignKey("ActivitiesId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Activities");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_StuDetailInfoEntity", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.I_TrainGroup", "TrainGroup")
|
||
.WithMany("StuList")
|
||
.HasForeignKey("TrainGroupId");
|
||
|
||
b.Navigation("TrainGroup");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainGroup", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.I_TrainingData", "TrainingData")
|
||
.WithMany("TrainGroupData")
|
||
.HasForeignKey("TrainingDataId");
|
||
|
||
b.Navigation("TrainingData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainingStudentData", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.I_TrainingData", "TrainingData")
|
||
.WithMany()
|
||
.HasForeignKey("TrainingDataId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("TrainingData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainRanking", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.I_TrainingData", "TrainingData")
|
||
.WithMany("TrainRankingData")
|
||
.HasForeignKey("TrainingDataId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("TrainingData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_HomeWorkStudents", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.S_HomeWork", "HomeWork")
|
||
.WithMany("HomeWorkStudents")
|
||
.HasForeignKey("HomeWorkId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("HomeWork");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.SellOrderList", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.SellOrder", null)
|
||
.WithMany("SellOrderList")
|
||
.HasForeignKey("Order_Id")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_DictionaryList", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_Dictionary", null)
|
||
.WithMany("Sys_DictionaryList")
|
||
.HasForeignKey("Dic_ID");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_RoleAuth", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_Role", null)
|
||
.WithMany("RoleAuths")
|
||
.HasForeignKey("Role_Id");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_TableColumn", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_TableInfo", null)
|
||
.WithMany("TableColumns")
|
||
.HasForeignKey("Table_Id")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowStep", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_WorkFlow", null)
|
||
.WithMany("Sys_WorkFlowStep")
|
||
.HasForeignKey("WorkFlow_Id");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowTableStep", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_WorkFlowTable", null)
|
||
.WithMany("Sys_WorkFlowTableStep")
|
||
.HasForeignKey("WorkFlowTable_Id")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainStudents", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.XinWei.XW_SportsTestData", "XW_SportsTestData")
|
||
.WithMany("StudentList")
|
||
.HasForeignKey("XW_SportsTestDataId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("XW_SportsTestData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainViolationsBO", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.XinWei.XW_TrainStudents", "XW_TrainStudents")
|
||
.WithMany("TrainViolationsBO")
|
||
.HasForeignKey("XW_TrainStudentsId");
|
||
|
||
b.Navigation("XW_TrainStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_StadiumResource", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.YD.Y_Stadium", "Stadium")
|
||
.WithMany("StadiumResourceList")
|
||
.HasForeignKey("StadiumId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Stadium");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.Sys_Actions", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_Menu", null)
|
||
.WithMany("Actions")
|
||
.HasForeignKey("Sys_MenuMenu_Id");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_ClassRoomRecord", b =>
|
||
{
|
||
b.Navigation("ClassroomStudentRecord");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_Special", b =>
|
||
{
|
||
b.Navigation("SpecialLevelList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_SpecialLevel", b =>
|
||
{
|
||
b.Navigation("SpecialActionList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_Activities", b =>
|
||
{
|
||
b.Navigation("EntryStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainGroup", b =>
|
||
{
|
||
b.Navigation("StuList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_TrainingData", b =>
|
||
{
|
||
b.Navigation("TrainGroupData");
|
||
|
||
b.Navigation("TrainRankingData");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.S_HomeWork", b =>
|
||
{
|
||
b.Navigation("HomeWorkStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.SellOrder", b =>
|
||
{
|
||
b.Navigation("SellOrderList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Dictionary", b =>
|
||
{
|
||
b.Navigation("Sys_DictionaryList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Menu", b =>
|
||
{
|
||
b.Navigation("Actions");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_Role", b =>
|
||
{
|
||
b.Navigation("RoleAuths");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_TableInfo", b =>
|
||
{
|
||
b.Navigation("TableColumns");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlow", b =>
|
||
{
|
||
b.Navigation("Sys_WorkFlowStep");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Sys_WorkFlowTable", b =>
|
||
{
|
||
b.Navigation("Sys_WorkFlowTableStep");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_SportsTestData", b =>
|
||
{
|
||
b.Navigation("StudentList");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainStudents", b =>
|
||
{
|
||
b.Navigation("TrainViolationsBO");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.YD.Y_Stadium", b =>
|
||
{
|
||
b.Navigation("StadiumResourceList");
|
||
});
|
||
#pragma warning restore 612, 618
|
||
}
|
||
}
|
||
}
|