1593 lines
60 KiB
C#
1593 lines
60 KiB
C#
// <auto-generated />
|
||
using System;
|
||
using Microsoft.EntityFrameworkCore;
|
||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||
using Microsoft.EntityFrameworkCore.Metadata;
|
||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||
using YD_YiLu.Api.Context;
|
||
|
||
#nullable disable
|
||
|
||
namespace YD_YiLu.Api.Migrations
|
||
{
|
||
[DbContext(typeof(SmartSportsContext))]
|
||
partial class SmartSportsContextModelSnapshot : 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.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<string>("Remarks")
|
||
.IsRequired()
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Grade");
|
||
});
|
||
|
||
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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属区域");
|
||
|
||
b.Property<string>("City")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(20)")
|
||
.HasComment("所属省份");
|
||
|
||
b.Property<string>("Remarks")
|
||
.IsRequired()
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校名称");
|
||
|
||
b.Property<int>("SchoolNatureId")
|
||
.HasColumnType("int")
|
||
.HasComment("学校性质Id");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_School");
|
||
});
|
||
|
||
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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("提交标识");
|
||
|
||
b.Property<int?>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级或者名单id(根据roster_type来判断)");
|
||
|
||
b.Property<string>("ClassName")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("GroupId")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<string>("CreateTime")
|
||
.IsRequired()
|
||
.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.HasIndex("XW_SportsTestDataId")
|
||
.IsUnique();
|
||
|
||
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<double?>("Achievement")
|
||
.HasColumnType("float")
|
||
.HasComment("标准成绩");
|
||
|
||
b.Property<double?>("Achievement2")
|
||
.HasColumnType("float")
|
||
.HasComment("标准成绩2");
|
||
|
||
b.Property<int?>("AvgTime")
|
||
.HasColumnType("int")
|
||
.HasComment("平均耗时");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级ID");
|
||
|
||
b.Property<string>("ClassName")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("GroupName")
|
||
.IsRequired()
|
||
.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<int?>("ProjectKind")
|
||
.HasColumnType("int")
|
||
.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<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别(1男2女)");
|
||
|
||
b.Property<string>("StartTime")
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("开始时间");
|
||
|
||
b.Property<int>("StudentId")
|
||
.HasColumnType("int")
|
||
.HasComment("学生ID");
|
||
|
||
b.Property<string>("StudentName")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(max)")
|
||
.HasComment("违规动图地址");
|
||
|
||
b.Property<int?>("SkipStumblingNumber")
|
||
.HasColumnType("int")
|
||
.HasComment("跳绳绊脚次数");
|
||
|
||
b.Property<string>("TrainTime")
|
||
.IsRequired()
|
||
.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.XinWei.YL_Device", b =>
|
||
{
|
||
b.Property<long>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("bigint");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("AndroidId")
|
||
.IsRequired()
|
||
.HasMaxLength(64)
|
||
.HasColumnType("nvarchar(64)");
|
||
|
||
b.Property<DateTime>("CreateTime")
|
||
.HasColumnType("datetime2");
|
||
|
||
b.Property<string>("IMEI")
|
||
.IsRequired()
|
||
.HasMaxLength(64)
|
||
.HasColumnType("nvarchar(64)");
|
||
|
||
b.Property<string>("IMSI")
|
||
.IsRequired()
|
||
.HasMaxLength(64)
|
||
.HasColumnType("nvarchar(64)");
|
||
|
||
b.Property<int>("IsActive")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("IsCalibration")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("IsOnline")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("IsSynchronization")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime?>("LastOnlineTime")
|
||
.HasColumnType("datetime2");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int?>("OrgId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Remark")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("SerialNumber")
|
||
.IsRequired()
|
||
.HasMaxLength(64)
|
||
.HasColumnType("nvarchar(64)");
|
||
|
||
b.Property<long>("SportStationId")
|
||
.HasColumnType("bigint");
|
||
|
||
b.Property<string>("TenantName")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<DateTime?>("UpdateTime")
|
||
.HasColumnType("datetime2");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("YL_Device");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_YiLu.Api.SmartSportsEntitys.N_HealthStandards", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.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("YD_YiLu.Api.SmartSportsEntitys.N_SportsTestCategory", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<string>("CategoryEnum")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<string>("CategoryName")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("类别名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<int>("IsRopeSkip")
|
||
.HasColumnType("int")
|
||
.HasComment("是否是跳绳");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<int>("StatisticType")
|
||
.HasColumnType("int")
|
||
.HasComment("统计类型");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_SportsTestCategory");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_YiLu.Api.SmartSportsEntitys.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")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.IsRequired()
|
||
.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("YD_YiLu.Api.SmartSportsEntitys.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<int>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_Class");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_YiLu.Api.SmartSportsEntitys.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("S_SchoolAssocGrade");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_YiLu.Api.SmartSportsEntitys.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<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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.Property<string>("SchoolRollNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学籍号");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<string>("StudentName")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNation")
|
||
.HasColumnType("nvarchar(50)")
|
||
.HasComment("学生名族");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.IsRequired()
|
||
.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("YD_YiLu.Api.SmartSportsEntitys.Sys_User", b =>
|
||
{
|
||
b.Property<int>("User_Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("User_Id"), 1L, 1);
|
||
|
||
b.Property<string>("Address")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("DeptName")
|
||
.IsRequired()
|
||
.HasMaxLength(150)
|
||
.HasColumnType("nvarchar(150)");
|
||
|
||
b.Property<int?>("Dept_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Email")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<int>("Enable")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("Gender")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("HeadImageUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<DateTime?>("LastLoginDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<DateTime?>("LastModifyPwdDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<string>("Modifier")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime");
|
||
|
||
b.Property<int?>("ModifyID")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("PhoneNo")
|
||
.IsRequired()
|
||
.HasMaxLength(11)
|
||
.HasColumnType("nvarchar(11)");
|
||
|
||
b.Property<string>("Remark")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("RoleName")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<int>("Role_Id")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.Property<string>("Token")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("nvarchar(500)");
|
||
|
||
b.Property<string>("UserName")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("nvarchar(100)");
|
||
|
||
b.Property<string>("UserPwd")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("nvarchar(200)");
|
||
|
||
b.Property<string>("UserTrueName")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("nvarchar(20)");
|
||
|
||
b.HasKey("User_Id");
|
||
|
||
b.ToTable("Sys_User");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_YiLu.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("枚举");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("名称");
|
||
|
||
b.Property<int>("ProjectKind")
|
||
.HasColumnType("int")
|
||
.HasComment("ProjectKind");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_ProjectMode");
|
||
});
|
||
|
||
modelBuilder.Entity("YD_YiLu.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")
|
||
.IsRequired()
|
||
.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")
|
||
.IsRequired()
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("名称");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("XW_TestingProject");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainSetting", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.XinWei.XW_SportsTestData", "XW_SportsTestData")
|
||
.WithOne("TrainSetting")
|
||
.HasForeignKey("VOL.Entity.DomainModels.XinWei.XW_TrainSetting", "XW_SportsTestDataId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("XW_SportsTestData");
|
||
});
|
||
|
||
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")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("XW_TrainStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_SportsTestData", b =>
|
||
{
|
||
b.Navigation("StudentList");
|
||
|
||
b.Navigation("TrainSetting")
|
||
.IsRequired();
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.XinWei.XW_TrainStudents", b =>
|
||
{
|
||
b.Navigation("TrainViolationsBO");
|
||
});
|
||
#pragma warning restore 612, 618
|
||
}
|
||
}
|
||
}
|