From 56c13f6e544f3813adc7c6296f9419eed55bc06d Mon Sep 17 00:00:00 2001
From: 44673626 <44673626@qq.com>
Date: Wed, 5 Jan 2022 13:32:38 +0800
Subject: [PATCH] =?UTF-8?q?H=E5=B9=B3=E5=8F=B0=E4=BB=A3=E7=A0=81=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../20211221015126_init.Designer.cs | 10990 ----------------
.../Migrations/20211221015126_init.cs | 4640 -------
...ApiHostMigrationsDbContextModelSnapshot.cs | 10988 ---------------
.../Entities/HQ_H/HQ_H_PlatformDto.cs | 20 +
.../Entities/HQ_H/HQ_H_PlatformDtoBase.cs | 20 +
.../Entities/HQ_H/HQ_H_PlatformExportDto.cs | 24 +
.../Entities/HQ_H/HQ_H_PlatformImportDto.cs | 24 +
.../Entities/HQ_H/HQ_H_PlatformRequestDto.cs | 20 +
.../BT_Car/BT_Car_PlatformAppService.cs | 2 +-
.../SettleAccount.Application.xml | 5 +
...ttleAccountApplicationAutoMapperProfile.cs | 28 +
.../Entities/HQ_H/HQ_H_Platform.cs | 41 +-
...AccountDbContextModelCreatingExtensions.cs | 90 +-
vue/src/router/modules/hq_menu.js | 6 +-
14 files changed, 238 insertions(+), 26660 deletions(-)
delete mode 100644 src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211221015126_init.Designer.cs
delete mode 100644 src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211221015126_init.cs
delete mode 100644 src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/SettleAccountHttpApiHostMigrationsDbContextModelSnapshot.cs
diff --git a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211221015126_init.Designer.cs b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211221015126_init.Designer.cs
deleted file mode 100644
index 7b1849f6..00000000
--- a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211221015126_init.Designer.cs
+++ /dev/null
@@ -1,10990 +0,0 @@
-//
-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 Win.Sfs.SettleAccount;
-
-namespace Win.Sfs.SettleAccount.Migrations
-{
- [DbContext(typeof(SettleAccountHttpApiHostMigrationsDbContext))]
- [Migration("20211221015126_init")]
- partial class init
- {
- 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.8")
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTCarConsigns.BTCarConsign", 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()
- .HasColumnType("nvarchar(450)");
-
- 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("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("KBCode")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("MaterialCode")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Period")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Qty")
- .HasPrecision(18, 2)
- .HasColumnType("decimal(18,2)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("State")
- .HasMaxLength(36)
- .HasColumnType("int");
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("CustomerCode", "MaterialCode", "KBCode", "Version")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_btcarconsign");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTCarKBs.BTCarKB", 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("ConsignQty")
- .HasColumnType("decimal(18,2)");
-
- 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("DateTime")
- .HasColumnType("datetime2");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("DeliveryDateTime")
- .HasColumnType("datetime2");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- 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("MaterialCode")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("MaterialDesc")
- .HasColumnType("nvarchar(max)");
-
- b.Property("NeedQty")
- .HasPrecision(18, 2)
- .HasColumnType("decimal(18,2)");
-
- b.Property("OrderKBCode")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Period")
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("ReceiveAreaCode")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("ReceiveAreaName")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("State")
- .HasMaxLength(36)
- .HasColumnType("int");
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("CustomerCode", "MaterialCode", "OrderKBCode", "Version")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_btcarkb");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTCarSeqFirsts.BTCarSeqFirst", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BarCode")
- .HasColumnType("nvarchar(450)");
-
- 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()
- .HasColumnType("nvarchar(450)");
-
- b.Property("DT")
- .HasColumnType("datetime2");
-
- 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("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("OnLineDateTime")
- .HasColumnType("datetime2");
-
- b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Period")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("VIN")
- .HasColumnType("nvarchar(450)");
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("CustomerCode", "BarCode", "VIN", "Version")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_btcarseqfirst");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTCarSeqSeconds.BTCarSeqSecond", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BarCode")
- .HasColumnType("nvarchar(450)");
-
- b.Property("BranchId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("CMSerie")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CMSerieRemark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CarModelShort")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CarName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CarType")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Code")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Color")
- .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("CustomerCode")
- .IsRequired()
- .HasColumnType("nvarchar(450)");
-
- b.Property("DateTime")
- .HasColumnType("datetime2");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("EngineCode")
- .HasColumnType("nvarchar(max)");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- b.Property("InColor")
- .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("OnLineDateTime")
- .HasColumnType("datetime2");
-
- b.Property("OrderStateNum")
- .HasColumnType("nvarchar(max)");
-
- b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Period")
- .HasColumnType("nvarchar(max)");
-
- b.Property("PlanDate")
- .HasColumnType("datetime2");
-
- b.Property("PlanSeq")
- .HasColumnType("int");
-
- b.Property("PlanTypeRemark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("SpecialCarTypeRemark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("StateName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("TopSeq")
- .HasColumnType("nvarchar(max)");
-
- b.Property("VIN")
- .HasColumnType("nvarchar(450)");
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("CustomerCode", "BarCode", "VIN", "Version")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_btcarseqsecond");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTCarSeqs.BTCarSeq", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BarCode")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- 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("DT")
- .HasColumnType("datetime2");
-
- 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("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("OnLineDateTime")
- .HasColumnType("datetime2");
-
- b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("Period")
- .HasMaxLength(1024)
- .HasColumnType("nvarchar(1024)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("VIN")
- .IsRequired()
- .HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("CustomerCode", "BarCode", "VIN", "Version")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_btcarseq");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTNotConsignReports.BTNotConsignReport", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BeginTime")
- .HasColumnType("datetime2");
-
- b.Property("BranchId")
- .HasMaxLength(36)
- .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("CreatorName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CustomCode")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CustomName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("DocumentNumber")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("DocumentStatus")
- .HasColumnType("int");
-
- b.Property("DocumentType")
- .HasColumnType("int");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("EndTime")
- .HasColumnType("datetime2");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- 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("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.HasKey("Id");
-
- b.HasIndex("BranchId", "DocumentNumber")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_bt_not_kb_consign_report");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTNotConsignReports.BTNotConsignReportDetail", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BranchId")
- .HasMaxLength(36)
- .HasColumnType("uniqueidentifier");
-
- b.Property("ConsignQty")
- .HasColumnType("decimal(18,2)");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("CustomCode")
- .HasColumnType("nvarchar(450)");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("DeliveryDateTime")
- .HasColumnType("datetime2");
-
- b.Property("DocumentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("DocumentNumber")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- 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("MaterialCode")
- .HasColumnType("nvarchar(450)");
-
- b.Property("MaterialDesc")
- .HasColumnType("nvarchar(max)");
-
- b.Property("NeedQty")
- .HasColumnType("decimal(18,2)");
-
- b.Property("OrderKBCode")
- .HasColumnType("nvarchar(450)");
-
- b.Property("Period")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("State")
- .HasColumnType("int");
-
- b.Property("Version")
- .HasColumnType("nvarchar(450)");
-
- b.Property("Year")
- .HasColumnType("nvarchar(max)");
-
- b.HasKey("Id");
-
- b.HasIndex("DocumentId");
-
- b.HasIndex("BranchId", "DocumentId", "Version", "CustomCode", "MaterialCode", "OrderKBCode")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_bt_not_kb_consign_report_detail");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTSeqKBDiffReports.BTSeqKBDiffReport", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BranchId")
- .HasMaxLength(36)
- .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("CreatorName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CustomCode")
- .HasColumnType("nvarchar(max)");
-
- b.Property("CustomName")
- .HasColumnType("nvarchar(max)");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("DocumentNumber")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("DocumentStatus")
- .HasColumnType("int");
-
- b.Property("DocumentType")
- .HasColumnType("int");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
- .HasColumnName("ExtraProperties");
-
- 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")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Version")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Year")
- .HasColumnType("nvarchar(max)");
-
- b.HasKey("Id");
-
- b.HasIndex("BranchId", "DocumentNumber")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_bt_seq_kb_diff_report");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.BTSeqKBDiffReports.BTSeqKBDiffReportDetail", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BranchId")
- .HasMaxLength(36)
- .HasColumnType("uniqueidentifier");
-
- b.Property("CreationTime")
- .HasColumnType("datetime2")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("CreatorId");
-
- b.Property("CustomCode")
- .HasColumnType("nvarchar(450)");
-
- b.Property("DT")
- .HasColumnType("datetime2");
-
- b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnType("datetime2")
- .HasColumnName("DeletionTime");
-
- b.Property("DiffQty")
- .HasColumnType("decimal(18,2)");
-
- b.Property("DocumentId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("DocumentNumber")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("Enabled")
- .HasColumnType("bit");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("KBQty")
- .HasColumnType("decimal(18,2)");
-
- b.Property("LastModificationTime")
- .HasColumnType("datetime2")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
- .HasColumnName("LastModifierId");
-
- b.Property("MaterialCode")
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("Period")
- .HasColumnType("nvarchar(max)");
-
- b.Property("Remark")
- .HasColumnType("nvarchar(max)");
-
- b.Property("SeqQty")
- .HasColumnType("decimal(18,2)");
-
- b.Property("Version")
- .HasColumnType("nvarchar(450)");
-
- b.Property("Year")
- .HasColumnType("nvarchar(max)");
-
- b.HasKey("Id");
-
- b.HasIndex("DocumentId");
-
- b.HasIndex("BranchId", "DocumentId", "Version", "DT", "CustomCode", "MaterialCode")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_bt_seq_kb_diff_report_detail");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.Boms.Bom", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("BomLevel")
- .HasColumnType("int");
-
- b.Property("BomType")
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("BranchId")
- .HasColumnType("uniqueidentifier");
-
- b.Property("ChildItemCode")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("ChildItemDesc")
- .HasMaxLength(2048)
- .HasColumnType("nvarchar(2048)");
-
- b.Property("ChildItemUom")
- .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")
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted");
-
- b.Property("IssuePosition")
- .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")
- .HasMaxLength(2048)
- .HasColumnType("nvarchar(2048)");
-
- b.Property("Period")
- .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")
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("Year")
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.HasKey("Id");
-
- b.HasIndex("ParentItemCode", "ChildItemCode", "Version")
- .IsUnique()
- .HasFilter("IsDeleted=0");
-
- b.ToTable("Set_bom");
- });
-
- modelBuilder.Entity("Win.Sfs.SettleAccount.Customers.Customer", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uniqueidentifier");
-
- b.Property("Address")
- .HasMaxLength(2048)
- .HasColumnType("nvarchar(2048)");
-
- b.Property("BranchId")
- .HasMaxLength(36)
- .HasColumnType("uniqueidentifier");
-
- b.Property("Code")
- .IsRequired()
- .HasMaxLength(36)
- .HasColumnType("nvarchar(36)");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("Contact")
- .HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
-
- b.Property("ContactEmail")
- .HasColumnType("nvarchar(max)");
-
- b.Property