|
@ -1,51 +1,19 @@ |
|
|
using System; |
|
|
using System; |
|
|
using Microsoft.EntityFrameworkCore; |
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
|
|
using SettleAccount.Domain.BQ; |
|
|
using Volo.Abp; |
|
|
using Volo.Abp; |
|
|
using Volo.Abp.EntityFrameworkCore.Modeling; |
|
|
using Volo.Abp.EntityFrameworkCore.Modeling; |
|
|
using Win.Sfs.SettleAccount.Boms; |
|
|
using Win.Sfs.SettleAccount.Boms; |
|
|
using Win.Sfs.SettleAccount.Customers; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.Boms; |
|
|
using Win.Sfs.SettleAccount.Entities.Boms; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.BQ.Vmi; |
|
|
using Win.Sfs.SettleAccount.Entities.CodeSettings; |
|
|
using Win.Sfs.SettleAccount.Entities.CodeSettings; |
|
|
using Win.Sfs.SettleAccount.Entities.Controls; |
|
|
using Win.Sfs.SettleAccount.Entities.Controls; |
|
|
using Win.Sfs.SettleAccount.FISes; |
|
|
using Win.Sfs.SettleAccount.Entities.Invoices; |
|
|
using Win.Sfs.SettleAccount.Entities.Inventories; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.Materials; |
|
|
using Win.Sfs.SettleAccount.Entities.Materials; |
|
|
using Win.Sfs.SettleAccount.Prebatches; |
|
|
using Win.Sfs.SettleAccount.Entities.Prices; |
|
|
using Win.Sfs.SettleAccount.Entities.SettleAccounts; |
|
|
using Win.Sfs.SettleAccount.Entities.SettleAccounts; |
|
|
using Win.Sfs.SettleAccount.Entities.StorageLocations; |
|
|
|
|
|
using Win.Sfs.SettleAccount.EstimatedStockDiffReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Inventories; |
|
|
|
|
|
using Win.Sfs.SettleAccount.MaterialRelationships; |
|
|
using Win.Sfs.SettleAccount.MaterialRelationships; |
|
|
using Win.Sfs.SettleAccount.SendUnsettledDiffReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.StockUnsettledDiffReports; |
|
|
|
|
|
using Win.Sfs.Shared.Constant; |
|
|
using Win.Sfs.Shared.Constant; |
|
|
using Win.Sfs.SettleAccount.Entities.Factories; |
|
|
|
|
|
|
|
|
|
|
|
using Win.Sfs.SettleAccount.StockFisDiffReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.StockSettledDiffReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.SecondaryActuralAdjustmentReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.SecondaryActuralDiffReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.SupplierItemSetUps; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using Win.Sfs.SettleAccount.BTSeqKBDiffReports; |
|
|
|
|
|
using Win.Sfs.SettleAccount.BTNotConsignReports; |
|
|
|
|
|
|
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.ImportMap; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.Invoices; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Reports.InvoiceSettledDiffs; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.Prices; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.FISes; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.MaterialRelationships; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.SettlementParts; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.ItemInvoicePrices; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.SecMatch; |
|
|
|
|
|
|
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.UnHQSettleAccounts; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Errors; |
|
|
|
|
|
using SettleAccount.Domain.BQ; |
|
|
|
|
|
using System.DirectoryServices.ActiveDirectory; |
|
|
|
|
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount |
|
|
namespace Win.Sfs.SettleAccount |
|
|
{ |
|
|
{ |
|
@ -65,6 +33,7 @@ namespace Win.Sfs.SettleAccount |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
#region 基础数据
|
|
|
#region 基础数据
|
|
|
|
|
|
|
|
|
builder.ConfigureCodeSetting(options); |
|
|
builder.ConfigureCodeSetting(options); |
|
|
//价格
|
|
|
//价格
|
|
|
builder.ConfigurePriceListVersion(options); |
|
|
builder.ConfigurePriceListVersion(options); |
|
@ -85,14 +54,11 @@ namespace Win.Sfs.SettleAccount |
|
|
builder.ConfigurePURCHASE_PRICE(options); |
|
|
builder.ConfigurePURCHASE_PRICE(options); |
|
|
//客户替换件关系
|
|
|
//客户替换件关系
|
|
|
builder.ConfigureTB_RePartsRelationship(options); |
|
|
builder.ConfigureTB_RePartsRelationship(options); |
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion 基础数据
|
|
|
|
|
|
|
|
|
#region 北汽结算
|
|
|
#region 北汽结算
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
builder.ConfigureBBAC_CAN_SA(options); |
|
|
builder.ConfigureBBAC_CAN_SA(options); |
|
|
builder.ConfigureBBAC_CAN_SA_DETAIL(options); |
|
|
builder.ConfigureBBAC_CAN_SA_DETAIL(options); |
|
|
builder.ConfigureBBAC_NOT_SA_DETAIL(options); |
|
|
builder.ConfigureBBAC_NOT_SA_DETAIL(options); |
|
@ -126,12 +92,7 @@ namespace Win.Sfs.SettleAccount |
|
|
builder.ConfigurePUB_SA(options); |
|
|
builder.ConfigurePUB_SA(options); |
|
|
builder.ConfigurePUB_SA_DETAIL(options); |
|
|
builder.ConfigurePUB_SA_DETAIL(options); |
|
|
builder.ConfigurePUB_SE_DETAIL(options); |
|
|
builder.ConfigurePUB_SE_DETAIL(options); |
|
|
|
|
|
builder.ConfigureVmi(options); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//大众发票导入
|
|
|
//大众发票导入
|
|
|
//builder.ConfigureInvoice(options);
|
|
|
//builder.ConfigureInvoice(options);
|
|
@ -141,50 +102,40 @@ namespace Win.Sfs.SettleAccount |
|
|
//builder.ConfigureSettleAccount(options);
|
|
|
//builder.ConfigureSettleAccount(options);
|
|
|
//builder.ConfigureSettleAccountVersion(options);
|
|
|
//builder.ConfigureSettleAccountVersion(options);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
////红旗主机场-未结明细-导入
|
|
|
////红旗主机场-未结明细-导入
|
|
|
//builder.ConfigureUnHQSettleAccount(options);
|
|
|
//builder.ConfigureUnHQSettleAccount(options);
|
|
|
//builder.ConfigureUnHQSettleAccountVersion(options);
|
|
|
//builder.ConfigureUnHQSettleAccountVersion(options);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//builder.ConfigureWmsDetailReport(options);
|
|
|
//builder.ConfigureWmsDetailReport(options);
|
|
|
//builder.ConfigureWmsDetailDiffReport(options);
|
|
|
//builder.ConfigureWmsDetailDiffReport(options);
|
|
|
//builder.ConfigureWmsDetailCancelReport(options);
|
|
|
//builder.ConfigureWmsDetailCancelReport(options);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//有条码
|
|
|
//有条码
|
|
|
//builder.ConfigureWmsDetailWithCodeReport(options);
|
|
|
//builder.ConfigureWmsDetailWithCodeReport(options);
|
|
|
|
|
|
|
|
|
//builder.ConfigureErrorBill(options);
|
|
|
//builder.ConfigureErrorBill(options);
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
#endregion 北汽结算
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#region 基础数据
|
|
|
#region 基础数据
|
|
|
|
|
|
|
|
|
private static void ConfigurePriceListBJ(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePriceListBJ(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PriceListBJ>(b => |
|
|
builder.Entity<PriceListBJ>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PriceListBJ", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PriceListBJ", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
|
b.Property(x => x.MaterialCode).HasMaxLength(50); |
|
|
b.Property(x => x.MaterialCode).HasMaxLength(50); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(50); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(50); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigurePriceListVersionBJ(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePriceListVersionBJ(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PriceListVersionBJ>(b => |
|
|
builder.Entity<PriceListVersionBJ>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PriceListVersionBJ", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PriceListVersionBJ", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -192,13 +143,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.Period).HasMaxLength(50); |
|
|
b.Property(x => x.Period).HasMaxLength(50); |
|
|
b.Property(x => x.Version).HasMaxLength(50); |
|
|
b.Property(x => x.Version).HasMaxLength(50); |
|
|
b.Property(x => x.Factory).HasMaxLength(50); |
|
|
b.Property(x => x.Factory).HasMaxLength(50); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureCentralizedControl(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureCentralizedControl(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<CentralizedControl>(b => |
|
|
builder.Entity<CentralizedControl>(b => |
|
|
{ |
|
|
{ |
|
|
b.ToTable($"{options.TablePrefix}_control", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_control", options.Schema); |
|
@ -209,10 +158,8 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureBomVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBomVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BomVersion>(b => |
|
|
builder.Entity<BomVersion>(b => |
|
|
{ |
|
|
{ |
|
|
b.ToTable($"{options.TablePrefix}_bom_version", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_bom_version", options.Schema); |
|
@ -224,12 +171,10 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureBom(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBom(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
builder.Entity<Bom>(b => |
|
|
builder.Entity<Bom>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_bom", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_bom", options.Schema); |
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
|
|
@ -261,19 +206,14 @@ namespace Win.Sfs.SettleAccount |
|
|
b.ToTable($"{options.TablePrefix}_material", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_material", options.Schema); |
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b.Property(x => x.MaterialCode).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.MaterialCode).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.EstimateType).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.EstimateType).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.MaterialCode).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.MaterialCode).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.Unit).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.Unit).IsRequired().HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.HasIndex(x => new { x.MaterialCode }).IsUnique().HasFilter(IsDeletedFilter); |
|
|
b.HasIndex(x => new { x.MaterialCode }).IsUnique().HasFilter(IsDeletedFilter); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureMaterialRelationship(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureMaterialRelationship(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
builder.Entity<MaterialRelationship>(b => |
|
|
builder.Entity<MaterialRelationship>(b => |
|
@ -301,24 +241,20 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigurePriceList(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePriceList(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PriceList>(b => |
|
|
builder.Entity<PriceList>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PriceList", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PriceList", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
|
b.Property(x => x.MaterialCode).HasMaxLength(50); |
|
|
b.Property(x => x.MaterialCode).HasMaxLength(50); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(50); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(50); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigurePriceListVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePriceListVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PriceListVersion>(b => |
|
|
builder.Entity<PriceListVersion>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PriceListVersion", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PriceListVersion", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -326,7 +262,6 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.Period).HasMaxLength(50); |
|
|
b.Property(x => x.Period).HasMaxLength(50); |
|
|
b.Property(x => x.Version).HasMaxLength(50); |
|
|
b.Property(x => x.Version).HasMaxLength(50); |
|
|
b.Property(x => x.Factory).HasMaxLength(50); |
|
|
b.Property(x => x.Factory).HasMaxLength(50); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -342,7 +277,6 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 客户替换件关系
|
|
|
/// 客户替换件关系
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
@ -354,22 +288,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion 基础数据
|
|
|
|
|
|
|
|
|
#region 北汽
|
|
|
#region 北汽
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 一汽轿车平台验收结算明细-导入
|
|
|
/// 一汽轿车平台验收结算明细-导入
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
@ -377,10 +300,8 @@ namespace Win.Sfs.SettleAccount |
|
|
/// <param name="options"></param>
|
|
|
/// <param name="options"></param>
|
|
|
//private static void ConfigureHQCar(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//private static void ConfigureHQCar(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//{
|
|
|
//{
|
|
|
|
|
|
|
|
|
// builder.Entity<HQ_Car_Platform>(b =>
|
|
|
// builder.Entity<HQ_Car_Platform>(b =>
|
|
|
// {
|
|
|
// {
|
|
|
|
|
|
|
|
|
// b.ToTable($"{options.TablePrefix}_HQ_Car_Platform", options.Schema);
|
|
|
// b.ToTable($"{options.TablePrefix}_HQ_Car_Platform", options.Schema);
|
|
|
|
|
|
|
|
|
// b.ConfigureByConvention();
|
|
|
// b.ConfigureByConvention();
|
|
@ -404,7 +325,6 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
//private static void ConfigureHQCarVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//private static void ConfigureHQCarVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//{
|
|
|
//{
|
|
|
|
|
|
|
|
|
// builder.Entity<HQ_Car_PlatformVersion>(b =>
|
|
|
// builder.Entity<HQ_Car_PlatformVersion>(b =>
|
|
|
// {
|
|
|
// {
|
|
|
// b.ToTable($"{options.TablePrefix}_HQ_Car_PlatformVersion", options.Schema);
|
|
|
// b.ToTable($"{options.TablePrefix}_HQ_Car_PlatformVersion", options.Schema);
|
|
@ -424,10 +344,8 @@ namespace Win.Sfs.SettleAccount |
|
|
/// <param name="options"></param>
|
|
|
/// <param name="options"></param>
|
|
|
//private static void ConfigureUnHQSettleAccount(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//private static void ConfigureUnHQSettleAccount(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//{
|
|
|
//{
|
|
|
|
|
|
|
|
|
// builder.Entity<UnHQSettleAccount>(b =>
|
|
|
// builder.Entity<UnHQSettleAccount>(b =>
|
|
|
// {
|
|
|
// {
|
|
|
|
|
|
|
|
|
// b.ToTable($"{options.TablePrefix}_UnHQSettleAccount", options.Schema);
|
|
|
// b.ToTable($"{options.TablePrefix}_UnHQSettleAccount", options.Schema);
|
|
|
|
|
|
|
|
|
// b.ConfigureByConvention();
|
|
|
// b.ConfigureByConvention();
|
|
@ -459,7 +377,6 @@ namespace Win.Sfs.SettleAccount |
|
|
/// <param name="options"></param>
|
|
|
/// <param name="options"></param>
|
|
|
//private static void ConfigureUnHQSettleAccountVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//private static void ConfigureUnHQSettleAccountVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//{
|
|
|
//{
|
|
|
|
|
|
|
|
|
// builder.Entity<UnHQSettleAccountVersion>(b =>
|
|
|
// builder.Entity<UnHQSettleAccountVersion>(b =>
|
|
|
// {
|
|
|
// {
|
|
|
// b.ToTable($"{options.TablePrefix}_UnHQSettleAccountVersion", options.Schema);
|
|
|
// b.ToTable($"{options.TablePrefix}_UnHQSettleAccountVersion", options.Schema);
|
|
@ -480,10 +397,8 @@ namespace Win.Sfs.SettleAccount |
|
|
/// <param name="options"></param>
|
|
|
/// <param name="options"></param>
|
|
|
//private static void ConfigureInvoice(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//private static void ConfigureInvoice(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
|
|
|
//{
|
|
|
//{
|
|
|
|
|
|
|
|
|
// builder.Entity<Invoice>(b =>
|
|
|
// builder.Entity<Invoice>(b =>
|
|
|
// {
|
|
|
// {
|
|
|
|
|
|
|
|
|
// b.ToTable($"{options.TablePrefix}_Invoice", options.Schema);
|
|
|
// b.ToTable($"{options.TablePrefix}_Invoice", options.Schema);
|
|
|
|
|
|
|
|
|
// b.ConfigureByConvention();
|
|
|
// b.ConfigureByConvention();
|
|
@ -504,10 +419,8 @@ namespace Win.Sfs.SettleAccount |
|
|
/// <param name="options"></param>
|
|
|
/// <param name="options"></param>
|
|
|
private static void ConfigureInvoiceVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureInvoiceVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<InvoiceVersion>(b => |
|
|
builder.Entity<InvoiceVersion>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_InvoiceVersion", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_InvoiceVersion", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -516,7 +429,6 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.Version).HasMaxLength(50); |
|
|
b.Property(x => x.Version).HasMaxLength(50); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(50); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(50); |
|
|
// b.Property(x => x.Factory).HasMaxLength(50);
|
|
|
// b.Property(x => x.Factory).HasMaxLength(50);
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -557,7 +469,6 @@ namespace Win.Sfs.SettleAccount |
|
|
/// <param name="options"></param>
|
|
|
/// <param name="options"></param>
|
|
|
private static void ConfigureSettleAccountVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureSettleAccountVersion(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<SettleAccountVersion>(b => |
|
|
builder.Entity<SettleAccountVersion>(b => |
|
|
{ |
|
|
{ |
|
|
b.ToTable($"{options.TablePrefix}_Settle_Version", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_Settle_Version", options.Schema); |
|
@ -568,15 +479,12 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.Property(x => x.CustomerCode).HasMaxLength(CommonConsts.MaxCodeLength); |
|
|
b.HasIndex(x => new { x.Version }).IsUnique().HasFilter(IsDeletedFilter); |
|
|
b.HasIndex(x => new { x.Version }).IsUnique().HasFilter(IsDeletedFilter); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_CAN_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_CAN_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_CAN_SA>(b => |
|
|
builder.Entity<BBAC_CAN_SA>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_CAN_SA", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_CAN_SA", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -586,15 +494,12 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.InvGroupNum).HasMaxLength(50); |
|
|
b.Property(x => x.InvGroupNum).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_CAN_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_CAN_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_CAN_SA_DETAIL>(b => |
|
|
builder.Entity<BBAC_CAN_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_CAN_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_CAN_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -611,12 +516,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_PD_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_PD_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_PD_DETAIL>(b => |
|
|
builder.Entity<BBAC_PD_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_PD_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_PD_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -633,13 +537,10 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_NOT_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_NOT_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_NOT_SA_DETAIL>(b => |
|
|
builder.Entity<BBAC_NOT_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_NOT_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_NOT_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -655,12 +556,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_SA>(b => |
|
|
builder.Entity<BBAC_SA>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SA", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SA", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -670,12 +570,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_SA_DETAIL>(b => |
|
|
builder.Entity<BBAC_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -690,12 +589,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_SE_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_SE_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_SE_DETAIL>(b => |
|
|
builder.Entity<BBAC_SE_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -712,10 +610,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_SE_EDI(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_SE_EDI(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_SE_EDI>(b => |
|
|
builder.Entity<BBAC_SE_EDI>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_EDI", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_EDI", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -730,16 +626,13 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.Extend2).HasMaxLength(50); |
|
|
b.Property(x => x.Extend2).HasMaxLength(50); |
|
|
b.Property(x => x.Extend3).HasMaxLength(50); |
|
|
b.Property(x => x.Extend3).HasMaxLength(50); |
|
|
b.Property(x => x.Extend4).HasMaxLength(50); |
|
|
b.Property(x => x.Extend4).HasMaxLength(50); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_SE_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_SE_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_SE_REPORT>(b => |
|
|
builder.Entity<BBAC_SE_REPORT>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_REPORT", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_REPORT", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -753,12 +646,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureBBAC_SE_SA_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureBBAC_SE_SA_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<BBAC_SE_SA_REPORT>(b => |
|
|
builder.Entity<BBAC_SE_SA_REPORT>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_SA_REPORT", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_BBAC_SE_SA_REPORT", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -777,12 +669,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_CAN_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_CAN_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_CAN_SA>(b => |
|
|
builder.Entity<HBPO_CAN_SA>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_CAN_SA", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_CAN_SA", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -796,10 +687,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_CAN_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_CAN_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_CAN_SA_DETAIL>(b => |
|
|
builder.Entity<HBPO_CAN_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_CAN_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_CAN_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -817,10 +706,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_NOT_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_NOT_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_NOT_SA_DETAIL>(b => |
|
|
builder.Entity<HBPO_NOT_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_NOT_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_NOT_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -834,12 +721,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_PD_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_PD_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_PD_DETAIL>(b => |
|
|
builder.Entity<HBPO_PD_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_PD_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_PD_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -855,12 +741,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_SA>(b => |
|
|
builder.Entity<HBPO_SA>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SA", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SA", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -874,10 +759,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_SA_DETAIL>(b => |
|
|
builder.Entity<HBPO_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -891,12 +774,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_SE_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_SE_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_SE_DETAIL>(b => |
|
|
builder.Entity<HBPO_SE_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -910,12 +792,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_SE_EDI(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_SE_EDI(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_SE_EDI>(b => |
|
|
builder.Entity<HBPO_SE_EDI>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_EDI", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_EDI", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -930,17 +811,13 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.Extend2).HasMaxLength(50); |
|
|
b.Property(x => x.Extend2).HasMaxLength(50); |
|
|
b.Property(x => x.Extend3).HasMaxLength(50); |
|
|
b.Property(x => x.Extend3).HasMaxLength(50); |
|
|
b.Property(x => x.Extend4).HasMaxLength(50); |
|
|
b.Property(x => x.Extend4).HasMaxLength(50); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_SE_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_SE_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_SE_REPORT>(b => |
|
|
builder.Entity<HBPO_SE_REPORT>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_REPORT", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_REPORT", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -955,13 +832,10 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureHBPO_SE_SA_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureHBPO_SE_SA_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<HBPO_SE_SA_REPORT>(b => |
|
|
builder.Entity<HBPO_SE_SA_REPORT>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_SA_REPORT", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_HBPO_SE_SA_REPORT", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -981,13 +855,10 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureINVOICE_GRP(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureINVOICE_GRP(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<INVOICE_GRP>(b => |
|
|
builder.Entity<INVOICE_GRP>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_GRP", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_GRP", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -999,12 +870,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureINVOICE_MAP_GROUP(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureINVOICE_MAP_GROUP(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<INVOICE_MAP_GROUP>(b => |
|
|
builder.Entity<INVOICE_MAP_GROUP>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_MAP_GROUP", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_MAP_GROUP", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1016,12 +886,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigureINVOICE_NOT_SETTLE(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureINVOICE_NOT_SETTLE(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<INVOICE_NOT_SETTLE>(b => |
|
|
builder.Entity<INVOICE_NOT_SETTLE>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_NOT_SETTLE", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_NOT_SETTLE", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1037,10 +906,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigureINVOICE_WAIT_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureINVOICE_WAIT_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<INVOICE_WAIT_DETAIL>(b => |
|
|
builder.Entity<INVOICE_WAIT_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_WAIT_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_INVOICE_WAIT_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1058,10 +925,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigureJIT_SE_SA_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigureJIT_SE_SA_REPORT(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<JIT_SE_SA_REPORT>(b => |
|
|
builder.Entity<JIT_SE_SA_REPORT>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_JIT_SE_SA_REPORT", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_JIT_SE_SA_REPORT", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1083,10 +948,8 @@ namespace Win.Sfs.SettleAccount |
|
|
|
|
|
|
|
|
private static void ConfigurePUB_CAN_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_CAN_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_CAN_SA>(b => |
|
|
builder.Entity<PUB_CAN_SA>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_CAN_SA", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_CAN_SA", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1098,13 +961,10 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigurePUB_CAN_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_CAN_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_CAN_SA_DETAIL>(b => |
|
|
builder.Entity<PUB_CAN_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_CAN_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_CAN_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1121,13 +981,10 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigurePUB_NOT_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_NOT_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_NOT_SA_DETAIL>(b => |
|
|
builder.Entity<PUB_NOT_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_NOT_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_NOT_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1145,12 +1002,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigurePUB_PD_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_PD_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_PD_DETAIL>(b => |
|
|
builder.Entity<PUB_PD_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_PD_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_PD_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1167,12 +1023,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigurePUB_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_SA(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_SA>(b => |
|
|
builder.Entity<PUB_SA>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_SA", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_SA", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1181,12 +1036,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigurePUB_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_SA_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_SA_DETAIL>(b => |
|
|
builder.Entity<PUB_SA_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_SA_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_SA_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1202,12 +1056,11 @@ namespace Win.Sfs.SettleAccount |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void ConfigurePUB_SE_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
private static void ConfigurePUB_SE_DETAIL(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
builder.Entity<PUB_SE_DETAIL>(b => |
|
|
builder.Entity<PUB_SE_DETAIL>(b => |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_PUB_SE_DETAIL", options.Schema); |
|
|
b.ToTable($"{options.TablePrefix}_PUB_SE_DETAIL", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
b.ConfigureByConvention(); |
|
@ -1223,85 +1076,52 @@ namespace Win.Sfs.SettleAccount |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static void ConfigureVmi(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options) |
|
|
|
|
|
{ |
|
|
|
|
|
builder.Entity<JobItem>().HasData(new JobItem { Name = "库存快照", Cron = "0 0 8 26 *", Service = "Win.Sfs.SettleAccount.Entities.BQ.VmiService" }); |
|
|
|
|
|
builder.Entity<JobItem>(b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_JobItem", options.Schema); |
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
b.Property(o => o.Name).HasMaxLength(50).IsRequired(); |
|
|
|
|
|
b.HasIndex(o => o.Name).IsUnique(); |
|
|
|
|
|
b.Property(o => o.Service).HasMaxLength(100).IsRequired(); |
|
|
|
|
|
b.Property(o => o.Cron).HasMaxLength(50).IsRequired(); |
|
|
|
|
|
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50); |
|
|
|
|
|
}); |
|
|
|
|
|
builder.Entity<JobLog>().HasOne(o => o.Job).WithMany(o => o.Logs).HasForeignKey(o => o.JobId).OnDelete(DeleteBehavior.SetNull); |
|
|
|
|
|
|
|
|
|
|
|
builder.Entity<VmiCategory>(b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_VmiCategory", options.Schema); |
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
b.Property(o => o.Number).HasMaxLength(50).IsRequired(); |
|
|
|
|
|
b.HasIndex(o => o.Number).IsUnique(); |
|
|
|
|
|
b.Property(o => o.Name).HasMaxLength(50).IsRequired(); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
builder.Entity<VmiBalance>(b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_VmiBalance", options.Schema); |
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
b.HasAlternateKey(o => new { o.PN, o.LU }); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
builder.Entity<VmiLog>(b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_VmiLog", options.Schema); |
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
}); |
|
|
|
|
|
builder.Entity<VmiLog>().HasOne(o => o.Category).WithMany(o => o.Logs).HasForeignKey(o => o.CategoryId).OnDelete(DeleteBehavior.Cascade); |
|
|
|
|
|
builder.Entity<VmiLog>().HasOne(o => o.Balance).WithMany(o => o.Logs).HasForeignKey(o => o.BalanceId).OnDelete(DeleteBehavior.Cascade); |
|
|
|
|
|
|
|
|
|
|
|
builder.Entity<VmiSnapshot>(b => |
|
|
|
|
|
{ |
|
|
|
|
|
b.ToTable($"{options.TablePrefix}_VmiSnapshot", options.Schema); |
|
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endregion 北汽
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|