// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SettleAccount.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore; #nullable disable namespace SettleAccount.Migrations { [DbContext(typeof(SettleAccountHttpApiHostMigrationsDbContext))] partial class SettleAccountHttpApiHostMigrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("ProductVersion", "7.0.1") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("SettleAccount.Entities.Boms.Bom", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("BomLevel") .HasColumnType("int"); b.Property("BomType") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("BranchId") .HasColumnType("uniqueidentifier"); b.Property("ChildItemCode") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("ChildItemDesc") .IsRequired() .HasMaxLength(2048) .HasColumnType("nvarchar(2048)"); b.Property("ChildItemUom") .IsRequired() .HasColumnType("nvarchar(max)"); 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("DeleterId") .HasColumnType("uniqueidentifier") .HasColumnName("DeleterId"); b.Property("DeletionTime") .HasColumnType("datetime2") .HasColumnName("DeletionTime"); b.Property("EffectiveTime") .HasColumnType("datetime2"); b.Property("Enabled") .HasColumnType("bit"); b.Property("ExpireTime") .HasColumnType("datetime2"); b.Property("ExtraProperties") .HasColumnType("nvarchar(max)") .HasColumnName("ExtraProperties"); b.Property("Factory") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false) .HasColumnName("IsDeleted"); b.Property("IssuePosition") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("LastModificationTime") .HasColumnType("datetime2") .HasColumnName("LastModificationTime"); b.Property("LastModifierId") .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); b.Property("OperateProcess") .HasColumnType("int"); b.Property("ParentId") .HasColumnType("uniqueidentifier"); b.Property("ParentItemCode") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("ParentItemDesc") .IsRequired() .HasMaxLength(2048) .HasColumnType("nvarchar(2048)"); b.Property("Period") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("Qty") .HasColumnType("decimal(18,2)"); b.Property("Remark") .HasColumnType("nvarchar(max)"); b.Property("ScrapPercent") .HasColumnType("decimal(18,2)"); b.Property("Version") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("Year") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.HasKey("Id"); b.ToTable("SettleAccount_bom", (string)null); }); modelBuilder.Entity("SettleAccount.Entities.Boms.BomVersion", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("BranchId") .HasColumnType("uniqueidentifier"); 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("CustomerCode") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("DeleterId") .HasColumnType("uniqueidentifier") .HasColumnName("DeleterId"); b.Property("DeletionTime") .HasColumnType("datetime2") .HasColumnName("DeletionTime"); b.Property("Enabled") .HasColumnType("bit"); b.Property("ExtraProperties") .HasColumnType("nvarchar(max)") .HasColumnName("ExtraProperties"); b.Property("Factory") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false) .HasColumnName("IsDeleted"); b.Property("LastModificationTime") .HasColumnType("datetime2") .HasColumnName("LastModificationTime"); b.Property("LastModifierId") .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); b.Property("Period") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("Remark") .HasColumnType("nvarchar(max)"); b.Property("Version") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.Property("Year") .IsRequired() .HasMaxLength(36) .HasColumnType("nvarchar(36)"); b.HasKey("Id"); b.ToTable("SettleAccount_bom_version", (string)null); }); #pragma warning restore 612, 618 } } }