98 lines
3.2 KiB
C#
98 lines
3.2 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using IRaCIS.Core.Test.CodeFirstTest.MSSQL;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace IRaCIS.Core.Test.CodeFirstTest.MSSQL.Migrations
|
|
{
|
|
[DbContext(typeof(IRCContext))]
|
|
partial class IRCContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "8.0.8")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|
|
|
modelBuilder.Entity("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TestNew", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<Guid>("CreateUserId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<string>("TestName")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<Guid>("UpdateUserId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("TestNew");
|
|
});
|
|
|
|
modelBuilder.Entity("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TrialImageDownload", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<Guid>("CreateUserId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<DateTime?>("DownloadEndTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("DownloadStartTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("ImageCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("ImageSize")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("ImageType")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("IsSuccess")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<Guid>("SubjectVisitId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<Guid>("UpdateUserId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("TrialImageDownload");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|