You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
247 lines
9.5 KiB
247 lines
9.5 KiB
// <auto-generated />
|
|
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<Guid>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<int>("BomLevel")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("BomType")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<Guid>("BranchId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<string>("ChildItemCode")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<string>("ChildItemDesc")
|
|
.IsRequired()
|
|
.HasMaxLength(2048)
|
|
.HasColumnType("nvarchar(2048)");
|
|
|
|
b.Property<string>("ChildItemUom")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ConcurrencyStamp")
|
|
.IsConcurrencyToken()
|
|
.HasMaxLength(40)
|
|
.HasColumnType("nvarchar(40)")
|
|
.HasColumnName("ConcurrencyStamp");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("CreationTime");
|
|
|
|
b.Property<Guid?>("CreatorId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("CreatorId");
|
|
|
|
b.Property<Guid?>("DeleterId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("DeleterId");
|
|
|
|
b.Property<DateTime?>("DeletionTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("DeletionTime");
|
|
|
|
b.Property<DateTime>("EffectiveTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("Enabled")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<DateTime>("ExpireTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("ExtraProperties")
|
|
.HasColumnType("nvarchar(max)")
|
|
.HasColumnName("ExtraProperties");
|
|
|
|
b.Property<string>("Factory")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bit")
|
|
.HasDefaultValue(false)
|
|
.HasColumnName("IsDeleted");
|
|
|
|
b.Property<string>("IssuePosition")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("LastModificationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("LastModificationTime");
|
|
|
|
b.Property<Guid?>("LastModifierId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("LastModifierId");
|
|
|
|
b.Property<int>("OperateProcess")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<Guid>("ParentId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<string>("ParentItemCode")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<string>("ParentItemDesc")
|
|
.IsRequired()
|
|
.HasMaxLength(2048)
|
|
.HasColumnType("nvarchar(2048)");
|
|
|
|
b.Property<string>("Period")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<decimal>("Qty")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<string>("Remark")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal>("ScrapPercent")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<string>("Version")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<string>("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<Guid>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<Guid>("BranchId")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<string>("ConcurrencyStamp")
|
|
.IsConcurrencyToken()
|
|
.HasMaxLength(40)
|
|
.HasColumnType("nvarchar(40)")
|
|
.HasColumnName("ConcurrencyStamp");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("CreationTime");
|
|
|
|
b.Property<Guid?>("CreatorId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("CreatorId");
|
|
|
|
b.Property<string>("CustomerCode")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<Guid?>("DeleterId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("DeleterId");
|
|
|
|
b.Property<DateTime?>("DeletionTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("DeletionTime");
|
|
|
|
b.Property<bool>("Enabled")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ExtraProperties")
|
|
.HasColumnType("nvarchar(max)")
|
|
.HasColumnName("ExtraProperties");
|
|
|
|
b.Property<string>("Factory")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bit")
|
|
.HasDefaultValue(false)
|
|
.HasColumnName("IsDeleted");
|
|
|
|
b.Property<DateTime?>("LastModificationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("LastModificationTime");
|
|
|
|
b.Property<Guid?>("LastModifierId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("LastModifierId");
|
|
|
|
b.Property<string>("Period")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<string>("Remark")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Version")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.Property<string>("Year")
|
|
.IsRequired()
|
|
.HasMaxLength(36)
|
|
.HasColumnType("nvarchar(36)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("SettleAccount_bom_version", (string)null);
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|
|
|