4659 lines
169 KiB
C#
4659 lines
169 KiB
C#
// <auto-generated />
|
||
using System;
|
||
using Microsoft.EntityFrameworkCore;
|
||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||
using Microsoft.EntityFrameworkCore.Metadata;
|
||
using Microsoft.EntityFrameworkCore.Migrations;
|
||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||
using VOL.Core.EFDbContext;
|
||
|
||
#nullable disable
|
||
|
||
namespace VOL.Core.Migrations
|
||
{
|
||
[DbContext(typeof(VOLContext))]
|
||
[Migration("20240814193842_init033")]
|
||
partial class init033
|
||
{
|
||
protected override void BuildTargetModel(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_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<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>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_DeviceAssocSchool");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.Ai_Result", 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<string>("Code")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("AI设备的唯一编码");
|
||
|
||
b.Property<string>("CorrectJudge")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("动作解析");
|
||
|
||
b.Property<int>("Duration")
|
||
.HasColumnType("int")
|
||
.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?>("Height")
|
||
.HasColumnType("float")
|
||
.HasComment("身高");
|
||
|
||
b.Property<string>("ItemCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("测试项目编码");
|
||
|
||
b.Property<string>("Remark")
|
||
.HasColumnType("nvarchar(4000)")
|
||
.HasComment("设备评价语");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校Code");
|
||
|
||
b.Property<string>("SchoolName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校名称");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(1000)")
|
||
.HasComment("学生姓名");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(1000)")
|
||
.HasComment("测试的学生全国学籍号");
|
||
|
||
b.Property<int?>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("老师姓名");
|
||
|
||
b.Property<double>("TestResult")
|
||
.HasColumnType("float")
|
||
.HasComment("成绩");
|
||
|
||
b.Property<DateTime?>("TestTime")
|
||
.HasColumnType("datetime")
|
||
.HasComment("学生实际测试结束的时间");
|
||
|
||
b.Property<long>("UniqueId")
|
||
.HasColumnType("bigint")
|
||
.HasComment("设备上传成绩时唯一标识, 重复时服务端不保存数据");
|
||
|
||
b.Property<double?>("Weight")
|
||
.HasColumnType("float")
|
||
.HasComment("体重");
|
||
|
||
b.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("Ai_Result");
|
||
});
|
||
|
||
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>("CategoryId")
|
||
.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.HasKey("Id");
|
||
|
||
b.ToTable("S_GradeAssocCategory");
|
||
});
|
||
|
||
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<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<DateTime>("EndDate")
|
||
.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<DateTime>("StartDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("活动开始时间");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("G_Activities");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_ActivitiesEntry", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("ActivitiesId")
|
||
.HasColumnType("int");
|
||
|
||
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>("Participants")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("参赛对象");
|
||
|
||
b.Property<string>("SchoolCode")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学校编号");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("G_ActivitiesEntry");
|
||
});
|
||
|
||
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>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<int>("G_ActivitiesEntryId")
|
||
.HasColumnType("int")
|
||
.HasComment("报名Id");
|
||
|
||
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("G_ActivitiesEntryId");
|
||
|
||
b.ToTable("G_EntryStudent");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_SportsTest", 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>("GradeId")
|
||
.HasColumnType("int")
|
||
.HasComment("年级Id");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.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?>("TeacherId")
|
||
.HasColumnType("int")
|
||
.HasComment("老师Id");
|
||
|
||
b.Property<string>("TeacherName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("老师姓名");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("I_SportsTest");
|
||
});
|
||
|
||
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<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<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<int>("SportsTestId")
|
||
.HasColumnType("int");
|
||
|
||
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.HasIndex("SportsTestId");
|
||
|
||
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<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<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_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<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("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<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.Property<double?>("WrongResults")
|
||
.HasColumnType("float")
|
||
.HasComment("错误成绩");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_SportsTestValue");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.N_StudentPerformanceStats", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int")
|
||
.HasComment("Id");
|
||
|
||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
|
||
|
||
b.Property<int>("AccumulatedRopeSkipCount")
|
||
.HasColumnType("int")
|
||
.HasComment("累计跳绳次数");
|
||
|
||
b.Property<int>("AccumulatedTrainCount")
|
||
.HasColumnType("int")
|
||
.HasComment("累计训练次数");
|
||
|
||
b.Property<int>("AccumulatedTrainDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("累计训练时长");
|
||
|
||
b.Property<int>("Age")
|
||
.HasColumnType("int")
|
||
.HasComment("年龄");
|
||
|
||
b.Property<int>("AvgConsume")
|
||
.HasColumnType("int")
|
||
.HasComment("平均消耗");
|
||
|
||
b.Property<int>("AvgHeartRate")
|
||
.HasColumnType("int")
|
||
.HasComment("平均心率");
|
||
|
||
b.Property<int>("AvgRopeSkipCount")
|
||
.HasColumnType("int")
|
||
.HasComment("平均跳绳次数");
|
||
|
||
b.Property<double>("BMI")
|
||
.HasColumnType("float")
|
||
.HasComment("BMI");
|
||
|
||
b.Property<int>("BmiRank")
|
||
.HasColumnType("int")
|
||
.HasComment("BMI等级");
|
||
|
||
b.Property<string>("ClassName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("班级名称");
|
||
|
||
b.Property<DateTime?>("CreateDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("创建时间");
|
||
|
||
b.Property<int>("Creator")
|
||
.HasColumnType("int)")
|
||
.HasComment("创建人");
|
||
|
||
b.Property<double>("CrossQuadrantJump")
|
||
.HasColumnType("float")
|
||
.HasComment("十字急限跳");
|
||
|
||
b.Property<int>("CrossQuadrantJumpRank")
|
||
.HasColumnType("int")
|
||
.HasComment("十字急限跳等级");
|
||
|
||
b.Property<int>("ExerciseDuration")
|
||
.HasColumnType("int")
|
||
.HasComment("运动时长");
|
||
|
||
b.Property<int>("ExerciseFrequency")
|
||
.HasColumnType("int")
|
||
.HasComment("运动次数");
|
||
|
||
b.Property<string>("GradeName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("年级名称");
|
||
|
||
b.Property<double>("HeartRate")
|
||
.HasColumnType("float")
|
||
.HasComment("心率");
|
||
|
||
b.Property<int>("HeartRateRank")
|
||
.HasColumnType("int")
|
||
.HasComment("心率等级");
|
||
|
||
b.Property<double>("MeterRun_1000_M")
|
||
.HasColumnType("float")
|
||
.HasComment("1000米跑(男)");
|
||
|
||
b.Property<int>("MeterRun_1000_MRank")
|
||
.HasColumnType("int")
|
||
.HasComment("1000米跑(男)等级");
|
||
|
||
b.Property<double>("MeterRun_50")
|
||
.HasColumnType("float")
|
||
.HasComment("50米跑");
|
||
|
||
b.Property<int>("MeterRun_50Rank")
|
||
.HasColumnType("int")
|
||
.HasComment("50米跑等级");
|
||
|
||
b.Property<double>("MeterRun_800_F")
|
||
.HasColumnType("float")
|
||
.HasComment("800米跑(女)等级");
|
||
|
||
b.Property<int>("MeterRun_800_FRank")
|
||
.HasColumnType("int")
|
||
.HasComment("800米跑(女)等级");
|
||
|
||
b.Property<int>("Modifier")
|
||
.HasColumnType("int)")
|
||
.HasComment("修改人");
|
||
|
||
b.Property<DateTime?>("ModifyDate")
|
||
.HasColumnType("datetime")
|
||
.HasComment("修改时间");
|
||
|
||
b.Property<double>("OneMinuteJumpRope")
|
||
.HasColumnType("float")
|
||
.HasComment("1分钟跳绳");
|
||
|
||
b.Property<int>("OneMinuteJumpRopeRank")
|
||
.HasColumnType("int")
|
||
.HasComment("1分钟跳绳等级");
|
||
|
||
b.Property<double>("One_Minute_Sit_Up_F")
|
||
.HasColumnType("float")
|
||
.HasComment("1分钟仰卧起坐(女)");
|
||
|
||
b.Property<int>("One_Minute_Sit_Up_FRank")
|
||
.HasColumnType("int")
|
||
.HasComment("1分钟仰卧起坐(女)等级");
|
||
|
||
b.Property<double>("One_Minute_Sit_Up_M")
|
||
.HasColumnType("float")
|
||
.HasComment("1分钟仰卧起坐(男)");
|
||
|
||
b.Property<int>("One_Minute_Sit_Up_MRank")
|
||
.HasColumnType("int")
|
||
.HasComment("1分钟仰卧起坐(男)等级");
|
||
|
||
b.Property<double>("Pull_Up_M")
|
||
.HasColumnType("float")
|
||
.HasComment("引体向上(男)");
|
||
|
||
b.Property<int>("Pull_Up_MRank")
|
||
.HasColumnType("int")
|
||
.HasComment("引体向上(男)等级");
|
||
|
||
b.Property<string>("Remarks")
|
||
.HasColumnType("text")
|
||
.HasComment("备注");
|
||
|
||
b.Property<double>("RopeSkipping_30s")
|
||
.HasColumnType("float")
|
||
.HasComment("30秒跳绳");
|
||
|
||
b.Property<int>("RopeSkipping_30sRank")
|
||
.HasColumnType("int")
|
||
.HasComment("30秒跳绳等级");
|
||
|
||
b.Property<double>("RopeSkipping_4m")
|
||
.HasColumnType("float")
|
||
.HasComment("4分钟跳绳");
|
||
|
||
b.Property<int>("RopeSkipping_4mRank")
|
||
.HasColumnType("int")
|
||
.HasComment("4分钟跳绳等级");
|
||
|
||
b.Property<int>("Sex")
|
||
.HasColumnType("int")
|
||
.HasComment("性别");
|
||
|
||
b.Property<double>("ShuttleRun_50x8")
|
||
.HasColumnType("float")
|
||
.HasComment("50米x8往返跑");
|
||
|
||
b.Property<int>("ShuttleRun_50x8Rank")
|
||
.HasColumnType("int")
|
||
.HasComment("50米x8往返跑等级");
|
||
|
||
b.Property<double>("Sit_And_Reach")
|
||
.HasColumnType("float")
|
||
.HasComment("坐位体前屈");
|
||
|
||
b.Property<int>("Sit_And_ReachRank")
|
||
.HasColumnType("int")
|
||
.HasComment("坐位体前屈等级");
|
||
|
||
b.Property<double>("StandingLongJump")
|
||
.HasColumnType("float")
|
||
.HasComment("立定跳远");
|
||
|
||
b.Property<int>("StandingLongJumpRank")
|
||
.HasColumnType("int")
|
||
.HasComment("立定跳远等级");
|
||
|
||
b.Property<string>("StudentName")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生名称");
|
||
|
||
b.Property<string>("StudentNo")
|
||
.HasColumnType("nvarchar(100)")
|
||
.HasComment("学生学号");
|
||
|
||
b.Property<double>("Vision_L")
|
||
.HasColumnType("float")
|
||
.HasComment("视力/左");
|
||
|
||
b.Property<double>("Vision_R")
|
||
.HasColumnType("float")
|
||
.HasComment("视力/右");
|
||
|
||
b.Property<double>("VitalCapacity")
|
||
.HasColumnType("float")
|
||
.HasComment("肺活量");
|
||
|
||
b.Property<int>("VitalCapacityRank")
|
||
.HasColumnType("int")
|
||
.HasComment("肺活量等级");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("N_StudentPerformanceStats");
|
||
});
|
||
|
||
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.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<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_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_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.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<DateTime?>("Birthday")
|
||
.HasColumnType("datetime")
|
||
.HasComment("出生日期");
|
||
|
||
b.Property<int>("ClassId")
|
||
.HasColumnType("int")
|
||
.HasComment("班级Id");
|
||
|
||
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")
|
||
.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_Teacher", 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<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<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")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("text");
|
||
|
||
b.Property<string>("LogType")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("RequestParameter")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("text");
|
||
|
||
b.Property<string>("ResponseParameter")
|
||
.HasMaxLength(10000)
|
||
.HasColumnType("text");
|
||
|
||
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("text");
|
||
|
||
b.Property<string>("UserIP")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("UserName")
|
||
.HasMaxLength(30000)
|
||
.HasColumnType("text");
|
||
|
||
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>("SchooCode")
|
||
.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.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("VOL.Entity.DomainModels.G_EntryStudent", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.G_ActivitiesEntry", "ActivitiesEntry")
|
||
.WithMany("G_EntryStudents")
|
||
.HasForeignKey("G_ActivitiesEntryId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("ActivitiesEntry");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_SportsTestData", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.I_SportsTest", "SportsTest")
|
||
.WithMany("SportsTestData")
|
||
.HasForeignKey("SportsTestId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("SportsTest");
|
||
});
|
||
|
||
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");
|
||
|
||
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.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.Sys_Actions", b =>
|
||
{
|
||
b.HasOne("VOL.Entity.DomainModels.Sys_Menu", null)
|
||
.WithMany("Actions")
|
||
.HasForeignKey("Sys_MenuMenu_Id");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.G_ActivitiesEntry", b =>
|
||
{
|
||
b.Navigation("G_EntryStudents");
|
||
});
|
||
|
||
modelBuilder.Entity("VOL.Entity.DomainModels.I_SportsTest", b =>
|
||
{
|
||
b.Navigation("SportsTestData");
|
||
});
|
||
|
||
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.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");
|
||
});
|
||
#pragma warning restore 612, 618
|
||
}
|
||
}
|
||
}
|