//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
using WmsWebApi.EntityFrameworkCore;
namespace WmsWebApi.Migrations
{
[DbContext(typeof(WmsWebApiHttpApiHostMigrationsDbContext))]
[Migration("20220125054352_Initail")]
partial class Initail
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
.HasAnnotation("Relational:MaxIdentifierLength", 128)
.HasAnnotation("ProductVersion", "5.0.13")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("WmsWebApi.TbOrfers.TbOrder", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("OrderNumber")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("Status")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(1);
b.HasKey("Id");
b.ToTable("TB_ORDER");
});
modelBuilder.Entity("WmsWebApi.ZlldcjLogs.ZlldcjLog", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property("AEDAT")
.HasColumnType("date");
b.Property("AENAM")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("AEZET")
.HasColumnType("time(3)");
b.Property("ANLN1")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("AUFNR")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("BDMNG")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("BKNUM")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("BWART")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime2")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property("ENMNG")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("ERDAT")
.HasColumnType("date");
b.Property("ERNAM")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ERZET")
.HasColumnType("time(3)");
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
b.Property("GRUND")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("KOSTL")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("KZEAR")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LGORT1")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LGORT2")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("LGORT3")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("MATNR")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("MEINS")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("POSNR")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("RSNUM")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("RSPOS")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("VBELN")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("WERKS")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ZBZSM")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ZDJLX")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ZLLDJ")
.HasColumnType("nvarchar(max)");
b.Property("ZLLITEM")
.HasPrecision(18, 6)
.HasColumnType("decimal(18,6)");
b.Property("ZLLR")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.Property("ZLTLX")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
b.HasKey("Id");
b.ToTable("WmsWebApiZLLDCJ_LOGDTO");
});
#pragma warning restore 612, 618
}
}
}