diff --git a/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Application.Contracts/EntityDtoBase.cs b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Application.Contracts/EntityDtoBase.cs index 2f99370f4..84ca68f58 100644 --- a/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Application.Contracts/EntityDtoBase.cs +++ b/be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.Application.Contracts/EntityDtoBase.cs @@ -11,8 +11,7 @@ public class EntityDtoBase : IEntityDto, ICanTrace, IHasErrorMessage [DataMember] public Guid Id { get; set; } - [DataMember] - public DateTime CreationTime { get; set; } + [DataMember] public DateTime CreationTime { get; set; } [DataMember] public Guid? CreatorId { get; set; } diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/InternalGateway.Host.csproj b/be/Gateways/InternalGateway/InternalGateway.Host/InternalGateway.Host.csproj deleted file mode 100644 index 071372019..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/InternalGateway.Host.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - net6.0 - InternalGateway - latest - - - - - - - - - - - - - - - - - - diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/InternalGatewayHostModule.cs b/be/Gateways/InternalGateway/InternalGateway.Host/InternalGatewayHostModule.cs deleted file mode 100644 index 0d25fd782..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/InternalGatewayHostModule.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Ocelot.DependencyInjection; -using Ocelot.Middleware; -using Volo.Abp; -using Volo.Abp.AspNetCore.Serilog; -using Volo.Abp.Autofac; -using Volo.Abp.EntityFrameworkCore.SqlServer; -using Volo.Abp.Identity; -using Volo.Abp.Modularity; -using Volo.Abp.Security.Claims; -using Win_in.Sfs.Shared.Host; - -namespace InternalGateway; - -[DependsOn( - typeof(AbpAutofacModule), - typeof(AbpIdentityHttpApiModule), - typeof(AbpEntityFrameworkCoreSqlServerModule), - typeof(AbpAspNetCoreSerilogModule) -)] -public class InternalGatewayHostModule : AbpModule -{ - public override void ConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); - _ = context.Services.GetHostingEnvironment(); - - context.SetConsoleTitleOfWebApp("Internal.Gateway"); - - ConfigureAuthentication(context, configuration); - //ConfigureSql(); - //ConfigureRedis(context, configuration, hostingEnvironment); - // ConfigureSwaggerServices(context); - context.Services.AddOcelot(context.Services.GetConfiguration()); - } - - public override void OnApplicationInitialization(ApplicationInitializationContext context) - { - var app = context.GetApplicationBuilder(); - - app.UseCorrelationId(); - app.UseRouting(); - app.UseAuthentication(); - //app.UseMultiTenancy(); - //app.UseAuthorization(); - - app.Use(async (ctx, next) => - { - var currentPrincipalAccessor = ctx.RequestServices.GetRequiredService(); - var map = new Dictionary() - { - { "sub", AbpClaimTypes.UserId }, - { "role", AbpClaimTypes.Role }, - { "email", AbpClaimTypes.Email }, - { "name", AbpClaimTypes.UserName }, - { "tenantid", AbpClaimTypes.TenantId } - }; - var mapClaims = currentPrincipalAccessor.Principal.Claims.Where(p => map.ContainsKey(p.Type)).ToList(); - currentPrincipalAccessor.Principal.AddIdentity(new ClaimsIdentity(mapClaims.Select(p => new Claim(map[p.Type], p.Value, p.ValueType, p.Issuer)))); - - await next().ConfigureAwait(false); - }); - - // app.UseSwagger(); - // app.UseSwaggerUI(options => - // { - // options.SwaggerEndpoint("/swagger/v1/swagger.json", "Business Service API"); - // }); - // - // app.MapWhen( - // ctx => ctx.Request.Path.ToString().StartsWith("/api/abp/") || - // ctx.Request.Path.ToString().StartsWith("/Abp/"), - // app2 => - // { - // app2.UseRouting(); - // app2.UseConfiguredEndpoints(); - // } - // ); - - app.UseOcelot().Wait(); - app.UseAbpSerilogEnrichers(); - } - - private static void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration) - { - context.Services.AddAuthentication("Bearer") - .AddIdentityServerAuthentication(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.ApiName = "InternalGateway"; - }); - } -} diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/Program.cs b/be/Gateways/InternalGateway/InternalGateway.Host/Program.cs deleted file mode 100644 index 98c98d83a..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Win_in.Sfs.Shared.Host; - -namespace InternalGateway; - -public class Program -{ - public static int Main(string[] args) - { - return WebApplication.CreateBuilder(args).BuildAndRun(); - } -} diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/Properties/launchSettings.json b/be/Gateways/InternalGateway/InternalGateway.Host/Properties/launchSettings.json deleted file mode 100644 index 36ef31c5e..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/Properties/launchSettings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "profiles": { - "InternalGateway.Host": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://localhost:10020" - } - } -} \ No newline at end of file diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/appsettings.Development.json b/be/Gateways/InternalGateway/InternalGateway.Host/appsettings.Development.json deleted file mode 100644 index 8983e0fc1..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/appsettings.Development.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - } -} diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/appsettings.json b/be/Gateways/InternalGateway/InternalGateway.Host/appsettings.json deleted file mode 100644 index fa4de45e2..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/appsettings.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "App": { - "CorsOrigins": [ - "http://localhost:10000/" - ] - }, - "ConnectionStrings": { - "Default": "Server=localhost;Database=ABP;Trusted_Connection=True;" - }, - "Redis": { - "Configuration": "dev.ccwin-in.com:16379" - }, - "AuthServer": { - "Authority": "http://localhost:9096", - "ApiName": "InternalGateway" - }, - "AllowedHosts": "*" -} diff --git a/be/Gateways/InternalGateway/InternalGateway.Host/ocelotsettings.json b/be/Gateways/InternalGateway/InternalGateway.Host/ocelotsettings.json deleted file mode 100644 index b023ea44f..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.Host/ocelotsettings.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "ReRoutes": [ - { - "DownstreamPathTemplate": "/api/identity/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.cd-top.com", - "Port": 9096 - } - ], - "UpstreamPathTemplate": "/api/identity/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/basedata/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.cd-top.com", - "Port": 9097 - } - ], - "UpstreamPathTemplate": "/api/basedata/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/wms/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.cd-top.com", - "Port": 9097 - } - ], - "UpstreamPathTemplate": "/api/wms/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - } - - ] -} diff --git a/be/Gateways/InternalGateway/InternalGateway.sln b/be/Gateways/InternalGateway/InternalGateway.sln deleted file mode 100644 index 76d4c2543..000000000 --- a/be/Gateways/InternalGateway/InternalGateway.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30002.166 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InternalGateway.Host", "InternalGateway.Host\InternalGateway.Host.csproj", "{C48F9300-FF79-4E66-9783-7E622FD0945A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C48F9300-FF79-4E66-9783-7E622FD0945A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C48F9300-FF79-4E66-9783-7E622FD0945A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C48F9300-FF79-4E66-9783-7E622FD0945A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C48F9300-FF79-4E66-9783-7E622FD0945A}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {343C6B22-83EC-4A39-A731-1DD795BE7EF8} - EndGlobalSection -EndGlobal diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/Dockerfile b/be/Gateways/WebAppGateway/WebAppGateway.Host/Dockerfile deleted file mode 100644 index 187317531..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build -WORKDIR /app - -WORKDIR /src -COPY . . -RUN dotnet restore -RUN dotnet publish -c Release -o publish - -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 -WORKDIR /app -COPY --from=build /src/publish ./ -ENTRYPOINT ["dotnet", "WebAppGateway.Host.dll"] diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/Program.cs b/be/Gateways/WebAppGateway/WebAppGateway.Host/Program.cs deleted file mode 100644 index 3a2d62c37..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Win_in.Sfs.Shared.Host; - -namespace WebAppGateway; - -public class Program -{ - public static int Main(string[] args) - { - return WebApplication.CreateBuilder(args).BuildAndRun(); - } -} diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/Properties/launchSettings.json b/be/Gateways/WebAppGateway/WebAppGateway.Host/Properties/launchSettings.json deleted file mode 100644 index 7b972c057..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/Properties/launchSettings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "profiles": { - "WebAppGateway.Host": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://localhost:59099" - } - } -} \ No newline at end of file diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/WebAppGateway.Host.csproj b/be/Gateways/WebAppGateway/WebAppGateway.Host/WebAppGateway.Host.csproj deleted file mode 100644 index 6414fba13..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/WebAppGateway.Host.csproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - net6.0 - WebAppGateway - latest - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/WebAppGatewayHostModule.cs b/be/Gateways/WebAppGateway/WebAppGateway.Host/WebAppGatewayHostModule.cs deleted file mode 100644 index 8e14d99af..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/WebAppGatewayHostModule.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using System.Linq; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Cors; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Ocelot.DependencyInjection; -using Ocelot.Middleware; -using Volo.Abp; -using Volo.Abp.AspNetCore.Serilog; -using Volo.Abp.Autofac; -using Volo.Abp.Localization; -using Volo.Abp.Modularity; -using Win_in.Sfs.Shared.Host; - -namespace WebAppGateway; - -[DependsOn( -typeof(AbpAutofacModule), -typeof(AbpAspNetCoreSerilogModule) -)] -public class WebAppGatewayHostModule : AbpModule -{ - - public override void ConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); - _ = context.Services.GetHostingEnvironment(); - context.SetConsoleTitleOfWebApp("Web.Gateway"); - - ConfigureAuthentication(context, configuration); - ConfigureCors(context, configuration); - //ConfigureSwaggerServices(context); - ConfigureLocalization(); - context.Services.AddOcelot(context.Services.GetConfiguration()); - } - - public override void OnApplicationInitialization(ApplicationInitializationContext context) - { - var app = context.GetApplicationBuilder(); - - app.UseCorrelationId(); - app.UseRouting(); - app.UseCors(); - app.UseAuthentication(); - app.UseAbpClaimsMap(); - app.UseAuthorization(); - - //app.UseSwagger(); - //app.UseSwaggerUI(options => - //{ - // options.SwaggerEndpoint("/swagger/v1/swagger.json", "Business Service API"); - //}); - - app.UseOcelot().Wait(); - app.UseAbpSerilogEnrichers(); - } - - private static void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration) - { - context.Services.AddAuthentication("Bearer") - .AddIdentityServerAuthentication(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.ApiName = "WebAppGateway"; - }); - } - - /* - private static void ConfigureSwaggerServices(ServiceConfigurationContext context) - { - context.Services.AddSwaggerGen( - options => - { - options.SwaggerDoc("v1", new OpenApiInfo { Title = "WebAppGateway Service API", Version = "v1" }); - options.DocInclusionPredicate((docName, description) => true); - }); - } - */ - - private void ConfigureLocalization() - { - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文")); - }); - } - - private static void ConfigureCors(ServiceConfigurationContext context, IConfiguration configuration) - { - var origins = configuration.GetSection("App:CorsOrigins").Get(); - - context.Services.AddCors(options => - { - options.AddDefaultPolicy(builder => - { - builder - .WithOrigins( - origins.Select(o => o.RemovePostFix("/")) - .ToArray() - ) - .WithAbpExposedHeaders() - .SetIsOriginAllowedToAllowWildcardSubdomains() - .AllowAnyHeader() - .AllowAnyMethod() - .AllowCredentials(); - }); - }); - } -} diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.Development.json b/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.Development.json deleted file mode 100644 index 8a2761cee..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.Development.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "Urls": "http://localhost:59099" -} diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.Production.json b/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.Production.json deleted file mode 100644 index 23117d67c..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.Production.json +++ /dev/null @@ -1,4 +0,0 @@ -//{应用地址} -----应 用 地 址 -{ - "Urls": "http://{应用地址}:59099" -} diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.json b/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.json deleted file mode 100644 index 28e10cdd7..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/appsettings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - - -} diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/ocelotsettings.json b/be/Gateways/WebAppGateway/WebAppGateway.Host/ocelotsettings.json deleted file mode 100644 index 913d67805..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/ocelotsettings.json +++ /dev/null @@ -1,137 +0,0 @@ -//dev.ccwin-in.com -----应 用 地 址 -{ - "Routes": [ - { - "DownstreamPathTemplate": "/api/abp/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59093 - } - ], - "UpstreamPathTemplate": "/api/abp/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/identity/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59093 - } - ], - "UpstreamPathTemplate": "/api/identity/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/base/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59093 - } - ], - "UpstreamPathTemplate": "/api/base/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/multi-tenancy/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59093 - } - ], - "UpstreamPathTemplate": "/api/multi-tenancy/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/permission-management/permissions", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59093 - } - ], - "UpstreamPathTemplate": "/api/permission-management/permissions", - "UpstreamHttpMethod": [ "Put", "Get" ] - }, - { - "DownstreamPathTemplate": "/api/basedata/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59094 - } - ], - "UpstreamPathTemplate": "/api/basedata/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/wms/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59095 - } - ], - "UpstreamPathTemplate": "/api/wms/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/label/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59092 - } - ], - "UpstreamPathTemplate": "/api/label/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/filestore/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59092 - } - ], - "UpstreamPathTemplate": "/api/filestore/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/reporting/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59092 - } - ], - "UpstreamPathTemplate": "/api/reporting/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - }, - { - "DownstreamPathTemplate": "/api/message/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "dev.ccwin-in.com", - "Port": 59092 - } - ], - "UpstreamPathTemplate": "/api/message/{everything}", - "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] - } - ] -} diff --git a/be/Gateways/WebAppGateway/WebAppGateway.sln b/be/Gateways/WebAppGateway/WebAppGateway.sln deleted file mode 100644 index ab0c81899..000000000 --- a/be/Gateways/WebAppGateway/WebAppGateway.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30002.166 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAppGateway.Host", "WebAppGateway.Host\WebAppGateway.Host.csproj", "{C27EC872-685A-43E2-8E8E-1C4B05B0B004}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C27EC872-685A-43E2-8E8E-1C4B05B0B004}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C27EC872-685A-43E2-8E8E-1C4B05B0B004}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C27EC872-685A-43E2-8E8E-1C4B05B0B004}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C27EC872-685A-43E2-8E8E-1C4B05B0B004}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {993A20BD-5184-407D-8874-270FC037FC57} - EndGlobalSection -EndGlobal diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/TokenService.cs b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/TokenService.cs index 4666d0a6c..5aa1bec0a 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/TokenService.cs +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/TokenService.cs @@ -53,6 +53,20 @@ public class TokenService : ApplicationService result.RefreshToken, result.Scope }); } + + [HttpGet("[action]")] + [AllowAnonymous] + public string Test() + { + return "Test"; + } + + [HttpGet("/token/test")] + [AllowAnonymous] + public string Test1() + { + return "Test"; + } } [Display] diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/UserMenus/UserMenuAppService.cs b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/UserMenus/UserMenuAppService.cs index 4ea1a4223..7f955d101 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/UserMenus/UserMenuAppService.cs +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/UserMenus/UserMenuAppService.cs @@ -2,17 +2,22 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; +using DocumentFormat.OpenXml.Office2010.Excel; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; +using Volo.Abp.Application.Dtos; using Volo.Abp.Identity; +using Volo.Abp.ObjectMapping; using Volo.Abp.PermissionManagement; +using Volo.Abp.Uow; +using Volo.Abp.Users; using Win_in.Sfs.Auth.Application.Contracts; using Win_in.Sfs.Auth.Domain; using Win_in.Sfs.Shared.Domain.Shared; namespace Win_in.Sfs.Auth.Application; -[Authorize] +[AllowAnonymous] [Route($"{AuthConsts.RootPath}user-menu")] public class UserMenuAppService : SfsAuthCrudAppServiceBase, @@ -25,12 +30,12 @@ public class UserMenuAppService : private readonly IMenuRepository _menuRepository; private readonly IPermissionAppService _permissionAppService; private readonly IIdentityUserAppService _identityUserAppService; - + private readonly IIdentityUserRepository _identityUserRepository; public UserMenuAppService( IUserMenuRepository repository, IMenuRepository menuRepository , IPermissionAppService permissionAppService , IIdentityUserAppService identityUserAppService - ) : base(repository) + , IIdentityUserRepository identityUserRepository) : base(repository) { base.CreatePolicyName = UserMenuPermissions.Create; base.UpdatePolicyName = UserMenuPermissions.Update; @@ -38,6 +43,7 @@ public class UserMenuAppService : _menuRepository = menuRepository; _permissionAppService = permissionAppService; _identityUserAppService = identityUserAppService; + _identityUserRepository = identityUserRepository; } /// @@ -46,6 +52,8 @@ public class UserMenuAppService : /// /// [HttpGet("pda-menu/{userId}")] + [AllowAnonymous] + [UnitOfWork] public virtual async Task> GetPdaMenusOfUserAsync(Guid? userId) { var userMenus = await _repository @@ -64,31 +72,41 @@ public class UserMenuAppService : /// /// [HttpGet("web-menu/{userId}")] + [AllowAnonymous] + [UnitOfWork] public virtual async Task> GetWebMenusOfUserAsync(Guid? userId) { - var permissions = await GetPermissionsAsync(userId.Value).ConfigureAwait(false); - var menus = await _menuRepository + var menusEntity = await _menuRepository .GetListAsync(p => (permissions.Contains(p.Permission) || p.Permission == "skip") && p.Portal == WEB_PORTAL && p.Status == MenuStatus.Enable).ConfigureAwait(false); - var dtos = ObjectMapper.Map, List>(menus); - // var userMenus = await _repository - // .GetListAsync(p => p.UserId == userId && p.Portal == WEB_PORTAL); - // var menuCodes = userMenus.Select(p => p.MenuCode).Distinct().ToList(); - // var menus = await GetListByPortalAndCodesAsync(WEB_PORTAL, menuCodes); + var menus = ObjectMapper.Map, List>(menusEntity); + + //var userMenus = await _repository + // .GetListAsync(p => p.UserId == userId); + + //userMenus = userMenus.Where(p => (int)p.Portal == (int)EnumPortal.Web).ToList(); - var result = BuildMenuTree(dtos); + //var menuCodes = userMenus.Select(p => p.MenuCode).Distinct().ToList(); + //var menus = await GetListByPortalAndCodesAsync(WEB_PORTAL, menuCodes); + var result = BuildMenuTree(menus); return result; } + [AllowAnonymous] + [UnitOfWork] + [NonAction] private async Task> GetPermissionsAsync(Guid userId) { - var roles = await _identityUserAppService.GetRolesAsync(userId).ConfigureAwait(false); + //var roles = await _identityUserAppService.GetRolesAsync(userId).ConfigureAwait(false); + var roles = await _identityUserRepository.GetRolesAsync(userId); + var rolesDto=ObjectMapper.Map, List>(roles); + var permissionNames = new List(); - foreach (var role in roles.Items) + foreach (var role in rolesDto) { var result = await _permissionAppService.GetAsync("R", role.Name).ConfigureAwait(false); permissionNames.AddRange(from permissionGroup in result.Groups @@ -135,9 +153,9 @@ public class UserMenuAppService : private async Task> GetListByPortalAndCodesAsync(EnumPortal portal, List menuCodes) { var entities = await _menuRepository - .GetListAsync(p => menuCodes.Contains(p.Code) - && p.Portal == portal - && p.Status == MenuStatus.Enable).ConfigureAwait(false); + .GetListAsync(p => menuCodes.Contains(p.Code)); + + entities = entities.Where(p => p.Status == MenuStatus.Enable && p.Portal == EnumPortal.Web).ToList(); return ObjectMapper.Map, List>(entities); } diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/Users/SfsUserAppService.cs b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/Users/SfsUserAppService.cs index a8d77d7b8..f70a89f2c 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/Users/SfsUserAppService.cs +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Application/Users/SfsUserAppService.cs @@ -3,6 +3,7 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Volo.Abp; +using Volo.Abp.Account; using Volo.Abp.Application.Services; using Volo.Abp.Identity; using Win_in.Sfs.Auth.Domain; @@ -15,13 +16,15 @@ namespace Win_in.Sfs.Auth.Users; public class SfsUserAppService : ApplicationService, ISfsUserAppService { private readonly IIdentityUserRepository _userRepository; + private readonly IProfileAppService _profileAppService; protected readonly IdentityUserManager _userManager; public SfsUserAppService( IIdentityUserRepository userRepository, - IdentityUserManager userManager - ) + IdentityUserManager userManager, + IProfileAppService profileAppService) { _userManager = userManager; + _profileAppService = profileAppService; _userRepository = userRepository; } @@ -77,4 +80,18 @@ public class SfsUserAppService : ApplicationService, ISfsUserAppService return userresult; } + + /// + /// 修改密码 + /// + /// + /// + /// + [HttpPost("change-password/{userId}")] + public virtual async Task ChangePasswordAsync(Guid userId,ChangePasswordInput input) + { + var user=await _userManager.GetByIdAsync(userId); + var ttt = user.PasswordHash; + var t=await _userManager.ResetPasswordAsync(user, input.CurrentPassword, input.NewPassword); + } } diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.EntityFrameworkCore/Menus/MenuDbContextModelCreatingExtensions.cs b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.EntityFrameworkCore/Menus/MenuDbContextModelCreatingExtensions.cs index 856af8e65..a05a3ab18 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.EntityFrameworkCore/Menus/MenuDbContextModelCreatingExtensions.cs +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.EntityFrameworkCore/Menus/MenuDbContextModelCreatingExtensions.cs @@ -27,7 +27,7 @@ public static class MenuDbContextModelCreatingExtensions b.Property(q => q.Portal).HasMaxLength(SfsPropertyConst.NameLength).HasConversion(); b.Property(q => q.ParentCode).HasMaxLength(SfsPropertyConst.CodeLength); b.Property(q => q.Permission).HasMaxLength(SfsPropertyConst.CodeLength); - b.Property(q => q.Component).HasMaxLength(SfsPropertyConst.CodeLength); + b.Property(q => q.Component).HasMaxLength(SfsPropertyConst.DescLength); b.Property(q => q.Sort); b.Property(q => q.GroupSort); b.Property(q => q.CountUrl); diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/AuthWebModule.cs b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/AuthWebModule.cs index 51ff65bba..b96f281b9 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/AuthWebModule.cs +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/AuthWebModule.cs @@ -1,10 +1,13 @@ using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; using Volo.Abp; using Volo.Abp.Account.Web; using Volo.Abp.AspNetCore.Authentication.JwtBearer; using Volo.Abp.AspNetCore.Mvc.Localization; using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic; +using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared; using Volo.Abp.AspNetCore.Serilog; using Volo.Abp.Autofac; using Volo.Abp.Identity.Web; @@ -61,6 +64,7 @@ public class AuthWebModule : ModuleBase base.ConfigureBundles(); } + public override void OnApplicationInitialization(ApplicationInitializationContext context) { CreateDatabase(context); diff --git a/be/Gateways/WebAppGateway/WebAppGateway.Host/Properties/PublishProfiles/FolderProfile.pubxml b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile1.pubxml similarity index 80% rename from be/Gateways/WebAppGateway/WebAppGateway.Host/Properties/PublishProfiles/FolderProfile.pubxml rename to be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile1.pubxml index d0eb7fea7..36847ea03 100644 --- a/be/Gateways/WebAppGateway/WebAppGateway.Host/Properties/PublishProfiles/FolderProfile.pubxml +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile1.pubxml @@ -4,13 +4,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121. --> - true + false false true Release Any CPU FileSystem - bin\Release\netcoreapp5\publish\ + bin\Release\net6.0\publish\ FileSystem <_TargetId>Folder diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/launchSettings.json b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/launchSettings.json index 9b7d3ab0b..ff56baeb7 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/launchSettings.json +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/launchSettings.json @@ -9,4 +9,4 @@ "applicationUrl": "http://localhost:59093/" } } -} \ No newline at end of file +} diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Win_in.Sfs.Auth.Web.csproj b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Win_in.Sfs.Auth.Web.csproj index b27afb69a..3c37da438 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Win_in.Sfs.Auth.Web.csproj +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Win_in.Sfs.Auth.Web.csproj @@ -14,8 +14,9 @@ true Win_in.Sfs.Auth-4681b4fd-151f-4221-84a4-929d86723e4c 1.yyyy.Mdd.Hmm - 1.2023.324.1018 + 1.2023.327.1207 True + @@ -56,11 +57,11 @@ - + - + diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/appsettings.json b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/appsettings.json index 8456a816a..d2ed45fca 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/appsettings.json +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/appsettings.json @@ -5,9 +5,29 @@ "nodes": "http://config:8848", "env": "prod" }, + "ReverseProxy": { + "Routes": { + "ids4": { + "ClusterId": "ids4cluster", + "Match": { + "Path": "/api/connect/{**catch-all}" + }, + "Transforms": [ { "PathRemovePrefix": "/api" } ] + } + }, + "Clusters": { + "ids4cluster": { + "Destinations": { + "default": { + "Address": "http://localhost:59093/" + } + } + } + } + }, "ConnectionStrings": { - "Default": "Server=dev.ccwin-in.com,13319;Database=WmsAuth;uid=ccwin-in;pwd=Microsoft@2022;Packet Size=512;", - "Auth": "Server=dev.ccwin-in.com,13319;Database=WmsAuth;uid=ccwin-in;pwd=Microsoft@2022;Packet Size=512;" + "Default": "Server=dev.ccwin-in.com,21195;Database=WmsAuth;uid=ccwin-in;pwd=Microsoft@2022;Packet Size=512;", + "Auth": "Server=dev.ccwin-in.com,21195;Database=WmsAuth;uid=ccwin-in;pwd=Microsoft@2022;Packet Size=512;" }, "SwaggerAuthServer": { "Authority": "http://localhost:59093", diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.AuthDbContext.sql b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.AuthDbContext.sql index e53d8df11..feddf2794 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.AuthDbContext.sql +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.AuthDbContext.sql @@ -24,8 +24,7 @@ CREATE TABLE [AbpAuditLogs] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpAuditLogs] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpBackgroundJobs] ( @@ -41,8 +40,7 @@ CREATE TABLE [AbpBackgroundJobs] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpBackgroundJobs] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpClaimTypes] ( @@ -57,8 +55,7 @@ CREATE TABLE [AbpClaimTypes] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpClaimTypes] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpFeatureValues] ( @@ -68,8 +65,7 @@ CREATE TABLE [AbpFeatureValues] ( [ProviderName] nvarchar(64) NULL, [ProviderKey] nvarchar(64) NULL, CONSTRAINT [PK_AbpFeatureValues] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpLinkUsers] ( @@ -79,8 +75,7 @@ CREATE TABLE [AbpLinkUsers] ( [TargetUserId] uniqueidentifier NOT NULL, [TargetTenantId] uniqueidentifier NULL, CONSTRAINT [PK_AbpLinkUsers] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpOrganizationUnits] ( @@ -100,8 +95,7 @@ CREATE TABLE [AbpOrganizationUnits] ( [DeletionTime] datetime2 NULL, CONSTRAINT [PK_AbpOrganizationUnits] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId] FOREIGN KEY ([ParentId]) REFERENCES [AbpOrganizationUnits] ([Id]) -); -GO +) CREATE TABLE [AbpPermissionGrants] ( @@ -111,8 +105,7 @@ CREATE TABLE [AbpPermissionGrants] ( [ProviderName] nvarchar(64) NOT NULL, [ProviderKey] nvarchar(64) NOT NULL, CONSTRAINT [PK_AbpPermissionGrants] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpRoles] ( @@ -127,8 +120,7 @@ CREATE TABLE [AbpRoles] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpRoles] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpSecurityLogs] ( @@ -148,8 +140,7 @@ CREATE TABLE [AbpSecurityLogs] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpSecurityLogs] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpSettings] ( @@ -159,8 +150,7 @@ CREATE TABLE [AbpSettings] ( [ProviderName] nvarchar(64) NULL, [ProviderKey] nvarchar(64) NULL, CONSTRAINT [PK_AbpSettings] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpTenants] ( @@ -176,8 +166,7 @@ CREATE TABLE [AbpTenants] ( [DeleterId] uniqueidentifier NULL, [DeletionTime] datetime2 NULL, CONSTRAINT [PK_AbpTenants] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpUsers] ( @@ -211,8 +200,7 @@ CREATE TABLE [AbpUsers] ( [DeleterId] uniqueidentifier NULL, [DeletionTime] datetime2 NULL, CONSTRAINT [PK_AbpUsers] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Auth_Department] ( @@ -230,8 +218,7 @@ CREATE TABLE [Auth_Department] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Auth_Department] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Auth_Menu] ( @@ -246,7 +233,7 @@ CREATE TABLE [Auth_Menu] ( [Portal] nvarchar(64) NOT NULL, [ParentCode] nvarchar(64) NULL, [Permission] nvarchar(64) NULL, - [Component] nvarchar(64) NULL, + [Component] nvarchar(1024) NULL, [GroupName] nvarchar(1024) NULL, [GroupSort] int NOT NULL, [CountUrl] nvarchar(max) NULL, @@ -259,8 +246,7 @@ CREATE TABLE [Auth_Menu] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Auth_Menu] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Auth_UserMenu] ( @@ -277,8 +263,7 @@ CREATE TABLE [Auth_UserMenu] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Auth_UserMenu] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Auth_UserWorkGroup] ( @@ -294,8 +279,7 @@ CREATE TABLE [Auth_UserWorkGroup] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Auth_UserWorkGroup] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [IdentityServerApiResources] ( @@ -316,8 +300,7 @@ CREATE TABLE [IdentityServerApiResources] ( [DeleterId] uniqueidentifier NULL, [DeletionTime] datetime2 NULL, CONSTRAINT [PK_IdentityServerApiResources] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [IdentityServerApiScopes] ( @@ -339,8 +322,7 @@ CREATE TABLE [IdentityServerApiScopes] ( [DeleterId] uniqueidentifier NULL, [DeletionTime] datetime2 NULL, CONSTRAINT [PK_IdentityServerApiScopes] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [IdentityServerClients] ( @@ -394,8 +376,7 @@ CREATE TABLE [IdentityServerClients] ( [DeleterId] uniqueidentifier NULL, [DeletionTime] datetime2 NULL, CONSTRAINT [PK_IdentityServerClients] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [IdentityServerDeviceFlowCodes] ( @@ -413,8 +394,7 @@ CREATE TABLE [IdentityServerDeviceFlowCodes] ( [CreationTime] datetime2 NOT NULL, [CreatorId] uniqueidentifier NULL, CONSTRAINT [PK_IdentityServerDeviceFlowCodes] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [IdentityServerIdentityResources] ( @@ -436,8 +416,7 @@ CREATE TABLE [IdentityServerIdentityResources] ( [DeleterId] uniqueidentifier NULL, [DeletionTime] datetime2 NULL, CONSTRAINT [PK_IdentityServerIdentityResources] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [IdentityServerPersistedGrants] ( @@ -455,8 +434,7 @@ CREATE TABLE [IdentityServerPersistedGrants] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_IdentityServerPersistedGrants] PRIMARY KEY ([Key]) -); -GO +) CREATE TABLE [AbpAuditLogActions] ( @@ -471,8 +449,7 @@ CREATE TABLE [AbpAuditLogActions] ( [ExtraProperties] nvarchar(max) NULL, CONSTRAINT [PK_AbpAuditLogActions] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpAuditLogActions_AbpAuditLogs_AuditLogId] FOREIGN KEY ([AuditLogId]) REFERENCES [AbpAuditLogs] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpEntityChanges] ( @@ -487,8 +464,7 @@ CREATE TABLE [AbpEntityChanges] ( [ExtraProperties] nvarchar(max) NULL, CONSTRAINT [PK_AbpEntityChanges] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpEntityChanges_AbpAuditLogs_AuditLogId] FOREIGN KEY ([AuditLogId]) REFERENCES [AbpAuditLogs] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpOrganizationUnitRoles] ( @@ -500,8 +476,7 @@ CREATE TABLE [AbpOrganizationUnitRoles] ( CONSTRAINT [PK_AbpOrganizationUnitRoles] PRIMARY KEY ([OrganizationUnitId], [RoleId]), CONSTRAINT [FK_AbpOrganizationUnitRoles_AbpOrganizationUnits_OrganizationUnitId] FOREIGN KEY ([OrganizationUnitId]) REFERENCES [AbpOrganizationUnits] ([Id]) ON DELETE CASCADE, CONSTRAINT [FK_AbpOrganizationUnitRoles_AbpRoles_RoleId] FOREIGN KEY ([RoleId]) REFERENCES [AbpRoles] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpRoleClaims] ( @@ -512,8 +487,7 @@ CREATE TABLE [AbpRoleClaims] ( [ClaimValue] nvarchar(1024) NULL, CONSTRAINT [PK_AbpRoleClaims] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpRoleClaims_AbpRoles_RoleId] FOREIGN KEY ([RoleId]) REFERENCES [AbpRoles] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpTenantConnectionStrings] ( @@ -522,8 +496,7 @@ CREATE TABLE [AbpTenantConnectionStrings] ( [Value] nvarchar(1024) NOT NULL, CONSTRAINT [PK_AbpTenantConnectionStrings] PRIMARY KEY ([TenantId], [Name]), CONSTRAINT [FK_AbpTenantConnectionStrings_AbpTenants_TenantId] FOREIGN KEY ([TenantId]) REFERENCES [AbpTenants] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpUserClaims] ( @@ -534,8 +507,7 @@ CREATE TABLE [AbpUserClaims] ( [ClaimValue] nvarchar(1024) NULL, CONSTRAINT [PK_AbpUserClaims] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpUserClaims_AbpUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AbpUsers] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpUserLogins] ( @@ -546,8 +518,7 @@ CREATE TABLE [AbpUserLogins] ( [ProviderDisplayName] nvarchar(128) NULL, CONSTRAINT [PK_AbpUserLogins] PRIMARY KEY ([UserId], [LoginProvider]), CONSTRAINT [FK_AbpUserLogins_AbpUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AbpUsers] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpUserOrganizationUnits] ( @@ -559,8 +530,7 @@ CREATE TABLE [AbpUserOrganizationUnits] ( CONSTRAINT [PK_AbpUserOrganizationUnits] PRIMARY KEY ([OrganizationUnitId], [UserId]), CONSTRAINT [FK_AbpUserOrganizationUnits_AbpOrganizationUnits_OrganizationUnitId] FOREIGN KEY ([OrganizationUnitId]) REFERENCES [AbpOrganizationUnits] ([Id]) ON DELETE CASCADE, CONSTRAINT [FK_AbpUserOrganizationUnits_AbpUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AbpUsers] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpUserRoles] ( @@ -570,8 +540,7 @@ CREATE TABLE [AbpUserRoles] ( CONSTRAINT [PK_AbpUserRoles] PRIMARY KEY ([UserId], [RoleId]), CONSTRAINT [FK_AbpUserRoles_AbpRoles_RoleId] FOREIGN KEY ([RoleId]) REFERENCES [AbpRoles] ([Id]) ON DELETE CASCADE, CONSTRAINT [FK_AbpUserRoles_AbpUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AbpUsers] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpUserTokens] ( @@ -582,8 +551,7 @@ CREATE TABLE [AbpUserTokens] ( [Value] nvarchar(max) NULL, CONSTRAINT [PK_AbpUserTokens] PRIMARY KEY ([UserId], [LoginProvider], [Name]), CONSTRAINT [FK_AbpUserTokens_AbpUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AbpUsers] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerApiResourceClaims] ( @@ -591,8 +559,7 @@ CREATE TABLE [IdentityServerApiResourceClaims] ( [ApiResourceId] uniqueidentifier NOT NULL, CONSTRAINT [PK_IdentityServerApiResourceClaims] PRIMARY KEY ([ApiResourceId], [Type]), CONSTRAINT [FK_IdentityServerApiResourceClaims_IdentityServerApiResources_ApiResourceId] FOREIGN KEY ([ApiResourceId]) REFERENCES [IdentityServerApiResources] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerApiResourceProperties] ( @@ -601,8 +568,7 @@ CREATE TABLE [IdentityServerApiResourceProperties] ( [Value] nvarchar(2000) NOT NULL, CONSTRAINT [PK_IdentityServerApiResourceProperties] PRIMARY KEY ([ApiResourceId], [Key], [Value]), CONSTRAINT [FK_IdentityServerApiResourceProperties_IdentityServerApiResources_ApiResourceId] FOREIGN KEY ([ApiResourceId]) REFERENCES [IdentityServerApiResources] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerApiResourceScopes] ( @@ -610,8 +576,7 @@ CREATE TABLE [IdentityServerApiResourceScopes] ( [Scope] nvarchar(200) NOT NULL, CONSTRAINT [PK_IdentityServerApiResourceScopes] PRIMARY KEY ([ApiResourceId], [Scope]), CONSTRAINT [FK_IdentityServerApiResourceScopes_IdentityServerApiResources_ApiResourceId] FOREIGN KEY ([ApiResourceId]) REFERENCES [IdentityServerApiResources] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerApiResourceSecrets] ( @@ -622,8 +587,7 @@ CREATE TABLE [IdentityServerApiResourceSecrets] ( [Expiration] datetime2 NULL, CONSTRAINT [PK_IdentityServerApiResourceSecrets] PRIMARY KEY ([ApiResourceId], [Type], [Value]), CONSTRAINT [FK_IdentityServerApiResourceSecrets_IdentityServerApiResources_ApiResourceId] FOREIGN KEY ([ApiResourceId]) REFERENCES [IdentityServerApiResources] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerApiScopeClaims] ( @@ -631,8 +595,7 @@ CREATE TABLE [IdentityServerApiScopeClaims] ( [ApiScopeId] uniqueidentifier NOT NULL, CONSTRAINT [PK_IdentityServerApiScopeClaims] PRIMARY KEY ([ApiScopeId], [Type]), CONSTRAINT [FK_IdentityServerApiScopeClaims_IdentityServerApiScopes_ApiScopeId] FOREIGN KEY ([ApiScopeId]) REFERENCES [IdentityServerApiScopes] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerApiScopeProperties] ( @@ -641,8 +604,7 @@ CREATE TABLE [IdentityServerApiScopeProperties] ( [Value] nvarchar(2000) NOT NULL, CONSTRAINT [PK_IdentityServerApiScopeProperties] PRIMARY KEY ([ApiScopeId], [Key], [Value]), CONSTRAINT [FK_IdentityServerApiScopeProperties_IdentityServerApiScopes_ApiScopeId] FOREIGN KEY ([ApiScopeId]) REFERENCES [IdentityServerApiScopes] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientClaims] ( @@ -651,8 +613,7 @@ CREATE TABLE [IdentityServerClientClaims] ( [Value] nvarchar(250) NOT NULL, CONSTRAINT [PK_IdentityServerClientClaims] PRIMARY KEY ([ClientId], [Type], [Value]), CONSTRAINT [FK_IdentityServerClientClaims_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientCorsOrigins] ( @@ -660,8 +621,7 @@ CREATE TABLE [IdentityServerClientCorsOrigins] ( [Origin] nvarchar(150) NOT NULL, CONSTRAINT [PK_IdentityServerClientCorsOrigins] PRIMARY KEY ([ClientId], [Origin]), CONSTRAINT [FK_IdentityServerClientCorsOrigins_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientGrantTypes] ( @@ -669,8 +629,7 @@ CREATE TABLE [IdentityServerClientGrantTypes] ( [GrantType] nvarchar(250) NOT NULL, CONSTRAINT [PK_IdentityServerClientGrantTypes] PRIMARY KEY ([ClientId], [GrantType]), CONSTRAINT [FK_IdentityServerClientGrantTypes_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientIdPRestrictions] ( @@ -678,8 +637,7 @@ CREATE TABLE [IdentityServerClientIdPRestrictions] ( [Provider] nvarchar(200) NOT NULL, CONSTRAINT [PK_IdentityServerClientIdPRestrictions] PRIMARY KEY ([ClientId], [Provider]), CONSTRAINT [FK_IdentityServerClientIdPRestrictions_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientPostLogoutRedirectUris] ( @@ -687,8 +645,7 @@ CREATE TABLE [IdentityServerClientPostLogoutRedirectUris] ( [PostLogoutRedirectUri] nvarchar(2000) NOT NULL, CONSTRAINT [PK_IdentityServerClientPostLogoutRedirectUris] PRIMARY KEY ([ClientId], [PostLogoutRedirectUri]), CONSTRAINT [FK_IdentityServerClientPostLogoutRedirectUris_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientProperties] ( @@ -697,8 +654,7 @@ CREATE TABLE [IdentityServerClientProperties] ( [Value] nvarchar(2000) NOT NULL, CONSTRAINT [PK_IdentityServerClientProperties] PRIMARY KEY ([ClientId], [Key], [Value]), CONSTRAINT [FK_IdentityServerClientProperties_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientRedirectUris] ( @@ -706,8 +662,7 @@ CREATE TABLE [IdentityServerClientRedirectUris] ( [RedirectUri] nvarchar(2000) NOT NULL, CONSTRAINT [PK_IdentityServerClientRedirectUris] PRIMARY KEY ([ClientId], [RedirectUri]), CONSTRAINT [FK_IdentityServerClientRedirectUris_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientScopes] ( @@ -715,8 +670,7 @@ CREATE TABLE [IdentityServerClientScopes] ( [Scope] nvarchar(200) NOT NULL, CONSTRAINT [PK_IdentityServerClientScopes] PRIMARY KEY ([ClientId], [Scope]), CONSTRAINT [FK_IdentityServerClientScopes_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerClientSecrets] ( @@ -727,8 +681,7 @@ CREATE TABLE [IdentityServerClientSecrets] ( [Expiration] datetime2 NULL, CONSTRAINT [PK_IdentityServerClientSecrets] PRIMARY KEY ([ClientId], [Type], [Value]), CONSTRAINT [FK_IdentityServerClientSecrets_IdentityServerClients_ClientId] FOREIGN KEY ([ClientId]) REFERENCES [IdentityServerClients] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerIdentityResourceClaims] ( @@ -736,8 +689,7 @@ CREATE TABLE [IdentityServerIdentityResourceClaims] ( [IdentityResourceId] uniqueidentifier NOT NULL, CONSTRAINT [PK_IdentityServerIdentityResourceClaims] PRIMARY KEY ([IdentityResourceId], [Type]), CONSTRAINT [FK_IdentityServerIdentityResourceClaims_IdentityServerIdentityResources_IdentityResourceId] FOREIGN KEY ([IdentityResourceId]) REFERENCES [IdentityServerIdentityResources] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [IdentityServerIdentityResourceProperties] ( @@ -746,8 +698,7 @@ CREATE TABLE [IdentityServerIdentityResourceProperties] ( [Value] nvarchar(2000) NOT NULL, CONSTRAINT [PK_IdentityServerIdentityResourceProperties] PRIMARY KEY ([IdentityResourceId], [Key], [Value]), CONSTRAINT [FK_IdentityServerIdentityResourceProperties_IdentityServerIdentityResources_IdentityResourceId] FOREIGN KEY ([IdentityResourceId]) REFERENCES [IdentityServerIdentityResources] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [AbpEntityPropertyChanges] ( @@ -760,171 +711,129 @@ CREATE TABLE [AbpEntityPropertyChanges] ( [PropertyTypeFullName] nvarchar(64) NOT NULL, CONSTRAINT [PK_AbpEntityPropertyChanges] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId] FOREIGN KEY ([EntityChangeId]) REFERENCES [AbpEntityChanges] ([Id]) ON DELETE CASCADE -); -GO +) -CREATE INDEX [IX_AbpAuditLogActions_AuditLogId] ON [AbpAuditLogActions] ([AuditLogId]); -GO +CREATE INDEX [IX_AbpAuditLogActions_AuditLogId] ON [AbpAuditLogActions] ([AuditLogId]) -CREATE INDEX [IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_ExecutionTime] ON [AbpAuditLogActions] ([TenantId], [ServiceName], [MethodName], [ExecutionTime]); -GO +CREATE INDEX [IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_ExecutionTime] ON [AbpAuditLogActions] ([TenantId], [ServiceName], [MethodName], [ExecutionTime]) -CREATE INDEX [IX_AbpAuditLogs_TenantId_ExecutionTime] ON [AbpAuditLogs] ([TenantId], [ExecutionTime]); -GO +CREATE INDEX [IX_AbpAuditLogs_TenantId_ExecutionTime] ON [AbpAuditLogs] ([TenantId], [ExecutionTime]) -CREATE INDEX [IX_AbpAuditLogs_TenantId_UserId_ExecutionTime] ON [AbpAuditLogs] ([TenantId], [UserId], [ExecutionTime]); -GO +CREATE INDEX [IX_AbpAuditLogs_TenantId_UserId_ExecutionTime] ON [AbpAuditLogs] ([TenantId], [UserId], [ExecutionTime]) -CREATE INDEX [IX_AbpBackgroundJobs_IsAbandoned_NextTryTime] ON [AbpBackgroundJobs] ([IsAbandoned], [NextTryTime]); -GO +CREATE INDEX [IX_AbpBackgroundJobs_IsAbandoned_NextTryTime] ON [AbpBackgroundJobs] ([IsAbandoned], [NextTryTime]) -CREATE INDEX [IX_AbpEntityChanges_AuditLogId] ON [AbpEntityChanges] ([AuditLogId]); -GO +CREATE INDEX [IX_AbpEntityChanges_AuditLogId] ON [AbpEntityChanges] ([AuditLogId]) -CREATE INDEX [IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId] ON [AbpEntityChanges] ([TenantId], [EntityTypeFullName], [EntityId]); -GO +CREATE INDEX [IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId] ON [AbpEntityChanges] ([TenantId], [EntityTypeFullName], [EntityId]) -CREATE INDEX [IX_AbpEntityPropertyChanges_EntityChangeId] ON [AbpEntityPropertyChanges] ([EntityChangeId]); -GO +CREATE INDEX [IX_AbpEntityPropertyChanges_EntityChangeId] ON [AbpEntityPropertyChanges] ([EntityChangeId]) -CREATE UNIQUE INDEX [IX_AbpFeatureValues_Name_ProviderName_ProviderKey] ON [AbpFeatureValues] ([Name], [ProviderName], [ProviderKey]) WHERE [ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_AbpFeatureValues_Name_ProviderName_ProviderKey] ON [AbpFeatureValues] ([Name], [ProviderName], [ProviderKey]) WHERE [ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL -CREATE UNIQUE INDEX [IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_TargetTenantId] ON [AbpLinkUsers] ([SourceUserId], [SourceTenantId], [TargetUserId], [TargetTenantId]) WHERE [SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_TargetTenantId] ON [AbpLinkUsers] ([SourceUserId], [SourceTenantId], [TargetUserId], [TargetTenantId]) WHERE [SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL -CREATE INDEX [IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId] ON [AbpOrganizationUnitRoles] ([RoleId], [OrganizationUnitId]); -GO +CREATE INDEX [IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId] ON [AbpOrganizationUnitRoles] ([RoleId], [OrganizationUnitId]) -CREATE INDEX [IX_AbpOrganizationUnits_Code] ON [AbpOrganizationUnits] ([Code]); -GO +CREATE INDEX [IX_AbpOrganizationUnits_Code] ON [AbpOrganizationUnits] ([Code]) -CREATE INDEX [IX_AbpOrganizationUnits_ParentId] ON [AbpOrganizationUnits] ([ParentId]); -GO +CREATE INDEX [IX_AbpOrganizationUnits_ParentId] ON [AbpOrganizationUnits] ([ParentId]) -CREATE UNIQUE INDEX [IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey] ON [AbpPermissionGrants] ([TenantId], [Name], [ProviderName], [ProviderKey]) WHERE [TenantId] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey] ON [AbpPermissionGrants] ([TenantId], [Name], [ProviderName], [ProviderKey]) WHERE [TenantId] IS NOT NULL -CREATE INDEX [IX_AbpRoleClaims_RoleId] ON [AbpRoleClaims] ([RoleId]); -GO +CREATE INDEX [IX_AbpRoleClaims_RoleId] ON [AbpRoleClaims] ([RoleId]) -CREATE INDEX [IX_AbpRoles_NormalizedName] ON [AbpRoles] ([NormalizedName]); -GO +CREATE INDEX [IX_AbpRoles_NormalizedName] ON [AbpRoles] ([NormalizedName]) -CREATE INDEX [IX_AbpSecurityLogs_TenantId_Action] ON [AbpSecurityLogs] ([TenantId], [Action]); -GO +CREATE INDEX [IX_AbpSecurityLogs_TenantId_Action] ON [AbpSecurityLogs] ([TenantId], [Action]) -CREATE INDEX [IX_AbpSecurityLogs_TenantId_ApplicationName] ON [AbpSecurityLogs] ([TenantId], [ApplicationName]); -GO +CREATE INDEX [IX_AbpSecurityLogs_TenantId_ApplicationName] ON [AbpSecurityLogs] ([TenantId], [ApplicationName]) -CREATE INDEX [IX_AbpSecurityLogs_TenantId_Identity] ON [AbpSecurityLogs] ([TenantId], [Identity]); -GO +CREATE INDEX [IX_AbpSecurityLogs_TenantId_Identity] ON [AbpSecurityLogs] ([TenantId], [Identity]) -CREATE INDEX [IX_AbpSecurityLogs_TenantId_UserId] ON [AbpSecurityLogs] ([TenantId], [UserId]); -GO +CREATE INDEX [IX_AbpSecurityLogs_TenantId_UserId] ON [AbpSecurityLogs] ([TenantId], [UserId]) -CREATE UNIQUE INDEX [IX_AbpSettings_Name_ProviderName_ProviderKey] ON [AbpSettings] ([Name], [ProviderName], [ProviderKey]) WHERE [ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_AbpSettings_Name_ProviderName_ProviderKey] ON [AbpSettings] ([Name], [ProviderName], [ProviderKey]) WHERE [ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL -CREATE INDEX [IX_AbpTenants_Name] ON [AbpTenants] ([Name]); -GO +CREATE INDEX [IX_AbpTenants_Name] ON [AbpTenants] ([Name]) -CREATE INDEX [IX_AbpUserClaims_UserId] ON [AbpUserClaims] ([UserId]); -GO +CREATE INDEX [IX_AbpUserClaims_UserId] ON [AbpUserClaims] ([UserId]) -CREATE INDEX [IX_AbpUserLogins_LoginProvider_ProviderKey] ON [AbpUserLogins] ([LoginProvider], [ProviderKey]); -GO +CREATE INDEX [IX_AbpUserLogins_LoginProvider_ProviderKey] ON [AbpUserLogins] ([LoginProvider], [ProviderKey]) -CREATE INDEX [IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId] ON [AbpUserOrganizationUnits] ([UserId], [OrganizationUnitId]); -GO +CREATE INDEX [IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId] ON [AbpUserOrganizationUnits] ([UserId], [OrganizationUnitId]) -CREATE INDEX [IX_AbpUserRoles_RoleId_UserId] ON [AbpUserRoles] ([RoleId], [UserId]); -GO +CREATE INDEX [IX_AbpUserRoles_RoleId_UserId] ON [AbpUserRoles] ([RoleId], [UserId]) -CREATE INDEX [IX_AbpUsers_Email] ON [AbpUsers] ([Email]); -GO +CREATE INDEX [IX_AbpUsers_Email] ON [AbpUsers] ([Email]) -CREATE INDEX [IX_AbpUsers_NormalizedEmail] ON [AbpUsers] ([NormalizedEmail]); -GO +CREATE INDEX [IX_AbpUsers_NormalizedEmail] ON [AbpUsers] ([NormalizedEmail]) -CREATE INDEX [IX_AbpUsers_NormalizedUserName] ON [AbpUsers] ([NormalizedUserName]); -GO +CREATE INDEX [IX_AbpUsers_NormalizedUserName] ON [AbpUsers] ([NormalizedUserName]) -CREATE INDEX [IX_AbpUsers_UserName] ON [AbpUsers] ([UserName]); -GO +CREATE INDEX [IX_AbpUsers_UserName] ON [AbpUsers] ([UserName]) -CREATE UNIQUE INDEX [IX_Auth_Department_Code] ON [Auth_Department] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Auth_Department_Code] ON [Auth_Department] ([Code]) -CREATE UNIQUE INDEX [IX_Auth_Menu_Code] ON [Auth_Menu] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Auth_Menu_Code] ON [Auth_Menu] ([Code]) -CREATE UNIQUE INDEX [IX_Auth_UserMenu_UserId_MenuCode] ON [Auth_UserMenu] ([UserId], [MenuCode]); -GO +CREATE UNIQUE INDEX [IX_Auth_UserMenu_UserId_MenuCode] ON [Auth_UserMenu] ([UserId], [MenuCode]) -CREATE UNIQUE INDEX [IX_Auth_UserWorkGroup_WorkGroupCode_UserId] ON [Auth_UserWorkGroup] ([WorkGroupCode], [UserId]); -GO +CREATE UNIQUE INDEX [IX_Auth_UserWorkGroup_WorkGroupCode_UserId] ON [Auth_UserWorkGroup] ([WorkGroupCode], [UserId]) -CREATE INDEX [IX_IdentityServerClients_ClientId] ON [IdentityServerClients] ([ClientId]); -GO +CREATE INDEX [IX_IdentityServerClients_ClientId] ON [IdentityServerClients] ([ClientId]) -CREATE UNIQUE INDEX [IX_IdentityServerDeviceFlowCodes_DeviceCode] ON [IdentityServerDeviceFlowCodes] ([DeviceCode]); -GO +CREATE UNIQUE INDEX [IX_IdentityServerDeviceFlowCodes_DeviceCode] ON [IdentityServerDeviceFlowCodes] ([DeviceCode]) -CREATE INDEX [IX_IdentityServerDeviceFlowCodes_Expiration] ON [IdentityServerDeviceFlowCodes] ([Expiration]); -GO +CREATE INDEX [IX_IdentityServerDeviceFlowCodes_Expiration] ON [IdentityServerDeviceFlowCodes] ([Expiration]) -CREATE INDEX [IX_IdentityServerDeviceFlowCodes_UserCode] ON [IdentityServerDeviceFlowCodes] ([UserCode]); -GO +CREATE INDEX [IX_IdentityServerDeviceFlowCodes_UserCode] ON [IdentityServerDeviceFlowCodes] ([UserCode]) -CREATE INDEX [IX_IdentityServerPersistedGrants_Expiration] ON [IdentityServerPersistedGrants] ([Expiration]); -GO +CREATE INDEX [IX_IdentityServerPersistedGrants_Expiration] ON [IdentityServerPersistedGrants] ([Expiration]) -CREATE INDEX [IX_IdentityServerPersistedGrants_SubjectId_ClientId_Type] ON [IdentityServerPersistedGrants] ([SubjectId], [ClientId], [Type]); -GO +CREATE INDEX [IX_IdentityServerPersistedGrants_SubjectId_ClientId_Type] ON [IdentityServerPersistedGrants] ([SubjectId], [ClientId], [Type]) -CREATE INDEX [IX_IdentityServerPersistedGrants_SubjectId_SessionId_Type] ON [IdentityServerPersistedGrants] ([SubjectId], [SessionId], [Type]); -GO +CREATE INDEX [IX_IdentityServerPersistedGrants_SubjectId_SessionId_Type] ON [IdentityServerPersistedGrants] ([SubjectId], [SessionId], [Type]) diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.Sqlite.AuthDbContext.sql b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.Sqlite.AuthDbContext.sql index e162f2e3b..ce1a1003c 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.Sqlite.AuthDbContext.sql +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Microsoft.EntityFrameworkCore.Sqlite.AuthDbContext.sql @@ -783,30 +783,4 @@ CREATE UNIQUE INDEX "IX_Auth_Department_Code" ON "Auth_Department" ("Code"); CREATE UNIQUE INDEX "IX_Auth_Menu_Code" ON "Auth_Menu" ("Code"); -CREATE UNIQUE INDEX "IX_Auth_UserMenu_UserId_MenuCode" ON "Auth_UserMenu" ("UserId", "MenuCode"); - - -CREATE UNIQUE INDEX "IX_Auth_UserWorkGroup_WorkGroupCode_UserId" ON "Auth_UserWorkGroup" ("WorkGroupCode", "UserId"); - - -CREATE INDEX "IX_IdentityServerClients_ClientId" ON "IdentityServerClients" ("ClientId"); - - -CREATE UNIQUE INDEX "IX_IdentityServerDeviceFlowCodes_DeviceCode" ON "IdentityServerDeviceFlowCodes" ("DeviceCode"); - - -CREATE INDEX "IX_IdentityServerDeviceFlowCodes_Expiration" ON "IdentityServerDeviceFlowCodes" ("Expiration"); - - -CREATE INDEX "IX_IdentityServerDeviceFlowCodes_UserCode" ON "IdentityServerDeviceFlowCodes" ("UserCode"); - - -CREATE INDEX "IX_IdentityServerPersistedGrants_Expiration" ON "IdentityServerPersistedGrants" ("Expiration"); - - -CREATE INDEX "IX_IdentityServerPersistedGrants_SubjectId_ClientId_Type" ON "IdentityServerPersistedGrants" ("SubjectId", "ClientId", "Type"); - - -CREATE INDEX "IX_IdentityServerPersistedGrants_SubjectId_SessionId_Type" ON "IdentityServerPersistedGrants" ("SubjectId", "SessionId", "Type"); - - +CREATE UNIQUE INDEX "IX_Auth_UserMenu_UserId_Men \ No newline at end of file diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.AuthDbContext.sql b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.AuthDbContext.sql new file mode 100644 index 000000000..3ea35f9dc --- /dev/null +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.AuthDbContext.sql @@ -0,0 +1,839 @@ +CREATE TABLE "AbpAuditLogs" ( + "Id" uuid NOT NULL, + "ApplicationName" character varying(96) NULL, + "UserId" uuid NULL, + "UserName" character varying(256) NULL, + "TenantId" uuid NULL, + "TenantName" character varying(64) NULL, + "ImpersonatorUserId" uuid NULL, + "ImpersonatorUserName" character varying(256) NULL, + "ImpersonatorTenantId" uuid NULL, + "ImpersonatorTenantName" character varying(64) NULL, + "ExecutionTime" timestamp without time zone NOT NULL, + "ExecutionDuration" integer NOT NULL, + "ClientIpAddress" character varying(64) NULL, + "ClientName" character varying(128) NULL, + "ClientId" character varying(64) NULL, + "CorrelationId" character varying(64) NULL, + "BrowserInfo" character varying(512) NULL, + "HttpMethod" character varying(16) NULL, + "Url" character varying(256) NULL, + "Exceptions" text NULL, + "Comments" character varying(256) NULL, + "HttpStatusCode" integer NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpAuditLogs" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpBackgroundJobs" ( + "Id" uuid NOT NULL, + "JobName" character varying(128) NOT NULL, + "JobArgs" character varying(1048576) NOT NULL, + "TryCount" smallint NOT NULL DEFAULT 0, + "CreationTime" timestamp without time zone NOT NULL, + "NextTryTime" timestamp without time zone NOT NULL, + "LastTryTime" timestamp without time zone NULL, + "IsAbandoned" boolean NOT NULL DEFAULT FALSE, + "Priority" smallint NOT NULL DEFAULT 15, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpBackgroundJobs" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpClaimTypes" ( + "Id" uuid NOT NULL, + "Name" character varying(256) NOT NULL, + "Required" boolean NOT NULL, + "IsStatic" boolean NOT NULL, + "Regex" character varying(512) NULL, + "RegexDescription" character varying(128) NULL, + "Description" character varying(256) NULL, + "ValueType" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpClaimTypes" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpFeatureValues" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "Value" character varying(128) NOT NULL, + "ProviderName" character varying(64) NULL, + "ProviderKey" character varying(64) NULL, + CONSTRAINT "PK_AbpFeatureValues" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpLinkUsers" ( + "Id" uuid NOT NULL, + "SourceUserId" uuid NOT NULL, + "SourceTenantId" uuid NULL, + "TargetUserId" uuid NOT NULL, + "TargetTenantId" uuid NULL, + CONSTRAINT "PK_AbpLinkUsers" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpOrganizationUnits" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "ParentId" uuid NULL, + "Code" character varying(95) NOT NULL, + "DisplayName" character varying(128) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_AbpOrganizationUnits" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId" FOREIGN KEY ("ParentId") REFERENCES "AbpOrganizationUnits" ("Id") +); + + +CREATE TABLE "AbpPermissionGrants" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "Name" character varying(128) NOT NULL, + "ProviderName" character varying(64) NOT NULL, + "ProviderKey" character varying(64) NOT NULL, + CONSTRAINT "PK_AbpPermissionGrants" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpRoles" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "Name" character varying(256) NOT NULL, + "NormalizedName" character varying(256) NOT NULL, + "IsDefault" boolean NOT NULL, + "IsStatic" boolean NOT NULL, + "IsPublic" boolean NOT NULL, + "Description" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpRoles" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpSecurityLogs" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "ApplicationName" character varying(96) NULL, + "Identity" character varying(96) NULL, + "Action" character varying(96) NULL, + "UserId" uuid NULL, + "UserName" character varying(256) NULL, + "TenantName" character varying(64) NULL, + "ClientId" character varying(64) NULL, + "CorrelationId" character varying(64) NULL, + "ClientIpAddress" character varying(64) NULL, + "BrowserInfo" character varying(512) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpSecurityLogs" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpSettings" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "Value" character varying(2048) NOT NULL, + "ProviderName" character varying(64) NULL, + "ProviderKey" character varying(64) NULL, + CONSTRAINT "PK_AbpSettings" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpTenants" ( + "Id" uuid NOT NULL, + "Name" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_AbpTenants" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpUsers" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "UserName" character varying(256) NOT NULL, + "NormalizedUserName" character varying(256) NOT NULL, + "Name" character varying(64) NULL, + "Surname" character varying(64) NULL, + "Email" character varying(256) NOT NULL, + "NormalizedEmail" character varying(256) NOT NULL, + "EmailConfirmed" boolean NOT NULL DEFAULT FALSE, + "PasswordHash" character varying(256) NULL, + "SecurityStamp" character varying(256) NOT NULL, + "IsExternal" boolean NOT NULL DEFAULT FALSE, + "PhoneNumber" character varying(16) NULL, + "PhoneNumberConfirmed" boolean NOT NULL DEFAULT FALSE, + "IsActive" boolean NOT NULL, + "TwoFactorEnabled" boolean NOT NULL DEFAULT FALSE, + "LockoutEnd" timestamp with time zone NULL, + "LockoutEnabled" boolean NOT NULL DEFAULT FALSE, + "AccessFailedCount" integer NOT NULL DEFAULT 0, + "DepartmentCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_AbpUsers" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Auth_Department" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "IsActive" boolean NOT NULL DEFAULT TRUE, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Auth_Department" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Auth_Menu" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "Icon" character varying(64) NULL, + "Route" character varying(64) NULL, + "Status" character varying(64) NOT NULL DEFAULT 'Enable', + "Sort" integer NOT NULL, + "Portal" character varying(64) NOT NULL, + "ParentCode" character varying(64) NULL, + "Permission" character varying(64) NULL, + "Component" character varying(64) NULL, + "GroupName" character varying(1024) NULL, + "GroupSort" integer NOT NULL, + "CountUrl" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Auth_Menu" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Auth_UserMenu" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "MenuCode" character varying(64) NOT NULL, + "Portal" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Auth_UserMenu" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Auth_UserWorkGroup" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "WorkGroupCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Auth_UserWorkGroup" PRIMARY KEY ("Id") +); + + +CREATE TABLE "IdentityServerApiResources" ( + "Id" uuid NOT NULL, + "Name" character varying(200) NOT NULL, + "DisplayName" character varying(200) NULL, + "Description" character varying(1000) NULL, + "Enabled" boolean NOT NULL, + "AllowedAccessTokenSigningAlgorithms" character varying(100) NULL, + "ShowInDiscoveryDocument" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_IdentityServerApiResources" PRIMARY KEY ("Id") +); + + +CREATE TABLE "IdentityServerApiScopes" ( + "Id" uuid NOT NULL, + "Enabled" boolean NOT NULL, + "Name" character varying(200) NOT NULL, + "DisplayName" character varying(200) NULL, + "Description" character varying(1000) NULL, + "Required" boolean NOT NULL, + "Emphasize" boolean NOT NULL, + "ShowInDiscoveryDocument" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_IdentityServerApiScopes" PRIMARY KEY ("Id") +); + + +CREATE TABLE "IdentityServerClients" ( + "Id" uuid NOT NULL, + "ClientId" character varying(200) NOT NULL, + "ClientName" character varying(200) NULL, + "Description" character varying(1000) NULL, + "ClientUri" character varying(2000) NULL, + "LogoUri" character varying(2000) NULL, + "Enabled" boolean NOT NULL, + "ProtocolType" character varying(200) NOT NULL, + "RequireClientSecret" boolean NOT NULL, + "RequireConsent" boolean NOT NULL, + "AllowRememberConsent" boolean NOT NULL, + "AlwaysIncludeUserClaimsInIdToken" boolean NOT NULL, + "RequirePkce" boolean NOT NULL, + "AllowPlainTextPkce" boolean NOT NULL, + "RequireRequestObject" boolean NOT NULL, + "AllowAccessTokensViaBrowser" boolean NOT NULL, + "FrontChannelLogoutUri" character varying(2000) NULL, + "FrontChannelLogoutSessionRequired" boolean NOT NULL, + "BackChannelLogoutUri" character varying(2000) NULL, + "BackChannelLogoutSessionRequired" boolean NOT NULL, + "AllowOfflineAccess" boolean NOT NULL, + "IdentityTokenLifetime" integer NOT NULL, + "AllowedIdentityTokenSigningAlgorithms" character varying(100) NULL, + "AccessTokenLifetime" integer NOT NULL, + "AuthorizationCodeLifetime" integer NOT NULL, + "ConsentLifetime" integer NULL, + "AbsoluteRefreshTokenLifetime" integer NOT NULL, + "SlidingRefreshTokenLifetime" integer NOT NULL, + "RefreshTokenUsage" integer NOT NULL, + "UpdateAccessTokenClaimsOnRefresh" boolean NOT NULL, + "RefreshTokenExpiration" integer NOT NULL, + "AccessTokenType" integer NOT NULL, + "EnableLocalLogin" boolean NOT NULL, + "IncludeJwtId" boolean NOT NULL, + "AlwaysSendClientClaims" boolean NOT NULL, + "ClientClaimsPrefix" character varying(200) NULL, + "PairWiseSubjectSalt" character varying(200) NULL, + "UserSsoLifetime" integer NULL, + "UserCodeType" character varying(100) NULL, + "DeviceCodeLifetime" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_IdentityServerClients" PRIMARY KEY ("Id") +); + + +CREATE TABLE "IdentityServerDeviceFlowCodes" ( + "Id" uuid NOT NULL, + "DeviceCode" character varying(200) NOT NULL, + "UserCode" character varying(200) NOT NULL, + "SubjectId" character varying(200) NULL, + "SessionId" character varying(100) NULL, + "ClientId" character varying(200) NOT NULL, + "Description" character varying(200) NULL, + "Expiration" timestamp without time zone NOT NULL, + "Data" character varying(50000) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + CONSTRAINT "PK_IdentityServerDeviceFlowCodes" PRIMARY KEY ("Id") +); + + +CREATE TABLE "IdentityServerIdentityResources" ( + "Id" uuid NOT NULL, + "Name" character varying(200) NOT NULL, + "DisplayName" character varying(200) NULL, + "Description" character varying(1000) NULL, + "Enabled" boolean NOT NULL, + "Required" boolean NOT NULL, + "Emphasize" boolean NOT NULL, + "ShowInDiscoveryDocument" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeleterId" uuid NULL, + "DeletionTime" timestamp without time zone NULL, + CONSTRAINT "PK_IdentityServerIdentityResources" PRIMARY KEY ("Id") +); + + +CREATE TABLE "IdentityServerPersistedGrants" ( + "Key" character varying(200) NOT NULL, + "Type" character varying(50) NOT NULL, + "SubjectId" character varying(200) NULL, + "SessionId" character varying(100) NULL, + "ClientId" character varying(200) NOT NULL, + "Description" character varying(200) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "Expiration" timestamp without time zone NULL, + "ConsumedTime" timestamp without time zone NULL, + "Data" character varying(50000) NOT NULL, + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_IdentityServerPersistedGrants" PRIMARY KEY ("Key") +); + + +CREATE TABLE "AbpAuditLogActions" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "AuditLogId" uuid NOT NULL, + "ServiceName" character varying(256) NULL, + "MethodName" character varying(128) NULL, + "Parameters" character varying(2000) NULL, + "ExecutionTime" timestamp without time zone NOT NULL, + "ExecutionDuration" integer NOT NULL, + "ExtraProperties" text NULL, + CONSTRAINT "PK_AbpAuditLogActions" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpAuditLogActions_AbpAuditLogs_AuditLogId" FOREIGN KEY ("AuditLogId") REFERENCES "AbpAuditLogs" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpEntityChanges" ( + "Id" uuid NOT NULL, + "AuditLogId" uuid NOT NULL, + "TenantId" uuid NULL, + "ChangeTime" timestamp without time zone NOT NULL, + "ChangeType" smallint NOT NULL, + "EntityTenantId" uuid NULL, + "EntityId" character varying(128) NOT NULL, + "EntityTypeFullName" character varying(128) NOT NULL, + "ExtraProperties" text NULL, + CONSTRAINT "PK_AbpEntityChanges" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpEntityChanges_AbpAuditLogs_AuditLogId" FOREIGN KEY ("AuditLogId") REFERENCES "AbpAuditLogs" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpOrganizationUnitRoles" ( + "RoleId" uuid NOT NULL, + "OrganizationUnitId" uuid NOT NULL, + "TenantId" uuid NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + CONSTRAINT "PK_AbpOrganizationUnitRoles" PRIMARY KEY ("OrganizationUnitId", "RoleId"), + CONSTRAINT "FK_AbpOrganizationUnitRoles_AbpOrganizationUnits_OrganizationU~" FOREIGN KEY ("OrganizationUnitId") REFERENCES "AbpOrganizationUnits" ("Id") ON DELETE CASCADE, + CONSTRAINT "FK_AbpOrganizationUnitRoles_AbpRoles_RoleId" FOREIGN KEY ("RoleId") REFERENCES "AbpRoles" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpRoleClaims" ( + "Id" uuid NOT NULL, + "RoleId" uuid NOT NULL, + "TenantId" uuid NULL, + "ClaimType" character varying(256) NOT NULL, + "ClaimValue" character varying(1024) NULL, + CONSTRAINT "PK_AbpRoleClaims" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpRoleClaims_AbpRoles_RoleId" FOREIGN KEY ("RoleId") REFERENCES "AbpRoles" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpTenantConnectionStrings" ( + "TenantId" uuid NOT NULL, + "Name" character varying(64) NOT NULL, + "Value" character varying(1024) NOT NULL, + CONSTRAINT "PK_AbpTenantConnectionStrings" PRIMARY KEY ("TenantId", "Name"), + CONSTRAINT "FK_AbpTenantConnectionStrings_AbpTenants_TenantId" FOREIGN KEY ("TenantId") REFERENCES "AbpTenants" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpUserClaims" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "TenantId" uuid NULL, + "ClaimType" character varying(256) NOT NULL, + "ClaimValue" character varying(1024) NULL, + CONSTRAINT "PK_AbpUserClaims" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpUserClaims_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES "AbpUsers" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpUserLogins" ( + "UserId" uuid NOT NULL, + "LoginProvider" character varying(64) NOT NULL, + "TenantId" uuid NULL, + "ProviderKey" character varying(196) NOT NULL, + "ProviderDisplayName" character varying(128) NULL, + CONSTRAINT "PK_AbpUserLogins" PRIMARY KEY ("UserId", "LoginProvider"), + CONSTRAINT "FK_AbpUserLogins_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES "AbpUsers" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpUserOrganizationUnits" ( + "UserId" uuid NOT NULL, + "OrganizationUnitId" uuid NOT NULL, + "TenantId" uuid NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + CONSTRAINT "PK_AbpUserOrganizationUnits" PRIMARY KEY ("OrganizationUnitId", "UserId"), + CONSTRAINT "FK_AbpUserOrganizationUnits_AbpOrganizationUnits_OrganizationU~" FOREIGN KEY ("OrganizationUnitId") REFERENCES "AbpOrganizationUnits" ("Id") ON DELETE CASCADE, + CONSTRAINT "FK_AbpUserOrganizationUnits_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES "AbpUsers" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpUserRoles" ( + "UserId" uuid NOT NULL, + "RoleId" uuid NOT NULL, + "TenantId" uuid NULL, + CONSTRAINT "PK_AbpUserRoles" PRIMARY KEY ("UserId", "RoleId"), + CONSTRAINT "FK_AbpUserRoles_AbpRoles_RoleId" FOREIGN KEY ("RoleId") REFERENCES "AbpRoles" ("Id") ON DELETE CASCADE, + CONSTRAINT "FK_AbpUserRoles_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES "AbpUsers" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpUserTokens" ( + "UserId" uuid NOT NULL, + "LoginProvider" character varying(64) NOT NULL, + "Name" character varying(128) NOT NULL, + "TenantId" uuid NULL, + "Value" text NULL, + CONSTRAINT "PK_AbpUserTokens" PRIMARY KEY ("UserId", "LoginProvider", "Name"), + CONSTRAINT "FK_AbpUserTokens_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES "AbpUsers" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerApiResourceClaims" ( + "Type" character varying(200) NOT NULL, + "ApiResourceId" uuid NOT NULL, + CONSTRAINT "PK_IdentityServerApiResourceClaims" PRIMARY KEY ("ApiResourceId", "Type"), + CONSTRAINT "FK_IdentityServerApiResourceClaims_IdentityServerApiResources_~" FOREIGN KEY ("ApiResourceId") REFERENCES "IdentityServerApiResources" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerApiResourceProperties" ( + "ApiResourceId" uuid NOT NULL, + "Key" character varying(250) NOT NULL, + "Value" character varying(2000) NOT NULL, + CONSTRAINT "PK_IdentityServerApiResourceProperties" PRIMARY KEY ("ApiResourceId", "Key", "Value"), + CONSTRAINT "FK_IdentityServerApiResourceProperties_IdentityServerApiResour~" FOREIGN KEY ("ApiResourceId") REFERENCES "IdentityServerApiResources" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerApiResourceScopes" ( + "ApiResourceId" uuid NOT NULL, + "Scope" character varying(200) NOT NULL, + CONSTRAINT "PK_IdentityServerApiResourceScopes" PRIMARY KEY ("ApiResourceId", "Scope"), + CONSTRAINT "FK_IdentityServerApiResourceScopes_IdentityServerApiResources_~" FOREIGN KEY ("ApiResourceId") REFERENCES "IdentityServerApiResources" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerApiResourceSecrets" ( + "Type" character varying(250) NOT NULL, + "Value" character varying(4000) NOT NULL, + "ApiResourceId" uuid NOT NULL, + "Description" character varying(1000) NULL, + "Expiration" timestamp without time zone NULL, + CONSTRAINT "PK_IdentityServerApiResourceSecrets" PRIMARY KEY ("ApiResourceId", "Type", "Value"), + CONSTRAINT "FK_IdentityServerApiResourceSecrets_IdentityServerApiResources~" FOREIGN KEY ("ApiResourceId") REFERENCES "IdentityServerApiResources" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerApiScopeClaims" ( + "Type" character varying(200) NOT NULL, + "ApiScopeId" uuid NOT NULL, + CONSTRAINT "PK_IdentityServerApiScopeClaims" PRIMARY KEY ("ApiScopeId", "Type"), + CONSTRAINT "FK_IdentityServerApiScopeClaims_IdentityServerApiScopes_ApiSco~" FOREIGN KEY ("ApiScopeId") REFERENCES "IdentityServerApiScopes" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerApiScopeProperties" ( + "ApiScopeId" uuid NOT NULL, + "Key" character varying(250) NOT NULL, + "Value" character varying(2000) NOT NULL, + CONSTRAINT "PK_IdentityServerApiScopeProperties" PRIMARY KEY ("ApiScopeId", "Key", "Value"), + CONSTRAINT "FK_IdentityServerApiScopeProperties_IdentityServerApiScopes_Ap~" FOREIGN KEY ("ApiScopeId") REFERENCES "IdentityServerApiScopes" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientClaims" ( + "ClientId" uuid NOT NULL, + "Type" character varying(250) NOT NULL, + "Value" character varying(250) NOT NULL, + CONSTRAINT "PK_IdentityServerClientClaims" PRIMARY KEY ("ClientId", "Type", "Value"), + CONSTRAINT "FK_IdentityServerClientClaims_IdentityServerClients_ClientId" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientCorsOrigins" ( + "ClientId" uuid NOT NULL, + "Origin" character varying(150) NOT NULL, + CONSTRAINT "PK_IdentityServerClientCorsOrigins" PRIMARY KEY ("ClientId", "Origin"), + CONSTRAINT "FK_IdentityServerClientCorsOrigins_IdentityServerClients_Clien~" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientGrantTypes" ( + "ClientId" uuid NOT NULL, + "GrantType" character varying(250) NOT NULL, + CONSTRAINT "PK_IdentityServerClientGrantTypes" PRIMARY KEY ("ClientId", "GrantType"), + CONSTRAINT "FK_IdentityServerClientGrantTypes_IdentityServerClients_Client~" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientIdPRestrictions" ( + "ClientId" uuid NOT NULL, + "Provider" character varying(200) NOT NULL, + CONSTRAINT "PK_IdentityServerClientIdPRestrictions" PRIMARY KEY ("ClientId", "Provider"), + CONSTRAINT "FK_IdentityServerClientIdPRestrictions_IdentityServerClients_C~" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientPostLogoutRedirectUris" ( + "ClientId" uuid NOT NULL, + "PostLogoutRedirectUri" character varying(2000) NOT NULL, + CONSTRAINT "PK_IdentityServerClientPostLogoutRedirectUris" PRIMARY KEY ("ClientId", "PostLogoutRedirectUri"), + CONSTRAINT "FK_IdentityServerClientPostLogoutRedirectUris_IdentityServerCl~" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientProperties" ( + "ClientId" uuid NOT NULL, + "Key" character varying(250) NOT NULL, + "Value" character varying(2000) NOT NULL, + CONSTRAINT "PK_IdentityServerClientProperties" PRIMARY KEY ("ClientId", "Key", "Value"), + CONSTRAINT "FK_IdentityServerClientProperties_IdentityServerClients_Client~" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientRedirectUris" ( + "ClientId" uuid NOT NULL, + "RedirectUri" character varying(2000) NOT NULL, + CONSTRAINT "PK_IdentityServerClientRedirectUris" PRIMARY KEY ("ClientId", "RedirectUri"), + CONSTRAINT "FK_IdentityServerClientRedirectUris_IdentityServerClients_Clie~" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientScopes" ( + "ClientId" uuid NOT NULL, + "Scope" character varying(200) NOT NULL, + CONSTRAINT "PK_IdentityServerClientScopes" PRIMARY KEY ("ClientId", "Scope"), + CONSTRAINT "FK_IdentityServerClientScopes_IdentityServerClients_ClientId" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerClientSecrets" ( + "Type" character varying(250) NOT NULL, + "Value" character varying(4000) NOT NULL, + "ClientId" uuid NOT NULL, + "Description" character varying(2000) NULL, + "Expiration" timestamp without time zone NULL, + CONSTRAINT "PK_IdentityServerClientSecrets" PRIMARY KEY ("ClientId", "Type", "Value"), + CONSTRAINT "FK_IdentityServerClientSecrets_IdentityServerClients_ClientId" FOREIGN KEY ("ClientId") REFERENCES "IdentityServerClients" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerIdentityResourceClaims" ( + "Type" character varying(200) NOT NULL, + "IdentityResourceId" uuid NOT NULL, + CONSTRAINT "PK_IdentityServerIdentityResourceClaims" PRIMARY KEY ("IdentityResourceId", "Type"), + CONSTRAINT "FK_IdentityServerIdentityResourceClaims_IdentityServerIdentity~" FOREIGN KEY ("IdentityResourceId") REFERENCES "IdentityServerIdentityResources" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "IdentityServerIdentityResourceProperties" ( + "IdentityResourceId" uuid NOT NULL, + "Key" character varying(250) NOT NULL, + "Value" character varying(2000) NOT NULL, + CONSTRAINT "PK_IdentityServerIdentityResourceProperties" PRIMARY KEY ("IdentityResourceId", "Key", "Value"), + CONSTRAINT "FK_IdentityServerIdentityResourceProperties_IdentityServerIden~" FOREIGN KEY ("IdentityResourceId") REFERENCES "IdentityServerIdentityResources" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "AbpEntityPropertyChanges" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "EntityChangeId" uuid NOT NULL, + "NewValue" character varying(512) NULL, + "OriginalValue" character varying(512) NULL, + "PropertyName" character varying(128) NOT NULL, + "PropertyTypeFullName" character varying(64) NOT NULL, + CONSTRAINT "PK_AbpEntityPropertyChanges" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId" FOREIGN KEY ("EntityChangeId") REFERENCES "AbpEntityChanges" ("Id") ON DELETE CASCADE +); + + +CREATE INDEX "IX_AbpAuditLogActions_AuditLogId" ON "AbpAuditLogActions" ("AuditLogId"); + + +CREATE INDEX "IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_Executio~" ON "AbpAuditLogActions" ("TenantId", "ServiceName", "MethodName", "ExecutionTime"); + + +CREATE INDEX "IX_AbpAuditLogs_TenantId_ExecutionTime" ON "AbpAuditLogs" ("TenantId", "ExecutionTime"); + + +CREATE INDEX "IX_AbpAuditLogs_TenantId_UserId_ExecutionTime" ON "AbpAuditLogs" ("TenantId", "UserId", "ExecutionTime"); + + +CREATE INDEX "IX_AbpBackgroundJobs_IsAbandoned_NextTryTime" ON "AbpBackgroundJobs" ("IsAbandoned", "NextTryTime"); + + +CREATE INDEX "IX_AbpEntityChanges_AuditLogId" ON "AbpEntityChanges" ("AuditLogId"); + + +CREATE INDEX "IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId" ON "AbpEntityChanges" ("TenantId", "EntityTypeFullName", "EntityId"); + + +CREATE INDEX "IX_AbpEntityPropertyChanges_EntityChangeId" ON "AbpEntityPropertyChanges" ("EntityChangeId"); + + +CREATE UNIQUE INDEX "IX_AbpFeatureValues_Name_ProviderName_ProviderKey" ON "AbpFeatureValues" ("Name", "ProviderName", "ProviderKey"); + + +CREATE UNIQUE INDEX "IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_Targe~" ON "AbpLinkUsers" ("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId"); + + +CREATE INDEX "IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId" ON "AbpOrganizationUnitRoles" ("RoleId", "OrganizationUnitId"); + + +CREATE INDEX "IX_AbpOrganizationUnits_Code" ON "AbpOrganizationUnits" ("Code"); + + +CREATE INDEX "IX_AbpOrganizationUnits_ParentId" ON "AbpOrganizationUnits" ("ParentId"); + + +CREATE UNIQUE INDEX "IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey" ON "AbpPermissionGrants" ("TenantId", "Name", "ProviderName", "ProviderKey"); + + +CREATE INDEX "IX_AbpRoleClaims_RoleId" ON "AbpRoleClaims" ("RoleId"); + + +CREATE INDEX "IX_AbpRoles_NormalizedName" ON "AbpRoles" ("NormalizedName"); + + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_Action" ON "AbpSecurityLogs" ("TenantId", "Action"); + + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_ApplicationName" ON "AbpSecurityLogs" ("TenantId", "ApplicationName"); + + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_Identity" ON "AbpSecurityLogs" ("TenantId", "Identity"); + + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_UserId" ON "AbpSecurityLogs" ("TenantId", "UserId"); + + +CREATE UNIQUE INDEX "IX_AbpSettings_Name_ProviderName_ProviderKey" ON "AbpSettings" ("Name", "ProviderName", "ProviderKey"); + + +CREATE INDEX "IX_AbpTenants_Name" ON "AbpTenants" ("Name"); + + +CREATE INDEX "IX_AbpUserClaims_UserId" ON "AbpUserClaims" ("UserId"); + + +CREATE INDEX "IX_AbpUserLogins_LoginProvider_ProviderKey" ON "AbpUserLogins" ("LoginProvider", "ProviderKey"); + + +CREATE INDEX "IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId" ON "AbpUserOrganizationUnits" ("UserId", "OrganizationUnitId"); + + +CREATE INDEX "IX_AbpUserRoles_RoleId_UserId" ON "AbpUserRoles" ("RoleId", "UserId"); + + +CREATE INDEX "IX_AbpUsers_Email" ON "AbpUsers" ("Email"); + + +CREATE INDEX "IX_AbpUsers_NormalizedEmail" ON "AbpUsers" ("NormalizedEmail"); + + +CREATE INDEX "IX_AbpUsers_NormalizedUserName" ON "AbpUsers" ("NormalizedUserName"); + + +CREATE INDEX "IX_AbpUsers_UserName" ON "AbpUsers" ("UserName"); + + +CREATE UNIQUE INDEX "IX_Auth_Department_Code" ON "Auth_Department" ("Code"); + + +CREATE UNIQUE INDEX "IX_Auth_Menu_Code" ON "Auth_Menu" ("Code"); + + +CREATE UNIQUE INDEX "IX_Auth_UserMenu_UserId_MenuCode" ON "Auth_UserMenu" ("UserId", "MenuCode"); + + +CREATE UNIQUE INDEX "IX_Auth_UserWorkGroup_WorkGroupCode_UserId" ON "Auth_UserWorkGroup" ("WorkGroupCode", "UserId"); + + +CREATE INDEX "IX_IdentityServerClients_ClientId" ON "IdentityServerClients" ("ClientId"); + + +CREATE UNIQUE INDEX "IX_IdentityServerDeviceFlowCodes_DeviceCode" ON "IdentityServerDeviceFlowCodes" ("DeviceCode"); + + +CREATE INDEX "IX_IdentityServerDeviceFlowCodes_Expiration" ON "IdentityServerDeviceFlowCodes" ("Expiration"); + + +CREATE INDEX "IX_IdentityServerDeviceFlowCodes_UserCode" ON "IdentityServerDeviceFlowCodes" ("UserCode"); + + +CREATE INDEX "IX_IdentityServerPersistedGrants_Expiration" ON "IdentityServerPersistedGrants" ("Expiration"); + + +CREATE INDEX "IX_IdentityServerPersistedGrants_SubjectId_ClientId_Type" ON "IdentityServerPersistedGrants" ("SubjectId", "ClientId", "Type"); + + +CREATE INDEX "IX_IdentityServerPersistedGrants_SubjectId_SessionId_Type" ON "IdentityServerPersistedGrants" ("SubjectId", "SessionId", "Type"); + + diff --git a/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/Win_in.Sfs.Basedata.HttpApi.Host.csproj b/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/Win_in.Sfs.Basedata.HttpApi.Host.csproj index abafefdaf..89fb1704a 100644 --- a/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/Win_in.Sfs.Basedata.HttpApi.Host.csproj +++ b/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/Win_in.Sfs.Basedata.HttpApi.Host.csproj @@ -43,8 +43,8 @@ - + diff --git a/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.BasedataDbContext.sql b/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.BasedataDbContext.sql index ddbdeadfa..7345c8bd7 100644 --- a/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.BasedataDbContext.sql +++ b/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.BasedataDbContext.sql @@ -17,8 +17,7 @@ CREATE TABLE [Basedata_AQL] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_AQL] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Area] ( @@ -38,8 +37,7 @@ CREATE TABLE [Basedata_Area] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Area] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Bom] ( @@ -65,8 +63,7 @@ CREATE TABLE [Basedata_Bom] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Bom] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Calendar] ( @@ -84,8 +81,7 @@ CREATE TABLE [Basedata_Calendar] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Calendar] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Category] ( @@ -102,8 +98,7 @@ CREATE TABLE [Basedata_Category] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Category] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Currency] ( @@ -121,8 +116,7 @@ CREATE TABLE [Basedata_Currency] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Currency] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_CurrencyExchange] ( @@ -141,8 +135,7 @@ CREATE TABLE [Basedata_CurrencyExchange] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_CurrencyExchange] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Customer] ( @@ -169,8 +162,7 @@ CREATE TABLE [Basedata_Customer] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Customer] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_CustomerAddress] ( @@ -193,8 +185,7 @@ CREATE TABLE [Basedata_CustomerAddress] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(1024) NULL, CONSTRAINT [PK_Basedata_CustomerAddress] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_CustomerItem] ( @@ -216,8 +207,7 @@ CREATE TABLE [Basedata_CustomerItem] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_CustomerItem] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Dict] ( @@ -234,8 +224,7 @@ CREATE TABLE [Basedata_Dict] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Dict] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Dock] ( @@ -254,8 +243,7 @@ CREATE TABLE [Basedata_Dock] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Dock] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_DocumentSetting] ( @@ -277,8 +265,7 @@ CREATE TABLE [Basedata_DocumentSetting] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_DocumentSetting] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ErpLocation] ( @@ -297,8 +284,7 @@ CREATE TABLE [Basedata_ErpLocation] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ErpLocation] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_InterfaceCalendar] ( @@ -320,8 +306,7 @@ CREATE TABLE [Basedata_InterfaceCalendar] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(max) NULL, CONSTRAINT [PK_Basedata_InterfaceCalendar] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemBasic] ( @@ -360,8 +345,7 @@ CREATE TABLE [Basedata_ItemBasic] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemBasic] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemCategory] ( @@ -378,8 +362,7 @@ CREATE TABLE [Basedata_ItemCategory] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemCategory] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemGuideBook] ( @@ -399,8 +382,7 @@ CREATE TABLE [Basedata_ItemGuideBook] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemGuideBook] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemPack] ( @@ -420,8 +402,7 @@ CREATE TABLE [Basedata_ItemPack] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemPack] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemQuality] ( @@ -440,8 +421,7 @@ CREATE TABLE [Basedata_ItemQuality] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemQuality] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemSafetyStock] ( @@ -465,8 +445,7 @@ CREATE TABLE [Basedata_ItemSafetyStock] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemSafetyStock] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ItemStoreRelation] ( @@ -492,8 +471,7 @@ CREATE TABLE [Basedata_ItemStoreRelation] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ItemStoreRelation] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Location] ( @@ -538,8 +516,7 @@ CREATE TABLE [Basedata_Location] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Location] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_LocationGroup] ( @@ -578,8 +555,7 @@ CREATE TABLE [Basedata_LocationGroup] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_LocationGroup] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Machine] ( @@ -599,8 +575,7 @@ CREATE TABLE [Basedata_Machine] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Machine] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ProductionLine] ( @@ -622,8 +597,7 @@ CREATE TABLE [Basedata_ProductionLine] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ProductionLine] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_ProductionLineItem] ( @@ -639,8 +613,7 @@ CREATE TABLE [Basedata_ProductionLineItem] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_ProductionLineItem] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Project] ( @@ -660,8 +633,7 @@ CREATE TABLE [Basedata_Project] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Project] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_PurchasePriceSheet] ( @@ -680,8 +652,7 @@ CREATE TABLE [Basedata_PurchasePriceSheet] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_PurchasePriceSheet] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_SalePriceSheet] ( @@ -700,8 +671,7 @@ CREATE TABLE [Basedata_SalePriceSheet] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_SalePriceSheet] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Shift] ( @@ -721,8 +691,7 @@ CREATE TABLE [Basedata_Shift] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Shift] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_StdCostPriceSheet] ( @@ -741,8 +710,7 @@ CREATE TABLE [Basedata_StdCostPriceSheet] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_StdCostPriceSheet] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Supplier] ( @@ -771,8 +739,7 @@ CREATE TABLE [Basedata_Supplier] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Supplier] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_SupplierItem] ( @@ -795,8 +762,7 @@ CREATE TABLE [Basedata_SupplierItem] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_SupplierItem] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_SupplierTimeWindow] ( @@ -814,8 +780,7 @@ CREATE TABLE [Basedata_SupplierTimeWindow] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_SupplierTimeWindow] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Team] ( @@ -833,8 +798,7 @@ CREATE TABLE [Basedata_Team] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Team] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_TransactionType] ( @@ -865,8 +829,7 @@ CREATE TABLE [Basedata_TransactionType] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_TransactionType] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Uom] ( @@ -884,8 +847,7 @@ CREATE TABLE [Basedata_Uom] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Uom] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_Warehouse] ( @@ -902,8 +864,7 @@ CREATE TABLE [Basedata_Warehouse] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_Warehouse] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_WorkGroup] ( @@ -921,8 +882,7 @@ CREATE TABLE [Basedata_WorkGroup] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_WorkGroup] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_WorkShop] ( @@ -939,8 +899,7 @@ CREATE TABLE [Basedata_WorkShop] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_WorkShop] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_WorkStation] ( @@ -961,8 +920,7 @@ CREATE TABLE [Basedata_WorkStation] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Basedata_WorkStation] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Basedata_DictItem] ( @@ -981,179 +939,135 @@ CREATE TABLE [Basedata_DictItem] ( [LastModifierId] uniqueidentifier NULL, CONSTRAINT [PK_Basedata_DictItem] PRIMARY KEY ([Id]), CONSTRAINT [FK_Basedata_DictItem_Basedata_Dict_MasterId] FOREIGN KEY ([MasterId]) REFERENCES [Basedata_Dict] ([Id]) ON DELETE CASCADE -); -GO +) -CREATE UNIQUE INDEX [IX_Basedata_AQL_SupplierCode_ItemCode_FloorQty] ON [Basedata_AQL] ([SupplierCode], [ItemCode], [FloorQty]); -GO +CREATE UNIQUE INDEX [IX_Basedata_AQL_SupplierCode_ItemCode_FloorQty] ON [Basedata_AQL] ([SupplierCode], [ItemCode], [FloorQty]) -CREATE UNIQUE INDEX [IX_Basedata_Area_Code] ON [Basedata_Area] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Area_Code] ON [Basedata_Area] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_Bom_Product_Component] ON [Basedata_Bom] ([Product], [Component]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Bom_Product_Component] ON [Basedata_Bom] ([Product], [Component]) -CREATE UNIQUE INDEX [IX_Basedata_Calendar_Module] ON [Basedata_Calendar] ([Module]) WHERE [Module] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Basedata_Calendar_Module] ON [Basedata_Calendar] ([Module]) WHERE [Module] IS NOT NULL -CREATE UNIQUE INDEX [IX_Basedata_Category_Code] ON [Basedata_Category] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Category_Code] ON [Basedata_Category] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_Currency_Code] ON [Basedata_Currency] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Currency_Code] ON [Basedata_Currency] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_CurrencyExchange_CurrencyId_BasicCurrencyId] ON [Basedata_CurrencyExchange] ([CurrencyId], [BasicCurrencyId]); -GO +CREATE UNIQUE INDEX [IX_Basedata_CurrencyExchange_CurrencyId_BasicCurrencyId] ON [Basedata_CurrencyExchange] ([CurrencyId], [BasicCurrencyId]) -CREATE UNIQUE INDEX [IX_Basedata_Customer_Code] ON [Basedata_Customer] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Customer_Code] ON [Basedata_Customer] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_CustomerAddress_Code_CustomerCode] ON [Basedata_CustomerAddress] ([Code], [CustomerCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_CustomerAddress_Code_CustomerCode] ON [Basedata_CustomerAddress] ([Code], [CustomerCode]) -CREATE UNIQUE INDEX [IX_Basedata_CustomerItem_CustomerCode_ItemCode] ON [Basedata_CustomerItem] ([CustomerCode], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_CustomerItem_CustomerCode_ItemCode] ON [Basedata_CustomerItem] ([CustomerCode], [ItemCode]) -CREATE UNIQUE INDEX [IX_Basedata_Dict_Code] ON [Basedata_Dict] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Dict_Code] ON [Basedata_Dict] ([Code]) -CREATE INDEX [IX_Basedata_DictItem_MasterId] ON [Basedata_DictItem] ([MasterId]); -GO +CREATE INDEX [IX_Basedata_DictItem_MasterId] ON [Basedata_DictItem] ([MasterId]) -CREATE UNIQUE INDEX [IX_Basedata_Dock_Code] ON [Basedata_Dock] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Dock_Code] ON [Basedata_Dock] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_DocumentSetting_Code] ON [Basedata_DocumentSetting] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_DocumentSetting_Code] ON [Basedata_DocumentSetting] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_ErpLocation_Code] ON [Basedata_ErpLocation] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ErpLocation_Code] ON [Basedata_ErpLocation] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_InterfaceCalendar_Code] ON [Basedata_InterfaceCalendar] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_InterfaceCalendar_Code] ON [Basedata_InterfaceCalendar] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_ItemBasic_Code] ON [Basedata_ItemBasic] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemBasic_Code] ON [Basedata_ItemBasic] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_ItemCategory_CategoryCode_ItemCode] ON [Basedata_ItemCategory] ([CategoryCode], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemCategory_CategoryCode_ItemCode] ON [Basedata_ItemCategory] ([CategoryCode], [ItemCode]) -CREATE UNIQUE INDEX [IX_Basedata_ItemGuideBook_ItemCode] ON [Basedata_ItemGuideBook] ([ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemGuideBook_ItemCode] ON [Basedata_ItemGuideBook] ([ItemCode]) -CREATE UNIQUE INDEX [IX_Basedata_ItemPack_ItemCode_PackCode] ON [Basedata_ItemPack] ([ItemCode], [PackCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemPack_ItemCode_PackCode] ON [Basedata_ItemPack] ([ItemCode], [PackCode]) -CREATE UNIQUE INDEX [IX_Basedata_ItemQuality_ItemCode_SupplierCode] ON [Basedata_ItemQuality] ([ItemCode], [SupplierCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemQuality_ItemCode_SupplierCode] ON [Basedata_ItemQuality] ([ItemCode], [SupplierCode]) -CREATE UNIQUE INDEX [IX_Basedata_ItemSafetyStock_ItemCode_WarehouseCode_StoreRelationType_StoreValue] ON [Basedata_ItemSafetyStock] ([ItemCode], [WarehouseCode], [StoreRelationType], [StoreValue]) WHERE [StoreValue] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemSafetyStock_ItemCode_WarehouseCode_StoreRelationType_StoreValue] ON [Basedata_ItemSafetyStock] ([ItemCode], [WarehouseCode], [StoreRelationType], [StoreValue]) WHERE [StoreValue] IS NOT NULL -CREATE UNIQUE INDEX [IX_Basedata_ItemStoreRelation_ItemCode_StoreRelationType_StoreValue] ON [Basedata_ItemStoreRelation] ([ItemCode], [StoreRelationType], [StoreValue]) WHERE [StoreValue] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Basedata_ItemStoreRelation_ItemCode_StoreRelationType_StoreValue] ON [Basedata_ItemStoreRelation] ([ItemCode], [StoreRelationType], [StoreValue]) WHERE [StoreValue] IS NOT NULL -CREATE UNIQUE INDEX [IX_Basedata_Location_Code] ON [Basedata_Location] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Location_Code] ON [Basedata_Location] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_LocationGroup_Code] ON [Basedata_LocationGroup] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_LocationGroup_Code] ON [Basedata_LocationGroup] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_Machine_Code] ON [Basedata_Machine] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Machine_Code] ON [Basedata_Machine] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_ProductionLine_Code] ON [Basedata_ProductionLine] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ProductionLine_Code] ON [Basedata_ProductionLine] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_ProductionLineItem_ProdLineCode_ItemCode] ON [Basedata_ProductionLineItem] ([ProdLineCode], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_ProductionLineItem_ProdLineCode_ItemCode] ON [Basedata_ProductionLineItem] ([ProdLineCode], [ItemCode]) -CREATE UNIQUE INDEX [IX_Basedata_Project_Code] ON [Basedata_Project] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Project_Code] ON [Basedata_Project] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_PurchasePriceSheet_Code] ON [Basedata_PurchasePriceSheet] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_PurchasePriceSheet_Code] ON [Basedata_PurchasePriceSheet] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_SalePriceSheet_Code_CustomerId] ON [Basedata_SalePriceSheet] ([Code], [CustomerId]); -GO +CREATE UNIQUE INDEX [IX_Basedata_SalePriceSheet_Code_CustomerId] ON [Basedata_SalePriceSheet] ([Code], [CustomerId]) -CREATE UNIQUE INDEX [IX_Basedata_Shift_Code] ON [Basedata_Shift] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Shift_Code] ON [Basedata_Shift] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_StdCostPriceSheet_Code_SupplierId] ON [Basedata_StdCostPriceSheet] ([Code], [SupplierId]); -GO +CREATE UNIQUE INDEX [IX_Basedata_StdCostPriceSheet_Code_SupplierId] ON [Basedata_StdCostPriceSheet] ([Code], [SupplierId]) -CREATE UNIQUE INDEX [IX_Basedata_Supplier_Code] ON [Basedata_Supplier] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Supplier_Code] ON [Basedata_Supplier] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_SupplierItem_SupplierCode_ItemCode] ON [Basedata_SupplierItem] ([SupplierCode], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Basedata_SupplierItem_SupplierCode_ItemCode] ON [Basedata_SupplierItem] ([SupplierCode], [ItemCode]) -CREATE UNIQUE INDEX [IX_Basedata_SupplierTimeWindow_SupplierCode_TimeSlot_Week] ON [Basedata_SupplierTimeWindow] ([SupplierCode], [TimeSlot], [Week]); -GO +CREATE UNIQUE INDEX [IX_Basedata_SupplierTimeWindow_SupplierCode_TimeSlot_Week] ON [Basedata_SupplierTimeWindow] ([SupplierCode], [TimeSlot], [Week]) -CREATE UNIQUE INDEX [IX_Basedata_Team_Code] ON [Basedata_Team] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Team_Code] ON [Basedata_Team] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_TransactionType_TransType_TransSubType] ON [Basedata_TransactionType] ([TransType], [TransSubType]); -GO +CREATE UNIQUE INDEX [IX_Basedata_TransactionType_TransType_TransSubType] ON [Basedata_TransactionType] ([TransType], [TransSubType]) -CREATE UNIQUE INDEX [IX_Basedata_Uom_Code] ON [Basedata_Uom] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Uom_Code] ON [Basedata_Uom] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_Warehouse_Code] ON [Basedata_Warehouse] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_Warehouse_Code] ON [Basedata_Warehouse] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_WorkGroup_Code] ON [Basedata_WorkGroup] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_WorkGroup_Code] ON [Basedata_WorkGroup] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_WorkShop_Code] ON [Basedata_WorkShop] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_WorkShop_Code] ON [Basedata_WorkShop] ([Code]) -CREATE UNIQUE INDEX [IX_Basedata_WorkStation_Code] ON [Basedata_WorkStation] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Basedata_WorkStation_Code] ON [Basedata_WorkStation] ([Code]) diff --git a/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.BasedataDbContext.sql b/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.BasedataDbContext.sql new file mode 100644 index 000000000..9b6f4b0a4 --- /dev/null +++ b/be/Hosts/Basedata.Host/Win_in.Sfs.Basedata.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.BasedataDbContext.sql @@ -0,0 +1,1073 @@ +CREATE TABLE "Basedata_AQL" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierCode" character varying(64) NOT NULL, + "AbcClass" text NULL, + "FloorQty" numeric(18,6) NOT NULL, + "CeilingQty" numeric(18,6) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL, + "SampleQty" numeric(18,6) NOT NULL, + "IsUsePercent" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_AQL" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Area" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "AreaType" character varying(64) NOT NULL, + "IsFunctional" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Area" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Bom" ( + "Id" uuid NOT NULL, + "Product" character varying(64) NOT NULL, + "Component" character varying(64) NOT NULL, + "ComponentUom" character varying(64) NULL, + "ComponentQty" numeric(18,6) NOT NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "ERPOp" character varying(64) NULL, + "Layer" integer NOT NULL DEFAULT 1, + "MFGOp" character varying(64) NULL, + "DistributionType" character varying(64) NOT NULL, + "TruncType" character varying(64) NOT NULL, + "PlannedSplitRule" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Bom" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Calendar" ( + "Id" uuid NOT NULL, + "Module" character varying(64) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "Status" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Calendar" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Category" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Category" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Currency" ( + "Id" uuid NOT NULL, + "Name" character varying(64) NOT NULL, + "Code" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "IsBasicCurrency" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Currency" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_CurrencyExchange" ( + "Id" uuid NOT NULL, + "CurrencyId" uuid NOT NULL, + "BasicCurrencyId" uuid NOT NULL, + "Rate" numeric(18,6) NOT NULL, + "EfficetiveTime" timestamp without time zone NOT NULL, + "ExpireTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_CurrencyExchange" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Customer" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "ShortName" character varying(64) NULL, + "Address" character varying(1024) NULL, + "Country" character varying(64) NULL, + "City" character varying(64) NULL, + "Phone" character varying(64) NULL, + "Fax" character varying(64) NULL, + "PostID" character varying(64) NULL, + "Contacts" character varying(64) NULL, + "Currency" character varying(64) NULL, + "IsActive" boolean NOT NULL, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Customer" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_CustomerAddress" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "CustomerCode" character varying(64) NOT NULL, + "Address" character varying(1024) NULL, + "Contact" character varying(64) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "City" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "Desc" character varying(1024) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(1024) NULL, + CONSTRAINT "PK_Basedata_CustomerAddress" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_CustomerItem" ( + "Id" uuid NOT NULL, + "CustomerCode" character varying(64) NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "CustomerItemCode" character varying(64) NOT NULL, + "Version" character varying(1024) NULL, + "CustomerPackUom" character varying(64) NULL, + "CustomerPackQty" numeric(18,6) NOT NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_CustomerItem" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Dict" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Dict" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Dock" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "WarehouseCode" character varying(64) NULL, + "DefaultLocationCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Dock" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_DocumentSetting" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "TransactionType" character varying(64) NULL, + "NumberPrefix" character varying(64) NULL, + "NumberFormat" character varying(64) NULL, + "NumberSerialLength" integer NOT NULL, + "NumberSeparator" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_DocumentSetting" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ErpLocation" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "Type" character varying(64) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ErpLocation" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_InterfaceCalendar" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NOT NULL, + "Year" character varying(64) NOT NULL, + "Month" character varying(64) NOT NULL, + "BeginTime" timestamp without time zone NOT NULL, + "EndTime" timestamp without time zone NOT NULL, + "ConvertToTime" timestamp without time zone NOT NULL, + "Description" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" text NULL, + CONSTRAINT "PK_Basedata_InterfaceCalendar" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemBasic" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Desc1" character varying(1024) NULL, + "Desc2" character varying(1024) NULL, + "Status" character varying(64) NOT NULL, + "CanMake" boolean NOT NULL, + "CanBuy" boolean NOT NULL, + "CanOutsourcing" boolean NOT NULL, + "IsRecycled" boolean NOT NULL, + "Type" character varying(64) NULL, + "Category" character varying(64) NULL, + "Group" character varying(64) NULL, + "Color" character varying(64) NULL, + "Configuration" character varying(64) NULL, + "BasicUom" text NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "AbcClass" character varying(64) NOT NULL, + "Project" text NULL, + "Version" character varying(64) NULL, + "Eco" character varying(64) NULL, + "Validity" integer NOT NULL, + "ValidityUnit" character varying(64) NOT NULL, + "ManageType" character varying(64) NOT NULL, + "Elevel" character varying(64) NULL, + "IsPhantom" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemBasic" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemCategory" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "CategoryCode" character varying(64) NOT NULL, + "Value" character varying(1024) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemCategory" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemGuideBook" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "Name" text NULL, + "Desc1" text NULL, + "Desc2" text NULL, + "Step" character varying(1024) NULL, + "PictureBlobName" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemGuideBook" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemPack" ( + "Id" uuid NOT NULL, + "PackCode" character varying(64) NOT NULL, + "PackName" character varying(64) NULL, + "PackType" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "BasicUom" character varying(64) NULL, + "Qty" numeric(18,6) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemPack" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemQuality" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "InspectType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemQuality" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemSafetyStock" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "StoreRelationType" character varying(64) NOT NULL, + "StoreValue" character varying(64) NULL, + "MaxStock" numeric(18,6) NOT NULL, + "MinStock" numeric(18,6) NOT NULL, + "SafetyStock" numeric(18,6) NOT NULL, + "FeedLine" numeric(18,6) NOT NULL, + "FeedQty" numeric(18,6) NOT NULL, + "FeedUM" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemSafetyStock" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ItemStoreRelation" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "StoreRelationType" character varying(64) NOT NULL, + "StoreValue" character varying(64) NULL, + "Enabled" boolean NOT NULL, + "StoreUM" character varying(64) NULL, + "UmQty" numeric(18,6) NOT NULL, + "AltUm" character varying(64) NULL, + "AltUmQty" numeric(18,6) NOT NULL, + "PramaryUM" character varying(64) NOT NULL, + "IsFixed" boolean NOT NULL, + "MultiLoc" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ItemStoreRelation" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Location" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "Type" character varying(64) NOT NULL, + "ErpLocationCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "AreaCode" character varying(64) NOT NULL, + "LocationGroupCode" character varying(64) NOT NULL, + "WorkGroupCode" character varying(64) NOT NULL, + "ShelfCode" character varying(64) NULL, + "RowCode" integer NOT NULL DEFAULT 1, + "ColumnCode" integer NOT NULL DEFAULT 1, + "DefaultInventoryStatus" character varying(64) NOT NULL, + "PickPriority" integer NOT NULL DEFAULT 0, + "PickOrder" integer NOT NULL DEFAULT 0, + "EnableMixItem" boolean NOT NULL DEFAULT TRUE, + "EnableMixLot" boolean NOT NULL DEFAULT TRUE, + "EnableMixStatus" boolean NOT NULL DEFAULT TRUE, + "EnableNegative" boolean NOT NULL DEFAULT TRUE, + "EnableKeepZero" boolean NOT NULL DEFAULT TRUE, + "EnableOpportunityCount" boolean NOT NULL DEFAULT TRUE, + "EnablePick" boolean NOT NULL DEFAULT TRUE, + "EnableOverPick" boolean NOT NULL DEFAULT TRUE, + "EnableWholeStore" boolean NOT NULL DEFAULT TRUE, + "EnableBreakStore" boolean NOT NULL DEFAULT TRUE, + "EnableShip" boolean NOT NULL DEFAULT TRUE, + "EnableReceive" boolean NOT NULL DEFAULT TRUE, + "EnableReturnToSupplier" boolean NOT NULL DEFAULT TRUE, + "EnableReturnFromCustomer" boolean NOT NULL DEFAULT TRUE, + "EnableSplitBox" boolean NOT NULL DEFAULT TRUE, + "EnableSplitPallet" boolean NOT NULL DEFAULT TRUE, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Location" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_LocationGroup" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "AreaCode" character varying(64) NOT NULL, + "GroupType" character varying(64) NOT NULL, + "DefaultInventoryStatus" character varying(64) NOT NULL, + "PickPriority" integer NOT NULL DEFAULT 0, + "OverflowLocationGroup" character varying(64) NULL, + "EnableMixItem" boolean NOT NULL DEFAULT TRUE, + "EnableMixLot" boolean NOT NULL DEFAULT TRUE, + "EnableMixStatus" boolean NOT NULL DEFAULT TRUE, + "EnableNegative" boolean NOT NULL DEFAULT TRUE, + "EnableKeepZero" boolean NOT NULL DEFAULT TRUE, + "EnableOpportunityCount" boolean NOT NULL DEFAULT TRUE, + "EnablePick" boolean NOT NULL DEFAULT TRUE, + "EnableOverPick" boolean NOT NULL DEFAULT TRUE, + "EnableWholeStore" boolean NOT NULL DEFAULT TRUE, + "EnableBreakStore" boolean NOT NULL DEFAULT TRUE, + "EnableShip" boolean NOT NULL DEFAULT TRUE, + "EnableReceive" boolean NOT NULL DEFAULT TRUE, + "EnableReturnToSupplier" boolean NOT NULL DEFAULT TRUE, + "EnableReturnFromCustomer" boolean NOT NULL DEFAULT TRUE, + "EnableSplitBox" boolean NOT NULL DEFAULT TRUE, + "EnableSplitPallet" boolean NOT NULL DEFAULT TRUE, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_LocationGroup" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Machine" ( + "Id" uuid NOT NULL, + "ProdLineId" uuid NOT NULL, + "WorkStationId" uuid NOT NULL, + "Name" character varying(64) NOT NULL, + "Code" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Machine" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ProductionLine" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "Type" character varying(64) NOT NULL, + "WorkshopCode" character varying(64) NULL, + "RawLocationCode" character varying(64) NULL, + "ProductLocationCode" character varying(64) NULL, + "RawLocationGroupCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ProductionLine" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_ProductionLineItem" ( + "Id" uuid NOT NULL, + "ProdLineCode" text NOT NULL, + "ItemCode" text NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_ProductionLineItem" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Project" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "CustomerCode" character varying(64) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Project" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_PurchasePriceSheet" ( + "Id" uuid NOT NULL, + "SupplierId" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "CurrencyId" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_PurchasePriceSheet" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_SalePriceSheet" ( + "Id" uuid NOT NULL, + "CustomerId" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "CurrencyId" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_SalePriceSheet" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Shift" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "EndAtNextDay" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Shift" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_StdCostPriceSheet" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NOT NULL, + "SupplierId" uuid NOT NULL, + "Description" character varying(1024) NULL, + "CurrencyId" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_StdCostPriceSheet" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Supplier" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NOT NULL, + "ShortName" character varying(64) NULL, + "Address" character varying(1024) NULL, + "Country" character varying(64) NULL, + "City" character varying(64) NULL, + "Phone" character varying(64) NULL, + "Fax" character varying(64) NULL, + "PostID" character varying(64) NULL, + "Contacts" character varying(64) NULL, + "Bank" character varying(64) NULL, + "Currency" character varying(64) NULL, + "TaxRate" numeric(18,6) NOT NULL, + "IsActive" boolean NOT NULL DEFAULT TRUE, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Supplier" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_SupplierItem" ( + "Id" uuid NOT NULL, + "SupplierCode" character varying(64) NOT NULL, + "SupplierSimpleName" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "SupplierItemCode" character varying(64) NOT NULL, + "Version" character varying(64) NULL, + "SupplierPackUom" character varying(64) NULL, + "SupplierPackQty" numeric(18,6) NOT NULL, + "QtyPerPallet" numeric(18,6) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_SupplierItem" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_SupplierTimeWindow" ( + "Id" uuid NOT NULL, + "SupplierCode" character varying(64) NOT NULL, + "SupplierName" character varying(64) NOT NULL, + "TimeSlot" character varying(64) NOT NULL, + "Week" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_SupplierTimeWindow" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Team" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(64) NULL, + "Members" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Team" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_TransactionType" ( + "Id" uuid NOT NULL, + "TransType" character varying(64) NOT NULL, + "TransSubType" character varying(64) NOT NULL, + "Description" character varying(1024) NOT NULL, + "InLocationTypes" character varying(64) NULL, + "OutLocationTypes" character varying(64) NULL, + "InLocationAreas" text NULL, + "OutLocationAreas" text NULL, + "ItemStatuses" character varying(64) NULL, + "ItemTypes" character varying(64) NULL, + "InInventoryStatuses" character varying(64) NULL, + "OutInventoryStatuses" character varying(64) NULL, + "AutoSubmitRequest" boolean NOT NULL, + "AutoAgreeRequest" boolean NOT NULL, + "AutoHandleRequest" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "Enabled" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_TransactionType" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Uom" ( + "Id" uuid NOT NULL, + "Name" character varying(64) NULL, + "Code" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Uom" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_Warehouse" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_Warehouse" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_WorkGroup" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_WorkGroup" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_WorkShop" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_WorkShop" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_WorkStation" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NOT NULL, + "Description" character varying(1024) NULL, + "ProductionLineCode" character varying(64) NOT NULL, + "RawLocationCode" character varying(64) NULL, + "ProductLocationCode" character varying(64) NULL, + "Type" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Basedata_WorkStation" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Basedata_DictItem" ( + "Id" uuid NOT NULL, + "MasterId" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Value" character varying(64) NULL, + "Description" character varying(1024) NULL, + "Enabled" boolean NOT NULL, + "Remark" character varying(3072) NULL, + "TenantId" uuid NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + CONSTRAINT "PK_Basedata_DictItem" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Basedata_DictItem_Basedata_Dict_MasterId" FOREIGN KEY ("MasterId") REFERENCES "Basedata_Dict" ("Id") ON DELETE CASCADE +); + + +CREATE UNIQUE INDEX "IX_Basedata_AQL_SupplierCode_ItemCode_FloorQty" ON "Basedata_AQL" ("SupplierCode", "ItemCode", "FloorQty"); + + +CREATE UNIQUE INDEX "IX_Basedata_Area_Code" ON "Basedata_Area" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_Bom_Product_Component" ON "Basedata_Bom" ("Product", "Component"); + + +CREATE UNIQUE INDEX "IX_Basedata_Calendar_Module" ON "Basedata_Calendar" ("Module"); + + +CREATE UNIQUE INDEX "IX_Basedata_Category_Code" ON "Basedata_Category" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_Currency_Code" ON "Basedata_Currency" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_CurrencyExchange_CurrencyId_BasicCurrencyId" ON "Basedata_CurrencyExchange" ("CurrencyId", "BasicCurrencyId"); + + +CREATE UNIQUE INDEX "IX_Basedata_Customer_Code" ON "Basedata_Customer" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_CustomerAddress_Code_CustomerCode" ON "Basedata_CustomerAddress" ("Code", "CustomerCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_CustomerItem_CustomerCode_ItemCode" ON "Basedata_CustomerItem" ("CustomerCode", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_Dict_Code" ON "Basedata_Dict" ("Code"); + + +CREATE INDEX "IX_Basedata_DictItem_MasterId" ON "Basedata_DictItem" ("MasterId"); + + +CREATE UNIQUE INDEX "IX_Basedata_Dock_Code" ON "Basedata_Dock" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_DocumentSetting_Code" ON "Basedata_DocumentSetting" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_ErpLocation_Code" ON "Basedata_ErpLocation" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_InterfaceCalendar_Code" ON "Basedata_InterfaceCalendar" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemBasic_Code" ON "Basedata_ItemBasic" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemCategory_CategoryCode_ItemCode" ON "Basedata_ItemCategory" ("CategoryCode", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemGuideBook_ItemCode" ON "Basedata_ItemGuideBook" ("ItemCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemPack_ItemCode_PackCode" ON "Basedata_ItemPack" ("ItemCode", "PackCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemQuality_ItemCode_SupplierCode" ON "Basedata_ItemQuality" ("ItemCode", "SupplierCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemSafetyStock_ItemCode_WarehouseCode_StoreRelati~" ON "Basedata_ItemSafetyStock" ("ItemCode", "WarehouseCode", "StoreRelationType", "StoreValue"); + + +CREATE UNIQUE INDEX "IX_Basedata_ItemStoreRelation_ItemCode_StoreRelationType_Store~" ON "Basedata_ItemStoreRelation" ("ItemCode", "StoreRelationType", "StoreValue"); + + +CREATE UNIQUE INDEX "IX_Basedata_Location_Code" ON "Basedata_Location" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_LocationGroup_Code" ON "Basedata_LocationGroup" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_Machine_Code" ON "Basedata_Machine" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_ProductionLine_Code" ON "Basedata_ProductionLine" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_ProductionLineItem_ProdLineCode_ItemCode" ON "Basedata_ProductionLineItem" ("ProdLineCode", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_Project_Code" ON "Basedata_Project" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_PurchasePriceSheet_Code" ON "Basedata_PurchasePriceSheet" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_SalePriceSheet_Code_CustomerId" ON "Basedata_SalePriceSheet" ("Code", "CustomerId"); + + +CREATE UNIQUE INDEX "IX_Basedata_Shift_Code" ON "Basedata_Shift" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_StdCostPriceSheet_Code_SupplierId" ON "Basedata_StdCostPriceSheet" ("Code", "SupplierId"); + + +CREATE UNIQUE INDEX "IX_Basedata_Supplier_Code" ON "Basedata_Supplier" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_SupplierItem_SupplierCode_ItemCode" ON "Basedata_SupplierItem" ("SupplierCode", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Basedata_SupplierTimeWindow_SupplierCode_TimeSlot_Week" ON "Basedata_SupplierTimeWindow" ("SupplierCode", "TimeSlot", "Week"); + + +CREATE UNIQUE INDEX "IX_Basedata_Team_Code" ON "Basedata_Team" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_TransactionType_TransType_TransSubType" ON "Basedata_TransactionType" ("TransType", "TransSubType"); + + +CREATE UNIQUE INDEX "IX_Basedata_Uom_Code" ON "Basedata_Uom" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_Warehouse_Code" ON "Basedata_Warehouse" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_WorkGroup_Code" ON "Basedata_WorkGroup" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_WorkShop_Code" ON "Basedata_WorkShop" ("Code"); + + +CREATE UNIQUE INDEX "IX_Basedata_WorkStation_Code" ON "Basedata_WorkStation" ("Code"); + + diff --git a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.FileStorageDbContext.sql b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.FileStorageDbContext.sql index 14f069f75..1af247d95 100644 --- a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.FileStorageDbContext.sql +++ b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.FileStorageDbContext.sql @@ -5,8 +5,7 @@ CREATE TABLE [AbpBlobContainers] ( [ExtraProperties] nvarchar(max) NULL, [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpBlobContainers] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [FileStorage_DataExportTask] ( @@ -29,8 +28,7 @@ CREATE TABLE [FileStorage_DataExportTask] ( [EndTime] datetime2 NULL, [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_FileStorage_DataExportTask] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [FileStorage_DataImportTask] ( @@ -55,8 +53,7 @@ CREATE TABLE [FileStorage_DataImportTask] ( [EndTime] datetime2 NULL, [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_FileStorage_DataImportTask] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [FileStorage_File] ( @@ -73,8 +70,7 @@ CREATE TABLE [FileStorage_File] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(max) NULL, CONSTRAINT [PK_FileStorage_File] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [AbpBlobs] ( @@ -87,19 +83,15 @@ CREATE TABLE [AbpBlobs] ( [ConcurrencyStamp] nvarchar(40) NULL, CONSTRAINT [PK_AbpBlobs] PRIMARY KEY ([Id]), CONSTRAINT [FK_AbpBlobs_AbpBlobContainers_ContainerId] FOREIGN KEY ([ContainerId]) REFERENCES [AbpBlobContainers] ([Id]) ON DELETE CASCADE -); -GO +) -CREATE INDEX [IX_AbpBlobContainers_TenantId_Name] ON [AbpBlobContainers] ([TenantId], [Name]); -GO +CREATE INDEX [IX_AbpBlobContainers_TenantId_Name] ON [AbpBlobContainers] ([TenantId], [Name]) -CREATE INDEX [IX_AbpBlobs_ContainerId] ON [AbpBlobs] ([ContainerId]); -GO +CREATE INDEX [IX_AbpBlobs_ContainerId] ON [AbpBlobs] ([ContainerId]) -CREATE INDEX [IX_AbpBlobs_TenantId_ContainerId_Name] ON [AbpBlobs] ([TenantId], [ContainerId], [Name]); -GO +CREATE INDEX [IX_AbpBlobs_TenantId_ContainerId_Name] ON [AbpBlobs] ([TenantId], [ContainerId], [Name]) diff --git a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.LabelDbContext.sql b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.LabelDbContext.sql index 0e3cb8422..62cc74b72 100644 --- a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.LabelDbContext.sql +++ b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.LabelDbContext.sql @@ -11,8 +11,7 @@ CREATE TABLE [Label_CountLabel] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_CountLabel] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Label_InventoryLabel] ( @@ -59,8 +58,7 @@ CREATE TABLE [Label_InventoryLabel] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_InventoryLabel] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Label_LabelDefinition] ( @@ -82,8 +80,7 @@ CREATE TABLE [Label_LabelDefinition] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_LabelDefinition] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Label_PalletCode] ( @@ -99,8 +96,7 @@ CREATE TABLE [Label_PalletCode] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_PalletCode] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Label_PalletLabel] ( @@ -122,8 +118,7 @@ CREATE TABLE [Label_PalletLabel] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_PalletLabel] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Label_SaleLabel] ( @@ -158,8 +153,7 @@ CREATE TABLE [Label_SaleLabel] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_SaleLabel] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Label_SerialCode] ( @@ -175,35 +169,27 @@ CREATE TABLE [Label_SerialCode] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Label_SerialCode] PRIMARY KEY ([Id]) -); -GO +) -CREATE UNIQUE INDEX [IX_Label_CountLabel_RuleCode_CountNumber] ON [Label_CountLabel] ([RuleCode], [CountNumber]); -GO +CREATE UNIQUE INDEX [IX_Label_CountLabel_RuleCode_CountNumber] ON [Label_CountLabel] ([RuleCode], [CountNumber]) -CREATE UNIQUE INDEX [IX_Label_InventoryLabel_Code] ON [Label_InventoryLabel] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Label_InventoryLabel_Code] ON [Label_InventoryLabel] ([Code]) -CREATE UNIQUE INDEX [IX_Label_LabelDefinition_Code] ON [Label_LabelDefinition] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Label_LabelDefinition_Code] ON [Label_LabelDefinition] ([Code]) -CREATE UNIQUE INDEX [IX_Label_PalletCode_RuleCode_PalletlNumber] ON [Label_PalletCode] ([RuleCode], [PalletlNumber]); -GO +CREATE UNIQUE INDEX [IX_Label_PalletCode_RuleCode_PalletlNumber] ON [Label_PalletCode] ([RuleCode], [PalletlNumber]) -CREATE UNIQUE INDEX [IX_Label_PalletLabel_Code] ON [Label_PalletLabel] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Label_PalletLabel_Code] ON [Label_PalletLabel] ([Code]) -CREATE UNIQUE INDEX [IX_Label_SaleLabel_Code] ON [Label_SaleLabel] ([Code]); -GO +CREATE UNIQUE INDEX [IX_Label_SaleLabel_Code] ON [Label_SaleLabel] ([Code]) -CREATE UNIQUE INDEX [IX_Label_SerialCode_RuleCode_SerialNumber] ON [Label_SerialCode] ([RuleCode], [SerialNumber]); -GO +CREATE UNIQUE INDEX [IX_Label_SerialCode_RuleCode_SerialNumber] ON [Label_SerialCode] ([RuleCode], [SerialNumber]) diff --git a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.MessageDbContext.sql b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.MessageDbContext.sql index c0023c36f..19c8d2c03 100644 --- a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.MessageDbContext.sql +++ b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.MessageDbContext.sql @@ -15,8 +15,7 @@ CREATE TABLE [Message_Announcement] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Message_Announcement] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Message_MessageType] ( @@ -36,8 +35,7 @@ CREATE TABLE [Message_MessageType] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Message_MessageType] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Message_MessageTypeSubscribe] ( @@ -55,8 +53,7 @@ CREATE TABLE [Message_MessageTypeSubscribe] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Message_MessageTypeSubscribe] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Message_NotifyMessage] ( @@ -75,8 +72,7 @@ CREATE TABLE [Message_NotifyMessage] ( [MessageLevel] nvarchar(64) NOT NULL, [SendTime] datetime2 NOT NULL, CONSTRAINT [PK_Message_NotifyMessage] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Message_PrivateMessage] ( @@ -100,8 +96,7 @@ CREATE TABLE [Message_PrivateMessage] ( [MessageLevel] nvarchar(64) NOT NULL, [SendTime] datetime2 NOT NULL, CONSTRAINT [PK_Message_PrivateMessage] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Message_UserNotifyMessage] ( @@ -127,31 +122,24 @@ CREATE TABLE [Message_UserNotifyMessage] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Message_UserNotifyMessage] PRIMARY KEY ([Id]) -); -GO +) -CREATE INDEX [IX_Message_Announcement_Title] ON [Message_Announcement] ([Title]); -GO +CREATE INDEX [IX_Message_Announcement_Title] ON [Message_Announcement] ([Title]) -CREATE INDEX [IX_Message_MessageType_MessageTypeCode] ON [Message_MessageType] ([MessageTypeCode]); -GO +CREATE INDEX [IX_Message_MessageType_MessageTypeCode] ON [Message_MessageType] ([MessageTypeCode]) -CREATE INDEX [IX_Message_MessageTypeSubscribe_UserId_MessageTypeId] ON [Message_MessageTypeSubscribe] ([UserId], [MessageTypeId]); -GO +CREATE INDEX [IX_Message_MessageTypeSubscribe_UserId_MessageTypeId] ON [Message_MessageTypeSubscribe] ([UserId], [MessageTypeId]) -CREATE INDEX [IX_Message_NotifyMessage_Title] ON [Message_NotifyMessage] ([Title]); -GO +CREATE INDEX [IX_Message_NotifyMessage_Title] ON [Message_NotifyMessage] ([Title]) -CREATE INDEX [IX_Message_PrivateMessage_FromUserId_ToUserId_Title] ON [Message_PrivateMessage] ([FromUserId], [ToUserId], [Title]); -GO +CREATE INDEX [IX_Message_PrivateMessage_FromUserId_ToUserId_Title] ON [Message_PrivateMessage] ([FromUserId], [ToUserId], [Title]) -CREATE INDEX [IX_Message_UserNotifyMessage_UserId_MessageId] ON [Message_UserNotifyMessage] ([UserId], [MessageId]); -GO +CREATE INDEX [IX_Message_UserNotifyMessage_UserId_MessageId] ON [Message_UserNotifyMessage] ([UserId], [MessageId]) diff --git a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.FileStorageDbContext.sql b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.FileStorageDbContext.sql new file mode 100644 index 000000000..1684e65c5 --- /dev/null +++ b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.FileStorageDbContext.sql @@ -0,0 +1,97 @@ +CREATE TABLE "AbpBlobContainers" ( + "Id" uuid NOT NULL, + "TenantId" uuid NULL, + "Name" character varying(128) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpBlobContainers" PRIMARY KEY ("Id") +); + + +CREATE TABLE "FileStorage_DataExportTask" ( + "Id" uuid NOT NULL, + "ExportFileBlobName" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Function" character varying(64) NOT NULL, + "Route" character varying(64) NOT NULL, + "RequestParam" text NULL, + "ReturnResult" text NULL, + "Worker" character varying(64) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_FileStorage_DataExportTask" PRIMARY KEY ("Id") +); + + +CREATE TABLE "FileStorage_DataImportTask" ( + "Id" uuid NOT NULL, + "ImportFileBlobName" character varying(64) NOT NULL, + "ImportReportBlobName" character varying(64) NULL, + "ImportStatus" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Function" character varying(64) NOT NULL, + "Route" character varying(64) NOT NULL, + "RequestParam" text NULL, + "ReturnResult" text NULL, + "Worker" character varying(64) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_FileStorage_DataImportTask" PRIMARY KEY ("Id") +); + + +CREATE TABLE "FileStorage_File" ( + "Id" uuid NOT NULL, + "FileName" character varying(1024) NOT NULL, + "BlobName" character varying(1024) NOT NULL, + "ByteSize" bigint NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" text NULL, + CONSTRAINT "PK_FileStorage_File" PRIMARY KEY ("Id") +); + + +CREATE TABLE "AbpBlobs" ( + "Id" uuid NOT NULL, + "ContainerId" uuid NOT NULL, + "TenantId" uuid NULL, + "Name" character varying(256) NOT NULL, + "Content" bytea NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + CONSTRAINT "PK_AbpBlobs" PRIMARY KEY ("Id"), + CONSTRAINT "FK_AbpBlobs_AbpBlobContainers_ContainerId" FOREIGN KEY ("ContainerId") REFERENCES "AbpBlobContainers" ("Id") ON DELETE CASCADE +); + + +CREATE INDEX "IX_AbpBlobContainers_TenantId_Name" ON "AbpBlobContainers" ("TenantId", "Name"); + + +CREATE INDEX "IX_AbpBlobs_ContainerId" ON "AbpBlobs" ("ContainerId"); + + +CREATE INDEX "IX_AbpBlobs_TenantId_ContainerId_Name" ON "AbpBlobs" ("TenantId", "ContainerId", "Name"); + + diff --git a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.LabelDbContext.sql b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.LabelDbContext.sql new file mode 100644 index 000000000..fd45cdd92 --- /dev/null +++ b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.LabelDbContext.sql @@ -0,0 +1,195 @@ +CREATE TABLE "Label_CountLabel" ( + "Id" uuid NOT NULL, + "RuleCode" character varying(64) NOT NULL, + "CountNumber" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_CountLabel" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Label_InventoryLabel" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "LabelType" character varying(64) NOT NULL, + "FullBarcodeString" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "ItemName" text NULL, + "ItemDesc1" text NULL, + "ItemDesc2" text NULL, + "Lot" character varying(64) NOT NULL, + "SupplierBatch" text NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Uom" character varying(64) NULL, + "Qty" numeric(18,6) NOT NULL, + "LabelStatus" character varying(64) NOT NULL, + "RecommendLocationCode" character varying(64) NULL, + "LocationErpCode" text NULL, + "ContainerCode" character varying(64) NULL, + "QualityInfo_QLevel" character varying(64) NULL, + "QualityInfo_QualityFile" character varying(64) NULL, + "PurchaseInfo_SupplierCode" character varying(64) NULL, + "PurchaseInfo_PoNumber" character varying(64) NULL, + "PurchaseInfo_RpNumber" character varying(64) NULL, + "PurchaseInfo_AsnNumber" character varying(64) NULL, + "ProductionInfo_ProdLine" character varying(64) NULL, + "ProductionInfo_Team" character varying(64) NULL, + "ProductionInfo_Shift" character varying(64) NULL, + "Specifications" text NULL, + "SupplierName" text NULL, + "SupplierSimpleName" text NULL, + "SupplierItemCode" text NULL, + "SupplierItemName" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_InventoryLabel" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Label_LabelDefinition" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "Name" character varying(64) NULL, + "Description" character varying(1024) NULL, + "Type" character varying(64) NULL, + "Prefix" character varying(64) NULL, + "Format" character varying(64) NULL, + "SerialLength" integer NOT NULL, + "Separator" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_LabelDefinition" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Label_PalletCode" ( + "Id" uuid NOT NULL, + "RuleCode" character varying(64) NOT NULL, + "PalletlNumber" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_PalletCode" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Label_PalletLabel" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "LabelType" character varying(64) NOT NULL, + "LabelStatus" character varying(64) NOT NULL, + "HasItem" boolean NOT NULL, + "Name" text NULL, + "Desc1" text NULL, + "Desc2" text NULL, + "ParentId" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_PalletLabel" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Label_SaleLabel" ( + "Id" uuid NOT NULL, + "Code" character varying(64) NOT NULL, + "LabelType" character varying(64) NOT NULL, + "FullBarcodeString" character varying(64) NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "ItemName" text NULL, + "ItemDesc1" text NULL, + "ItemDesc2" text NULL, + "Lot" character varying(64) NOT NULL, + "SupplierBatch" text NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Uom" character varying(64) NULL, + "Qty" numeric(18,6) NOT NULL, + "LabelStatus" character varying(64) NOT NULL, + "DocumentCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NOT NULL, + "SaleInfo_SaleInfoName" text NULL, + "QualityInfo_QLevel" character varying(64) NULL, + "QualityInfo_QualityFile" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_SaleLabel" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Label_SerialCode" ( + "Id" uuid NOT NULL, + "RuleCode" character varying(64) NOT NULL, + "SerialNumber" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Label_SerialCode" PRIMARY KEY ("Id") +); + + +CREATE UNIQUE INDEX "IX_Label_CountLabel_RuleCode_CountNumber" ON "Label_CountLabel" ("RuleCode", "CountNumber"); + + +CREATE UNIQUE INDEX "IX_Label_InventoryLabel_Code" ON "Label_InventoryLabel" ("Code"); + + +CREATE UNIQUE INDEX "IX_Label_LabelDefinition_Code" ON "Label_LabelDefinition" ("Code"); + + +CREATE UNIQUE INDEX "IX_Label_PalletCode_RuleCode_PalletlNumber" ON "Label_PalletCode" ("RuleCode", "PalletlNumber"); + + +CREATE UNIQUE INDEX "IX_Label_PalletLabel_Code" ON "Label_PalletLabel" ("Code"); + + +CREATE UNIQUE INDEX "IX_Label_SaleLabel_Code" ON "Label_SaleLabel" ("Code"); + + +CREATE UNIQUE INDEX "IX_Label_SerialCode_RuleCode_SerialNumber" ON "Label_SerialCode" ("RuleCode", "SerialNumber"); + + diff --git a/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.MessageDbContext.sql b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.MessageDbContext.sql new file mode 100644 index 000000000..2fa656d32 --- /dev/null +++ b/be/Hosts/Core.Host/Win_in.Sfs.Core.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.MessageDbContext.sql @@ -0,0 +1,145 @@ +CREATE TABLE "Message_Announcement" ( + "Id" uuid NOT NULL, + "Title" character varying(64) NOT NULL, + "Brief" character varying(1024) NOT NULL, + "Content" character varying(3072) NULL, + "MessageLevel" character varying(64) NOT NULL, + "ActiveTime" timestamp without time zone NOT NULL, + "ExpireTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Message_Announcement" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Message_MessageType" ( + "Id" uuid NOT NULL, + "MessageTypeCode" character varying(64) NULL, + "MessageTypeName" character varying(64) NULL, + "EmailTemplate" character varying(3072) NULL, + "SmsTemplate" character varying(1024) NULL, + "IsSendEmail" boolean NOT NULL, + "IsSendSms" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Message_MessageType" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Message_MessageTypeSubscribe" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "Username" character varying(64) NULL, + "MessageTypeId" uuid NOT NULL, + "MessageTypeCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Message_MessageTypeSubscribe" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Message_NotifyMessage" ( + "Id" uuid NOT NULL, + "MessageType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Title" character varying(64) NOT NULL, + "Content" text NULL, + "MessageLevel" character varying(64) NOT NULL, + "SendTime" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Message_NotifyMessage" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Message_PrivateMessage" ( + "Id" uuid NOT NULL, + "FromUserId" uuid NOT NULL, + "ToUserId" uuid NOT NULL, + "FromUsername" character varying(64) NOT NULL, + "ToUsername" character varying(64) NOT NULL, + "HasRead" boolean NOT NULL, + "ReadTime" timestamp without time zone NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Title" character varying(64) NOT NULL, + "Content" text NULL, + "MessageLevel" character varying(64) NOT NULL, + "SendTime" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Message_PrivateMessage" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Message_UserNotifyMessage" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "Username" character varying(64) NULL, + "MessageId" uuid NOT NULL, + "Title" character varying(1024) NULL, + "HasRead" boolean NOT NULL, + "ReadTime" timestamp without time zone NULL, + "HasPush" boolean NOT NULL, + "PushTime" timestamp without time zone NULL, + "SmsHasSent" boolean NOT NULL, + "SmsSendTime" timestamp without time zone NULL, + "EmailHasSent" boolean NOT NULL, + "EmailSendTime" timestamp without time zone NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Message_UserNotifyMessage" PRIMARY KEY ("Id") +); + + +CREATE INDEX "IX_Message_Announcement_Title" ON "Message_Announcement" ("Title"); + + +CREATE INDEX "IX_Message_MessageType_MessageTypeCode" ON "Message_MessageType" ("MessageTypeCode"); + + +CREATE INDEX "IX_Message_MessageTypeSubscribe_UserId_MessageTypeId" ON "Message_MessageTypeSubscribe" ("UserId", "MessageTypeId"); + + +CREATE INDEX "IX_Message_NotifyMessage_Title" ON "Message_NotifyMessage" ("Title"); + + +CREATE INDEX "IX_Message_PrivateMessage_FromUserId_ToUserId_Title" ON "Message_PrivateMessage" ("FromUserId", "ToUserId", "Title"); + + +CREATE INDEX "IX_Message_UserNotifyMessage_UserId_MessageId" ON "Message_UserNotifyMessage" ("UserId", "MessageId"); + + diff --git a/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.InventoryDbContext.sql b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.InventoryDbContext.sql index d30f4175d..ca3922f7a 100644 --- a/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.InventoryDbContext.sql +++ b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.InventoryDbContext.sql @@ -38,8 +38,7 @@ CREATE TABLE [Inventory_Balance] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_Balance] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_Container] ( @@ -64,8 +63,7 @@ CREATE TABLE [Inventory_Container] ( [Worker] nvarchar(max) NULL, [Number] nvarchar(max) NULL, CONSTRAINT [PK_Inventory_Container] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_ErpBalance] ( @@ -85,8 +83,7 @@ CREATE TABLE [Inventory_ErpBalance] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_ErpBalance] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_ExpectIn] ( @@ -121,8 +118,7 @@ CREATE TABLE [Inventory_ExpectIn] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_ExpectIn] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_ExpectOut] ( @@ -157,8 +153,7 @@ CREATE TABLE [Inventory_ExpectOut] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_ExpectOut] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_LocationCapacity] ( @@ -177,8 +172,7 @@ CREATE TABLE [Inventory_LocationCapacity] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_LocationCapacity] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_Snapshot] ( @@ -215,8 +209,7 @@ CREATE TABLE [Inventory_Snapshot] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_Snapshot] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_Transaction] ( @@ -260,8 +253,7 @@ CREATE TABLE [Inventory_Transaction] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_Transaction] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_TransferLog] ( @@ -314,8 +306,7 @@ CREATE TABLE [Inventory_TransferLog] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_TransferLog] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Inventory_ContainerDetail] ( @@ -349,51 +340,39 @@ CREATE TABLE [Inventory_ContainerDetail] ( [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Inventory_ContainerDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Inventory_ContainerDetail_Inventory_Container_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Inventory_Container] ([Id]) ON DELETE CASCADE -); -GO +) -CREATE UNIQUE INDEX [IX_Inventory_Balance_PackingCode_Status_LocationCode_ItemCode_Lot_ContainerCode] ON [Inventory_Balance] ([PackingCode], [Status], [LocationCode], [ItemCode], [Lot], [ContainerCode]) WHERE [ContainerCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Inventory_Balance_PackingCode_Status_LocationCode_ItemCode_Lot_ContainerCode] ON [Inventory_Balance] ([PackingCode], [Status], [LocationCode], [ItemCode], [Lot], [ContainerCode]) WHERE [ContainerCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Inventory_Container_ContainerCode] ON [Inventory_Container] ([ContainerCode]); -GO +CREATE UNIQUE INDEX [IX_Inventory_Container_ContainerCode] ON [Inventory_Container] ([ContainerCode]) -CREATE INDEX [IX_Inventory_ContainerDetail_MasterID] ON [Inventory_ContainerDetail] ([MasterID]); -GO +CREATE INDEX [IX_Inventory_ContainerDetail_MasterID] ON [Inventory_ContainerDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Inventory_ContainerDetail_PackingCode_Lot_ItemCode] ON [Inventory_ContainerDetail] ([PackingCode], [Lot], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Inventory_ContainerDetail_PackingCode_Lot_ItemCode] ON [Inventory_ContainerDetail] ([PackingCode], [Lot], [ItemCode]) -CREATE UNIQUE INDEX [IX_Inventory_ErpBalance_ItemCode_Lot_LocationCode_Status] ON [Inventory_ErpBalance] ([ItemCode], [Lot], [LocationCode], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Inventory_ErpBalance_ItemCode_Lot_LocationCode_Status] ON [Inventory_ErpBalance] ([ItemCode], [Lot], [LocationCode], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Inventory_ExpectIn_PackingCode_LocationCode_ItemCode_JobNumber] ON [Inventory_ExpectIn] ([PackingCode], [LocationCode], [ItemCode], [JobNumber]); -GO +CREATE UNIQUE INDEX [IX_Inventory_ExpectIn_PackingCode_LocationCode_ItemCode_JobNumber] ON [Inventory_ExpectIn] ([PackingCode], [LocationCode], [ItemCode], [JobNumber]) -CREATE UNIQUE INDEX [IX_Inventory_ExpectOut_PackingCode_Status_ItemCode_LocationCode_Lot_JobNumber] ON [Inventory_ExpectOut] ([PackingCode], [Status], [ItemCode], [LocationCode], [Lot], [JobNumber]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Inventory_ExpectOut_PackingCode_Status_ItemCode_LocationCode_Lot_JobNumber] ON [Inventory_ExpectOut] ([PackingCode], [Status], [ItemCode], [LocationCode], [Lot], [JobNumber]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Inventory_LocationCapacity_LocationCode] ON [Inventory_LocationCapacity] ([LocationCode]); -GO +CREATE UNIQUE INDEX [IX_Inventory_LocationCapacity_LocationCode] ON [Inventory_LocationCapacity] ([LocationCode]) -CREATE UNIQUE INDEX [IX_Inventory_Snapshot_SnapshotDate_SnapshotTime_PackingCode] ON [Inventory_Snapshot] ([SnapshotDate], [SnapshotTime], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Inventory_Snapshot_SnapshotDate_SnapshotTime_PackingCode] ON [Inventory_Snapshot] ([SnapshotDate], [SnapshotTime], [PackingCode]) -CREATE UNIQUE INDEX [IX_Inventory_Transaction_TransNumber] ON [Inventory_Transaction] ([TransNumber]); -GO +CREATE UNIQUE INDEX [IX_Inventory_Transaction_TransNumber] ON [Inventory_Transaction] ([TransNumber]) -CREATE UNIQUE INDEX [IX_Inventory_TransferLog_TransferNumber] ON [Inventory_TransferLog] ([TransferNumber]); -GO +CREATE UNIQUE INDEX [IX_Inventory_TransferLog_TransferNumber] ON [Inventory_TransferLog] ([TransferNumber]) diff --git a/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.StoreDbContext.sql b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.StoreDbContext.sql index 896f1cf3e..a71af1752 100644 --- a/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.StoreDbContext.sql +++ b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Microsoft.EntityFrameworkCore.SqlServer.StoreDbContext.sql @@ -27,8 +27,7 @@ CREATE TABLE [Job_CheckJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_CheckJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_CountJob] ( @@ -66,8 +65,7 @@ CREATE TABLE [Job_CountJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_CountJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_DeliverJob] ( @@ -103,8 +101,7 @@ CREATE TABLE [Job_DeliverJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_DeliverJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_InspectJob] ( @@ -143,8 +140,7 @@ CREATE TABLE [Job_InspectJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_InspectJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_IssueJob] ( @@ -180,8 +176,7 @@ CREATE TABLE [Job_IssueJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_IssueJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_JisDeliverJob] ( @@ -221,8 +216,7 @@ CREATE TABLE [Job_JisDeliverJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_JisDeliverJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_ProductionReturnJob] ( @@ -254,8 +248,7 @@ CREATE TABLE [Job_ProductionReturnJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_ProductionReturnJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_ProductReceiveJob] ( @@ -289,8 +282,7 @@ CREATE TABLE [Job_ProductReceiveJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_ProductReceiveJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_PurchaseReceiptJob] ( @@ -330,8 +322,7 @@ CREATE TABLE [Job_PurchaseReceiptJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_PurchaseReceiptJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_PurchaseReturnJob] ( @@ -370,8 +361,7 @@ CREATE TABLE [Job_PurchaseReturnJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_PurchaseReturnJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_PutawayJob] ( @@ -412,8 +402,7 @@ CREATE TABLE [Job_PutawayJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_PutawayJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_UnplannedIssueJob] ( @@ -448,8 +437,7 @@ CREATE TABLE [Job_UnplannedIssueJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_UnplannedIssueJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_UnplannedReceiptJob] ( @@ -484,8 +472,7 @@ CREATE TABLE [Job_UnplannedReceiptJob] ( [CompleteTime] datetime2 NULL, [WarehouseCode] nvarchar(max) NULL, CONSTRAINT [PK_Job_UnplannedReceiptJob] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_BackFlushNote] ( @@ -527,8 +514,7 @@ CREATE TABLE [Store_BackFlushNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_BackFlushNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ContainerBindNote] ( @@ -549,8 +535,7 @@ CREATE TABLE [Store_ContainerBindNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ContainerBindNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_CountAdjustNote] ( @@ -573,8 +558,7 @@ CREATE TABLE [Store_CountAdjustNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_CountAdjustNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_CountAdjustRequest] ( @@ -599,8 +583,7 @@ CREATE TABLE [Store_CountAdjustRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_CountAdjustRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_CountNote] ( @@ -624,8 +607,7 @@ CREATE TABLE [Store_CountNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_CountNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_CountPlan] ( @@ -659,8 +641,7 @@ CREATE TABLE [Store_CountPlan] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_CountPlan] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_CustomerAsn] ( @@ -686,8 +667,7 @@ CREATE TABLE [Store_CustomerAsn] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_CustomerAsn] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_CustomerReturnNote] ( @@ -707,8 +687,7 @@ CREATE TABLE [Store_CustomerReturnNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_CustomerReturnNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_DeliverNote] ( @@ -732,8 +711,7 @@ CREATE TABLE [Store_DeliverNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_DeliverNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_DeliverPlan] ( @@ -762,8 +740,7 @@ CREATE TABLE [Store_DeliverPlan] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_DeliverPlan] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_DeliverRequest] ( @@ -791,8 +768,7 @@ CREATE TABLE [Store_DeliverRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_DeliverRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ExchangeData] ( @@ -822,8 +798,7 @@ CREATE TABLE [Store_ExchangeData] ( [TenantId] uniqueidentifier NULL, [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Store_ExchangeData] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_InspectAbnormalNote] ( @@ -843,8 +818,7 @@ CREATE TABLE [Store_InspectAbnormalNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_InspectAbnormalNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_InspectNote] ( @@ -870,8 +844,7 @@ CREATE TABLE [Store_InspectNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_InspectNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_InspectRequest] ( @@ -900,8 +873,7 @@ CREATE TABLE [Store_InspectRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_InspectRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_InventoryInitialNote] ( @@ -919,8 +891,7 @@ CREATE TABLE [Store_InventoryInitialNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_InventoryInitialNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_InventoryTransferNote] ( @@ -940,8 +911,7 @@ CREATE TABLE [Store_InventoryTransferNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_InventoryTransferNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_IsolationNote] ( @@ -959,8 +929,7 @@ CREATE TABLE [Store_IsolationNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_IsolationNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_IssueNote] ( @@ -984,8 +953,7 @@ CREATE TABLE [Store_IssueNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_IssueNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ItemTransformNote] ( @@ -1004,8 +972,7 @@ CREATE TABLE [Store_ItemTransformNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ItemTransformNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ItemTransformRequest] ( @@ -1028,8 +995,7 @@ CREATE TABLE [Store_ItemTransformRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ItemTransformRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_JisDeliverNote] ( @@ -1055,8 +1021,7 @@ CREATE TABLE [Store_JisDeliverNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_JisDeliverNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_JisProductReceiptNote] ( @@ -1086,8 +1051,7 @@ CREATE TABLE [Store_JisProductReceiptNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_JisProductReceiptNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_MaterialRequest] ( @@ -1115,8 +1079,7 @@ CREATE TABLE [Store_MaterialRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_MaterialRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_NoOkConvertOkNote] ( @@ -1133,8 +1096,7 @@ CREATE TABLE [Store_NoOkConvertOkNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_NoOkConvertOkNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_OfflineSettlementNote] ( @@ -1153,8 +1115,7 @@ CREATE TABLE [Store_OfflineSettlementNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_OfflineSettlementNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PreparationPlan] ( @@ -1179,8 +1140,7 @@ CREATE TABLE [Store_PreparationPlan] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_PreparationPlan] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductionPlan] ( @@ -1209,8 +1169,7 @@ CREATE TABLE [Store_ProductionPlan] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductionPlan] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductionReturnNote] ( @@ -1230,8 +1189,7 @@ CREATE TABLE [Store_ProductionReturnNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ProductionReturnNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductionReturnRequest] ( @@ -1254,8 +1212,7 @@ CREATE TABLE [Store_ProductionReturnRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductionReturnRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductL7PartsNote] ( @@ -1283,8 +1240,7 @@ CREATE TABLE [Store_ProductL7PartsNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ProductL7PartsNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductReceiptNote] ( @@ -1311,8 +1267,7 @@ CREATE TABLE [Store_ProductReceiptNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ProductReceiptNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductReceiptRequest] ( @@ -1342,8 +1297,7 @@ CREATE TABLE [Store_ProductReceiptRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductReceiptRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductRecycleNote] ( @@ -1364,8 +1318,7 @@ CREATE TABLE [Store_ProductRecycleNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ProductRecycleNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ProductRecycleRequest] ( @@ -1390,8 +1343,7 @@ CREATE TABLE [Store_ProductRecycleRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductRecycleRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PurchaseOrder] ( @@ -1419,8 +1371,7 @@ CREATE TABLE [Store_PurchaseOrder] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_PurchaseOrder] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PurchaseReceiptNote] ( @@ -1446,8 +1397,7 @@ CREATE TABLE [Store_PurchaseReceiptNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_PurchaseReceiptNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PurchaseReceiptRequest] ( @@ -1479,8 +1429,7 @@ CREATE TABLE [Store_PurchaseReceiptRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_PurchaseReceiptRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PurchaseReturnNote] ( @@ -1507,8 +1456,7 @@ CREATE TABLE [Store_PurchaseReturnNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_PurchaseReturnNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PurchaseReturnRequest] ( @@ -1537,8 +1485,7 @@ CREATE TABLE [Store_PurchaseReturnRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_PurchaseReturnRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PutawayNote] ( @@ -1564,8 +1511,7 @@ CREATE TABLE [Store_PutawayNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_PutawayNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_PutawayRequest] ( @@ -1599,8 +1545,7 @@ CREATE TABLE [Store_PutawayRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_PutawayRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ReceiptAbnormalNote] ( @@ -1620,8 +1565,7 @@ CREATE TABLE [Store_ReceiptAbnormalNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ReceiptAbnormalNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_RecycledMaterialReceiptNote] ( @@ -1638,8 +1582,7 @@ CREATE TABLE [Store_RecycledMaterialReceiptNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_RecycledMaterialReceiptNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_SaleOrder] ( @@ -1666,8 +1609,7 @@ CREATE TABLE [Store_SaleOrder] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_SaleOrder] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ScrapNote] ( @@ -1687,8 +1629,7 @@ CREATE TABLE [Store_ScrapNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ScrapNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_ScrapRequest] ( @@ -1712,8 +1653,7 @@ CREATE TABLE [Store_ScrapRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ScrapRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_SupplierAsn] ( @@ -1746,8 +1686,7 @@ CREATE TABLE [Store_SupplierAsn] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_SupplierAsn] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_TransferNote] ( @@ -1770,8 +1709,7 @@ CREATE TABLE [Store_TransferNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_TransferNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_TransferRequest] ( @@ -1796,8 +1734,7 @@ CREATE TABLE [Store_TransferRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_TransferRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_UnplannedIssueNote] ( @@ -1819,8 +1756,7 @@ CREATE TABLE [Store_UnplannedIssueNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_UnplannedIssueNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_UnplannedIssueRequest] ( @@ -1846,8 +1782,7 @@ CREATE TABLE [Store_UnplannedIssueRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_UnplannedIssueRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_UnplannedReceiptNote] ( @@ -1869,8 +1804,7 @@ CREATE TABLE [Store_UnplannedReceiptNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_UnplannedReceiptNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_UnplannedReceiptRequest] ( @@ -1896,8 +1830,7 @@ CREATE TABLE [Store_UnplannedReceiptRequest] ( [DirectCreateNote] bit NOT NULL, [RequestStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_UnplannedReceiptRequest] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_WarehouseTransferNote] ( @@ -1916,8 +1849,7 @@ CREATE TABLE [Store_WarehouseTransferNote] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_WarehouseTransferNote] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Store_WorkOrder] ( @@ -1947,8 +1879,7 @@ CREATE TABLE [Store_WorkOrder] ( [Number] nvarchar(64) NOT NULL, [ActiveDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_WorkOrder] PRIMARY KEY ([Id]) -); -GO +) CREATE TABLE [Job_CheckJobDetail] ( @@ -1985,8 +1916,7 @@ CREATE TABLE [Job_CheckJobDetail] ( [WarehouseCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Job_CheckJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_CheckJobDetail_Job_CheckJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_CheckJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_CountJobDetail] ( @@ -2027,8 +1957,7 @@ CREATE TABLE [Job_CountJobDetail] ( [WarehouseCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Job_CountJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_CountJobDetail_Job_CountJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_CountJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_DeliverJobDetail] ( @@ -2082,8 +2011,7 @@ CREATE TABLE [Job_DeliverJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_DeliverJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_DeliverJobDetail_Job_DeliverJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_DeliverJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_InspectJobDetail] ( @@ -2135,8 +2063,7 @@ CREATE TABLE [Job_InspectJobDetail] ( [WarehouseCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Job_InspectJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_InspectJobDetail_Job_InspectJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_InspectJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_InspectJobSummaryDetail] ( @@ -2177,8 +2104,7 @@ CREATE TABLE [Job_InspectJobSummaryDetail] ( [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Job_InspectJobSummaryDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_InspectJobSummaryDetail_Job_InspectJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_InspectJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_IssueJobDetail] ( @@ -2243,8 +2169,7 @@ CREATE TABLE [Job_IssueJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_IssueJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_IssueJobDetail_Job_IssueJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_IssueJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_JisDeliverJobDetail] ( @@ -2274,8 +2199,7 @@ CREATE TABLE [Job_JisDeliverJobDetail] ( [Remark] nvarchar(3072) NULL, CONSTRAINT [PK_Job_JisDeliverJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_JisDeliverJobDetail_Job_JisDeliverJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_JisDeliverJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_ProductionReturnJobDetail] ( @@ -2328,8 +2252,7 @@ CREATE TABLE [Job_ProductionReturnJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_ProductionReturnJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_ProductionReturnJobDetail_Job_ProductionReturnJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_ProductionReturnJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_ProductReceiveJobDetail] ( @@ -2379,8 +2302,7 @@ CREATE TABLE [Job_ProductReceiveJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_ProductReceiveJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_ProductReceiveJobDetail_Job_ProductReceiveJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_ProductReceiveJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_PurchaseReceiptJobDetail] ( @@ -2437,8 +2359,7 @@ CREATE TABLE [Job_PurchaseReceiptJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_PurchaseReceiptJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_PurchaseReceiptJobDetail_Job_PurchaseReceiptJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_PurchaseReceiptJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_PurchaseReturnJobDetail] ( @@ -2489,8 +2410,7 @@ CREATE TABLE [Job_PurchaseReturnJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_PurchaseReturnJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_PurchaseReturnJobDetail_Job_PurchaseReturnJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_PurchaseReturnJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_PutawayJobDetail] ( @@ -2546,8 +2466,7 @@ CREATE TABLE [Job_PutawayJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_PutawayJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_PutawayJobDetail_Job_PutawayJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_PutawayJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_UnplannedIssueJobDetail] ( @@ -2597,8 +2516,7 @@ CREATE TABLE [Job_UnplannedIssueJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_UnplannedIssueJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_UnplannedIssueJobDetail_Job_UnplannedIssueJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_UnplannedIssueJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Job_UnplannedReceiptJobDetail] ( @@ -2648,8 +2566,7 @@ CREATE TABLE [Job_UnplannedReceiptJobDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Job_UnplannedReceiptJobDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Job_UnplannedReceiptJobDetail_Job_UnplannedReceiptJob_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Job_UnplannedReceiptJob] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_BackFlushNoteDetail] ( @@ -2686,8 +2603,7 @@ CREATE TABLE [Store_BackFlushNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_BackFlushNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_BackFlushNoteDetail_Store_BackFlushNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_BackFlushNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ContainerBindNoteDetail] ( @@ -2716,8 +2632,7 @@ CREATE TABLE [Store_ContainerBindNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ContainerBindNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ContainerBindNoteDetail_Store_ContainerBindNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ContainerBindNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_CountAdjustNoteDetail] ( @@ -2757,8 +2672,7 @@ CREATE TABLE [Store_CountAdjustNoteDetail] ( [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_CountAdjustNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_CountAdjustNoteDetail_Store_CountAdjustNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_CountAdjustNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_CountAdjustRequestDetail] ( @@ -2796,8 +2710,7 @@ CREATE TABLE [Store_CountAdjustRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_CountAdjustRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_CountAdjustRequestDetail_Store_CountAdjustRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_CountAdjustRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_CountNoteDetail] ( @@ -2850,8 +2763,7 @@ CREATE TABLE [Store_CountNoteDetail] ( [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_CountNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_CountNoteDetail_Store_CountNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_CountNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_CountPlanDetail] ( @@ -2902,8 +2814,7 @@ CREATE TABLE [Store_CountPlanDetail] ( [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_CountPlanDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_CountPlanDetail_Store_CountPlan_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_CountPlan] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_CustomerAsnDetail] ( @@ -2927,8 +2838,7 @@ CREATE TABLE [Store_CustomerAsnDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_CustomerAsnDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_CustomerAsnDetail_Store_CustomerAsn_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_CustomerAsn] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_CustomerReturnNoteDetail] ( @@ -2972,8 +2882,7 @@ CREATE TABLE [Store_CustomerReturnNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_CustomerReturnNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_CustomerReturnNoteDetail_Store_CustomerReturnNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_CustomerReturnNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_DeliverNoteDetail] ( @@ -3044,8 +2953,7 @@ CREATE TABLE [Store_DeliverNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_DeliverNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_DeliverNoteDetail_Store_DeliverNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_DeliverNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_DeliverPlanDetail] ( @@ -3069,8 +2977,7 @@ CREATE TABLE [Store_DeliverPlanDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_DeliverPlanDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_DeliverPlanDetail_Store_DeliverPlan_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_DeliverPlan] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_DeliverRequestDetail] ( @@ -3094,8 +3001,7 @@ CREATE TABLE [Store_DeliverRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_DeliverRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_DeliverRequestDetail_Store_DeliverRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_DeliverRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InspectAbnormalNoteDetail] ( @@ -3126,8 +3032,7 @@ CREATE TABLE [Store_InspectAbnormalNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_InspectAbnormalNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InspectAbnormalNoteDetail_Store_InspectAbnormalNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InspectAbnormalNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InspectNoteDetail] ( @@ -3180,8 +3085,7 @@ CREATE TABLE [Store_InspectNoteDetail] ( [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_InspectNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InspectNoteDetail_Store_InspectNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InspectNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InspectNoteSummaryDetail] ( @@ -3221,8 +3125,7 @@ CREATE TABLE [Store_InspectNoteSummaryDetail] ( [ExpireDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_InspectNoteSummaryDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InspectNoteSummaryDetail_Store_InspectNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InspectNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InspectRequestDetail] ( @@ -3265,8 +3168,7 @@ CREATE TABLE [Store_InspectRequestDetail] ( [Status] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_InspectRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InspectRequestDetail_Store_InspectRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InspectRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InspectRequestSummaryDetail] ( @@ -3305,8 +3207,7 @@ CREATE TABLE [Store_InspectRequestSummaryDetail] ( [ExpireDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_InspectRequestSummaryDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InspectRequestSummaryDetail_Store_InspectRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InspectRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InventoryInitialNoteDetail] ( @@ -3341,8 +3242,7 @@ CREATE TABLE [Store_InventoryInitialNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_InventoryInitialNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InventoryInitialNoteDetail_Store_InventoryInitialNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InventoryInitialNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_InventoryTransferNoteDetail] ( @@ -3387,8 +3287,7 @@ CREATE TABLE [Store_InventoryTransferNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_InventoryTransferNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_InventoryTransferNoteDetail_Store_InventoryTransferNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_InventoryTransferNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_IsolationNoteDetail] ( @@ -3432,8 +3331,7 @@ CREATE TABLE [Store_IsolationNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_IsolationNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_IsolationNoteDetail_Store_IsolationNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_IsolationNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_IssueNoteDetail] ( @@ -3508,8 +3406,7 @@ CREATE TABLE [Store_IssueNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_IssueNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_IssueNoteDetail_Store_IssueNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_IssueNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ItemTransformNoteDetail] ( @@ -3563,8 +3460,7 @@ CREATE TABLE [Store_ItemTransformNoteDetail] ( [ItemCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ItemTransformNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ItemTransformNoteDetail_Store_ItemTransformNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ItemTransformNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ItemTransformRequestDetail] ( @@ -3617,8 +3513,7 @@ CREATE TABLE [Store_ItemTransformRequestDetail] ( [ItemCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ItemTransformRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ItemTransformRequestDetail_Store_ItemTransformRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ItemTransformRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_JisDeliverNoteDetail] ( @@ -3673,8 +3568,7 @@ CREATE TABLE [Store_JisDeliverNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_JisDeliverNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_JisDeliverNoteDetail_Store_JisDeliverNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_JisDeliverNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_JisProductReceiptNoteDetail] ( @@ -3717,8 +3611,7 @@ CREATE TABLE [Store_JisProductReceiptNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_JisProductReceiptNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_JisProductReceiptNoteDetail_Store_JisProductReceiptNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_JisProductReceiptNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_MaterialRequestDetail] ( @@ -3752,8 +3645,7 @@ CREATE TABLE [Store_MaterialRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_MaterialRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_MaterialRequestDetail_Store_MaterialRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_MaterialRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_NoOkConvertOkNoteDetail] ( @@ -3797,8 +3689,7 @@ CREATE TABLE [Store_NoOkConvertOkNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_NoOkConvertOkNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_NoOkConvertOkNoteDetail_Store_NoOkConvertOkNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_NoOkConvertOkNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_OfflineSettlementNoteDetail] ( @@ -3833,8 +3724,7 @@ CREATE TABLE [Store_OfflineSettlementNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_OfflineSettlementNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_OfflineSettlementNoteDetail_Store_OfflineSettlementNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_OfflineSettlementNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PreparationPlanDetail] ( @@ -3860,8 +3750,7 @@ CREATE TABLE [Store_PreparationPlanDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PreparationPlanDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PreparationPlanDetail_Store_PreparationPlan_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PreparationPlan] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductionPlanDetail] ( @@ -3891,8 +3780,7 @@ CREATE TABLE [Store_ProductionPlanDetail] ( [ExpireDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ProductionPlanDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductionPlanDetail_Store_ProductionPlan_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductionPlan] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductionReturnNoteDetail] ( @@ -3962,8 +3850,7 @@ CREATE TABLE [Store_ProductionReturnNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ProductionReturnNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductionReturnNoteDetail_Store_ProductionReturnNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductionReturnNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductionReturnRequestDetail] ( @@ -4007,8 +3894,7 @@ CREATE TABLE [Store_ProductionReturnRequestDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductionReturnRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductionReturnRequestDetail_Store_ProductionReturnRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductionReturnRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductL7PartsNoteDetail] ( @@ -4042,8 +3928,7 @@ CREATE TABLE [Store_ProductL7PartsNoteDetail] ( [ItemCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductL7PartsNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductL7PartsNoteDetail_Store_ProductL7PartsNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductL7PartsNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductReceiptNoteDetail] ( @@ -4109,8 +3994,7 @@ CREATE TABLE [Store_ProductReceiptNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ProductReceiptNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductReceiptNoteDetail_Store_ProductReceiptNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductReceiptNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductReceiptRequestDetail] ( @@ -4145,8 +4029,7 @@ CREATE TABLE [Store_ProductReceiptRequestDetail] ( [ExpireDate] datetime2 NOT NULL, CONSTRAINT [PK_Store_ProductReceiptRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductReceiptRequestDetail_Store_ProductReceiptRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductReceiptRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductRecycleMaterialDetail] ( @@ -4188,8 +4071,7 @@ CREATE TABLE [Store_ProductRecycleMaterialDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ProductRecycleMaterialDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductRecycleMaterialDetail_Store_ProductRecycleNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductRecycleNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductRecycleNoteDetail] ( @@ -4226,8 +4108,7 @@ CREATE TABLE [Store_ProductRecycleNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ProductRecycleNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductRecycleNoteDetail_Store_ProductRecycleNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductRecycleNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ProductRecycleRequestDetail] ( @@ -4261,8 +4142,7 @@ CREATE TABLE [Store_ProductRecycleRequestDetail] ( [ItemCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ProductRecycleRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ProductRecycleRequestDetail_Store_ProductRecycleRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ProductRecycleRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PurchaseOrderDetail] ( @@ -4296,8 +4176,7 @@ CREATE TABLE [Store_PurchaseOrderDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PurchaseOrderDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PurchaseOrderDetail_Store_PurchaseOrder_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PurchaseOrder] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PurchaseReceiptNoteDetail] ( @@ -4366,8 +4245,7 @@ CREATE TABLE [Store_PurchaseReceiptNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PurchaseReceiptNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PurchaseReceiptNoteDetail_Store_PurchaseReceiptNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PurchaseReceiptNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PurchaseReceiptRequestDetail] ( @@ -4402,8 +4280,7 @@ CREATE TABLE [Store_PurchaseReceiptRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PurchaseReceiptRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PurchaseReceiptRequestDetail_Store_PurchaseReceiptRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PurchaseReceiptRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PurchaseReturnNoteDetail] ( @@ -4467,8 +4344,7 @@ CREATE TABLE [Store_PurchaseReturnNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PurchaseReturnNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PurchaseReturnNoteDetail_Store_PurchaseReturnNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PurchaseReturnNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PurchaseReturnRequestDetail] ( @@ -4505,8 +4381,7 @@ CREATE TABLE [Store_PurchaseReturnRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PurchaseReturnRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PurchaseReturnRequestDetail_Store_PurchaseReturnRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PurchaseReturnRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PutawayNoteDetail] ( @@ -4579,8 +4454,7 @@ CREATE TABLE [Store_PutawayNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_PutawayNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PutawayNoteDetail_Store_PutawayNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PutawayNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_PutawayRequestDetail] ( @@ -4627,8 +4501,7 @@ CREATE TABLE [Store_PutawayRequestDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_PutawayRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_PutawayRequestDetail_Store_PutawayRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_PutawayRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ReceiptAbnormalNoteDetail] ( @@ -4666,8 +4539,7 @@ CREATE TABLE [Store_ReceiptAbnormalNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ReceiptAbnormalNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ReceiptAbnormalNoteDetail_Store_ReceiptAbnormalNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ReceiptAbnormalNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_RecycledMaterialReceiptNoteDetail] ( @@ -4703,8 +4575,7 @@ CREATE TABLE [Store_RecycledMaterialReceiptNoteDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_RecycledMaterialReceiptNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_RecycledMaterialReceiptNoteDetail_Store_RecycledMaterialReceiptNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_RecycledMaterialReceiptNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_SaleOrderDetail] ( @@ -4731,8 +4602,7 @@ CREATE TABLE [Store_SaleOrderDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_SaleOrderDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_SaleOrderDetail_Store_SaleOrder_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_SaleOrder] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ScrapNoteDetail] ( @@ -4777,8 +4647,7 @@ CREATE TABLE [Store_ScrapNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_ScrapNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ScrapNoteDetail_Store_ScrapNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ScrapNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_ScrapRequestDetail] ( @@ -4806,8 +4675,7 @@ CREATE TABLE [Store_ScrapRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_ScrapRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_ScrapRequestDetail_Store_ScrapRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_ScrapRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_SupplierAsnDetail] ( @@ -4845,8 +4713,7 @@ CREATE TABLE [Store_SupplierAsnDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_SupplierAsnDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_SupplierAsnDetail_Store_SupplierAsn_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_SupplierAsn] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_TransferNoteDetail] ( @@ -4892,8 +4759,7 @@ CREATE TABLE [Store_TransferNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_TransferNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_TransferNoteDetail_Store_TransferNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_TransferNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_TransferRequestDetail] ( @@ -4938,8 +4804,7 @@ CREATE TABLE [Store_TransferRequestDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_TransferRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_TransferRequestDetail_Store_TransferRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_TransferRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_UnplannedIssueNoteDetail] ( @@ -5002,8 +4867,7 @@ CREATE TABLE [Store_UnplannedIssueNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_UnplannedIssueNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_UnplannedIssueNoteDetail_Store_UnplannedIssueNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_UnplannedIssueNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_UnplannedIssueRequestDetail] ( @@ -5039,8 +4903,7 @@ CREATE TABLE [Store_UnplannedIssueRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_UnplannedIssueRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_UnplannedIssueRequestDetail_Store_UnplannedIssueRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_UnplannedIssueRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_UnplannedReceiptNoteDetail] ( @@ -5103,8 +4966,7 @@ CREATE TABLE [Store_UnplannedReceiptNoteDetail] ( [HandledQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_UnplannedReceiptNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_UnplannedReceiptNoteDetail_Store_UnplannedReceiptNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_UnplannedReceiptNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_UnplannedReceiptRequestDetail] ( @@ -5140,8 +5002,7 @@ CREATE TABLE [Store_UnplannedReceiptRequestDetail] ( [StdPackQty] decimal(18,6) NOT NULL, CONSTRAINT [PK_Store_UnplannedReceiptRequestDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_UnplannedReceiptRequestDetail_Store_UnplannedReceiptRequest_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_UnplannedReceiptRequest] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_WarehouseTransferNoteDetail] ( @@ -5186,8 +5047,7 @@ CREATE TABLE [Store_WarehouseTransferNoteDetail] ( [ToStatus] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_WarehouseTransferNoteDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_WarehouseTransferNoteDetail_Store_WarehouseTransferNote_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_WarehouseTransferNote] ([Id]) ON DELETE CASCADE -); -GO +) CREATE TABLE [Store_WorkOrderDetail] ( @@ -5211,827 +5071,621 @@ CREATE TABLE [Store_WorkOrderDetail] ( [ItemCode] nvarchar(64) NOT NULL, CONSTRAINT [PK_Store_WorkOrderDetail] PRIMARY KEY ([Id]), CONSTRAINT [FK_Store_WorkOrderDetail_Store_WorkOrder_MasterID] FOREIGN KEY ([MasterID]) REFERENCES [Store_WorkOrder] ([Id]) ON DELETE CASCADE -); -GO +) -CREATE UNIQUE INDEX [IX_Job_CheckJob_Number] ON [Job_CheckJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_CheckJob_Number] ON [Job_CheckJob] ([Number]) -CREATE INDEX [IX_Job_CheckJobDetail_MasterID] ON [Job_CheckJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_CheckJobDetail_MasterID] ON [Job_CheckJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_CountJob_Number] ON [Job_CountJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_CountJob_Number] ON [Job_CountJob] ([Number]) -CREATE INDEX [IX_Job_CountJobDetail_MasterID] ON [Job_CountJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_CountJobDetail_MasterID] ON [Job_CountJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_DeliverJob_Number] ON [Job_DeliverJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_DeliverJob_Number] ON [Job_DeliverJob] ([Number]) -CREATE INDEX [IX_Job_DeliverJobDetail_MasterID] ON [Job_DeliverJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_DeliverJobDetail_MasterID] ON [Job_DeliverJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_InspectJob_Number] ON [Job_InspectJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_InspectJob_Number] ON [Job_InspectJob] ([Number]) -CREATE INDEX [IX_Job_InspectJobDetail_MasterID] ON [Job_InspectJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_InspectJobDetail_MasterID] ON [Job_InspectJobDetail] ([MasterID]) -CREATE INDEX [IX_Job_InspectJobSummaryDetail_MasterID] ON [Job_InspectJobSummaryDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_InspectJobSummaryDetail_MasterID] ON [Job_InspectJobSummaryDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_IssueJob_Number] ON [Job_IssueJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_IssueJob_Number] ON [Job_IssueJob] ([Number]) -CREATE INDEX [IX_Job_IssueJobDetail_MasterID] ON [Job_IssueJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_IssueJobDetail_MasterID] ON [Job_IssueJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_JisDeliverJob_Number] ON [Job_JisDeliverJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_JisDeliverJob_Number] ON [Job_JisDeliverJob] ([Number]) -CREATE INDEX [IX_Job_JisDeliverJobDetail_MasterID] ON [Job_JisDeliverJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_JisDeliverJobDetail_MasterID] ON [Job_JisDeliverJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_ProductionReturnJob_Number] ON [Job_ProductionReturnJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_ProductionReturnJob_Number] ON [Job_ProductionReturnJob] ([Number]) -CREATE INDEX [IX_Job_ProductionReturnJobDetail_MasterID] ON [Job_ProductionReturnJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_ProductionReturnJobDetail_MasterID] ON [Job_ProductionReturnJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_ProductReceiveJob_Number] ON [Job_ProductReceiveJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_ProductReceiveJob_Number] ON [Job_ProductReceiveJob] ([Number]) -CREATE INDEX [IX_Job_ProductReceiveJobDetail_MasterID] ON [Job_ProductReceiveJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_ProductReceiveJobDetail_MasterID] ON [Job_ProductReceiveJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_PurchaseReceiptJob_Number] ON [Job_PurchaseReceiptJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_PurchaseReceiptJob_Number] ON [Job_PurchaseReceiptJob] ([Number]) -CREATE INDEX [IX_Job_PurchaseReceiptJobDetail_MasterID] ON [Job_PurchaseReceiptJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_PurchaseReceiptJobDetail_MasterID] ON [Job_PurchaseReceiptJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_PurchaseReturnJob_Number] ON [Job_PurchaseReturnJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_PurchaseReturnJob_Number] ON [Job_PurchaseReturnJob] ([Number]) -CREATE INDEX [IX_Job_PurchaseReturnJobDetail_MasterID] ON [Job_PurchaseReturnJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_PurchaseReturnJobDetail_MasterID] ON [Job_PurchaseReturnJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_PutawayJob_Number] ON [Job_PutawayJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_PutawayJob_Number] ON [Job_PutawayJob] ([Number]) -CREATE INDEX [IX_Job_PutawayJobDetail_MasterID] ON [Job_PutawayJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_PutawayJobDetail_MasterID] ON [Job_PutawayJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_UnplannedIssueJob_Number] ON [Job_UnplannedIssueJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_UnplannedIssueJob_Number] ON [Job_UnplannedIssueJob] ([Number]) -CREATE INDEX [IX_Job_UnplannedIssueJobDetail_MasterID] ON [Job_UnplannedIssueJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_UnplannedIssueJobDetail_MasterID] ON [Job_UnplannedIssueJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Job_UnplannedReceiptJob_Number] ON [Job_UnplannedReceiptJob] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Job_UnplannedReceiptJob_Number] ON [Job_UnplannedReceiptJob] ([Number]) -CREATE INDEX [IX_Job_UnplannedReceiptJobDetail_MasterID] ON [Job_UnplannedReceiptJobDetail] ([MasterID]); -GO +CREATE INDEX [IX_Job_UnplannedReceiptJobDetail_MasterID] ON [Job_UnplannedReceiptJobDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_BackFlushNote_Number] ON [Store_BackFlushNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_BackFlushNote_Number] ON [Store_BackFlushNote] ([Number]) -CREATE INDEX [IX_Store_BackFlushNoteDetail_MasterID] ON [Store_BackFlushNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_BackFlushNoteDetail_MasterID] ON [Store_BackFlushNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_BackFlushNoteDetail_Number_ItemCode_Lot] ON [Store_BackFlushNoteDetail] ([Number], [ItemCode], [Lot]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_BackFlushNoteDetail_Number_ItemCode_Lot] ON [Store_BackFlushNoteDetail] ([Number], [ItemCode], [Lot]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ContainerBindNote_Number] ON [Store_ContainerBindNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ContainerBindNote_Number] ON [Store_ContainerBindNote] ([Number]) -CREATE INDEX [IX_Store_ContainerBindNoteDetail_MasterID] ON [Store_ContainerBindNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ContainerBindNoteDetail_MasterID] ON [Store_ContainerBindNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ContainerBindNoteDetail_Number_PackingCode] ON [Store_ContainerBindNoteDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ContainerBindNoteDetail_Number_PackingCode] ON [Store_ContainerBindNoteDetail] ([Number], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_CountAdjustNote_Number] ON [Store_CountAdjustNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_CountAdjustNote_Number] ON [Store_CountAdjustNote] ([Number]) -CREATE INDEX [IX_Store_CountAdjustNoteDetail_MasterID] ON [Store_CountAdjustNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_CountAdjustNoteDetail_MasterID] ON [Store_CountAdjustNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_CountAdjustNoteDetail_Number_CountLabel_ItemCode_LocationCode_Lot_Status_PackingCode] ON [Store_CountAdjustNoteDetail] ([Number], [CountLabel], [ItemCode], [LocationCode], [Lot], [Status], [PackingCode]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_CountAdjustNoteDetail_Number_CountLabel_ItemCode_LocationCode_Lot_Status_PackingCode] ON [Store_CountAdjustNoteDetail] ([Number], [CountLabel], [ItemCode], [LocationCode], [Lot], [Status], [PackingCode]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_CountAdjustRequest_Number] ON [Store_CountAdjustRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_CountAdjustRequest_Number] ON [Store_CountAdjustRequest] ([Number]) -CREATE INDEX [IX_Store_CountAdjustRequestDetail_MasterID] ON [Store_CountAdjustRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_CountAdjustRequestDetail_MasterID] ON [Store_CountAdjustRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_CountAdjustRequestDetail_Number_ItemCode_LocationCode_Lot_Status_PackingCode] ON [Store_CountAdjustRequestDetail] ([Number], [ItemCode], [LocationCode], [Lot], [Status], [PackingCode]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_CountAdjustRequestDetail_Number_ItemCode_LocationCode_Lot_Status_PackingCode] ON [Store_CountAdjustRequestDetail] ([Number], [ItemCode], [LocationCode], [Lot], [Status], [PackingCode]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_CountNote_Number] ON [Store_CountNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_CountNote_Number] ON [Store_CountNote] ([Number]) -CREATE INDEX [IX_Store_CountNoteDetail_MasterID] ON [Store_CountNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_CountNoteDetail_MasterID] ON [Store_CountNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_CountNoteDetail_Number_CountLabel] ON [Store_CountNoteDetail] ([Number], [CountLabel]); -GO +CREATE UNIQUE INDEX [IX_Store_CountNoteDetail_Number_CountLabel] ON [Store_CountNoteDetail] ([Number], [CountLabel]) -CREATE UNIQUE INDEX [IX_Store_CountPlan_Number] ON [Store_CountPlan] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_CountPlan_Number] ON [Store_CountPlan] ([Number]) -CREATE INDEX [IX_Store_CountPlanDetail_MasterID] ON [Store_CountPlanDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_CountPlanDetail_MasterID] ON [Store_CountPlanDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_CountPlanDetail_Number_CountLabel] ON [Store_CountPlanDetail] ([Number], [CountLabel]); -GO +CREATE UNIQUE INDEX [IX_Store_CountPlanDetail_Number_CountLabel] ON [Store_CountPlanDetail] ([Number], [CountLabel]) -CREATE INDEX [IX_Store_CustomerAsn_CustomerCode] ON [Store_CustomerAsn] ([CustomerCode]); -GO +CREATE INDEX [IX_Store_CustomerAsn_CustomerCode] ON [Store_CustomerAsn] ([CustomerCode]) -CREATE UNIQUE INDEX [IX_Store_CustomerAsn_Number] ON [Store_CustomerAsn] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_CustomerAsn_Number] ON [Store_CustomerAsn] ([Number]) -CREATE INDEX [IX_Store_CustomerAsnDetail_MasterID] ON [Store_CustomerAsnDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_CustomerAsnDetail_MasterID] ON [Store_CustomerAsnDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_CustomerAsnDetail_Number_ItemCode] ON [Store_CustomerAsnDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_CustomerAsnDetail_Number_ItemCode] ON [Store_CustomerAsnDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_CustomerReturnNote_Number] ON [Store_CustomerReturnNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_CustomerReturnNote_Number] ON [Store_CustomerReturnNote] ([Number]) -CREATE INDEX [IX_Store_CustomerReturnNoteDetail_MasterID] ON [Store_CustomerReturnNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_CustomerReturnNoteDetail_MasterID] ON [Store_CustomerReturnNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_CustomerReturnNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_CustomerReturnNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_CustomerReturnNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_CustomerReturnNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_DeliverNote_Number] ON [Store_DeliverNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_DeliverNote_Number] ON [Store_DeliverNote] ([Number]) -CREATE INDEX [IX_Store_DeliverNoteDetail_MasterID] ON [Store_DeliverNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_DeliverNoteDetail_MasterID] ON [Store_DeliverNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_DeliverNoteDetail_Number_ItemCode_FromPackingCode_FromLot_FromLocationCode_ToLocationCode] ON [Store_DeliverNoteDetail] ([Number], [ItemCode], [FromPackingCode], [FromLot], [FromLocationCode], [ToLocationCode]); -GO +CREATE UNIQUE INDEX [IX_Store_DeliverNoteDetail_Number_ItemCode_FromPackingCode_FromLot_FromLocationCode_ToLocationCode] ON [Store_DeliverNoteDetail] ([Number], [ItemCode], [FromPackingCode], [FromLot], [FromLocationCode], [ToLocationCode]) -CREATE UNIQUE INDEX [IX_Store_DeliverPlan_Number] ON [Store_DeliverPlan] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_DeliverPlan_Number] ON [Store_DeliverPlan] ([Number]) -CREATE INDEX [IX_Store_DeliverPlanDetail_MasterID] ON [Store_DeliverPlanDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_DeliverPlanDetail_MasterID] ON [Store_DeliverPlanDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_DeliverPlanDetail_Number_SoNumber_SoLine] ON [Store_DeliverPlanDetail] ([Number], [SoNumber], [SoLine]) WHERE [SoNumber] IS NOT NULL AND [SoLine] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_DeliverPlanDetail_Number_SoNumber_SoLine] ON [Store_DeliverPlanDetail] ([Number], [SoNumber], [SoLine]) WHERE [SoNumber] IS NOT NULL AND [SoLine] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_DeliverRequest_Number] ON [Store_DeliverRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_DeliverRequest_Number] ON [Store_DeliverRequest] ([Number]) -CREATE INDEX [IX_Store_DeliverRequestDetail_MasterID] ON [Store_DeliverRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_DeliverRequestDetail_MasterID] ON [Store_DeliverRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_DeliverRequestDetail_Number_ItemCode] ON [Store_DeliverRequestDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_DeliverRequestDetail_Number_ItemCode] ON [Store_DeliverRequestDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_InspectAbnormalNote_Number] ON [Store_InspectAbnormalNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectAbnormalNote_Number] ON [Store_InspectAbnormalNote] ([Number]) -CREATE INDEX [IX_Store_InspectAbnormalNoteDetail_MasterID] ON [Store_InspectAbnormalNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InspectAbnormalNoteDetail_MasterID] ON [Store_InspectAbnormalNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InspectAbnormalNoteDetail_Number_PackingCode] ON [Store_InspectAbnormalNoteDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectAbnormalNoteDetail_Number_PackingCode] ON [Store_InspectAbnormalNoteDetail] ([Number], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_InspectNote_Number] ON [Store_InspectNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectNote_Number] ON [Store_InspectNote] ([Number]) -CREATE INDEX [IX_Store_InspectNoteDetail_MasterID] ON [Store_InspectNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InspectNoteDetail_MasterID] ON [Store_InspectNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InspectNoteDetail_Number_PackingCode] ON [Store_InspectNoteDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectNoteDetail_Number_PackingCode] ON [Store_InspectNoteDetail] ([Number], [PackingCode]) -CREATE INDEX [IX_Store_InspectNoteSummaryDetail_MasterID] ON [Store_InspectNoteSummaryDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InspectNoteSummaryDetail_MasterID] ON [Store_InspectNoteSummaryDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InspectNoteSummaryDetail_Number_ItemCode] ON [Store_InspectNoteSummaryDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectNoteSummaryDetail_Number_ItemCode] ON [Store_InspectNoteSummaryDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_InspectRequest_Number] ON [Store_InspectRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectRequest_Number] ON [Store_InspectRequest] ([Number]) -CREATE INDEX [IX_Store_InspectRequestDetail_MasterID] ON [Store_InspectRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InspectRequestDetail_MasterID] ON [Store_InspectRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InspectRequestDetail_Number_PackingCode] ON [Store_InspectRequestDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_InspectRequestDetail_Number_PackingCode] ON [Store_InspectRequestDetail] ([Number], [PackingCode]) -CREATE INDEX [IX_Store_InspectRequestSummaryDetail_MasterID] ON [Store_InspectRequestSummaryDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InspectRequestSummaryDetail_MasterID] ON [Store_InspectRequestSummaryDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InspectRequestSummaryDetail_Number_ItemCode_Lot] ON [Store_InspectRequestSummaryDetail] ([Number], [ItemCode], [Lot]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_InspectRequestSummaryDetail_Number_ItemCode_Lot] ON [Store_InspectRequestSummaryDetail] ([Number], [ItemCode], [Lot]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_InventoryInitialNote_Number] ON [Store_InventoryInitialNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_InventoryInitialNote_Number] ON [Store_InventoryInitialNote] ([Number]) -CREATE INDEX [IX_Store_InventoryInitialNoteDetail_MasterID] ON [Store_InventoryInitialNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InventoryInitialNoteDetail_MasterID] ON [Store_InventoryInitialNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InventoryInitialNoteDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_InventoryInitialNoteDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_InventoryInitialNoteDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_InventoryInitialNoteDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_InventoryTransferNote_Number] ON [Store_InventoryTransferNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_InventoryTransferNote_Number] ON [Store_InventoryTransferNote] ([Number]) -CREATE INDEX [IX_Store_InventoryTransferNoteDetail_MasterID] ON [Store_InventoryTransferNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_InventoryTransferNoteDetail_MasterID] ON [Store_InventoryTransferNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_InventoryTransferNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_InventoryTransferNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_InventoryTransferNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_InventoryTransferNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_IsolationNote_Number] ON [Store_IsolationNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_IsolationNote_Number] ON [Store_IsolationNote] ([Number]) -CREATE INDEX [IX_Store_IsolationNoteDetail_FromPackingCode] ON [Store_IsolationNoteDetail] ([FromPackingCode]); -GO +CREATE INDEX [IX_Store_IsolationNoteDetail_FromPackingCode] ON [Store_IsolationNoteDetail] ([FromPackingCode]) -CREATE INDEX [IX_Store_IsolationNoteDetail_MasterID] ON [Store_IsolationNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_IsolationNoteDetail_MasterID] ON [Store_IsolationNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_IsolationNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_IsolationNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_IsolationNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_IsolationNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_IssueNote_Number] ON [Store_IssueNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_IssueNote_Number] ON [Store_IssueNote] ([Number]) -CREATE INDEX [IX_Store_IssueNoteDetail_FromPackingCode] ON [Store_IssueNoteDetail] ([FromPackingCode]); -GO +CREATE INDEX [IX_Store_IssueNoteDetail_FromPackingCode] ON [Store_IssueNoteDetail] ([FromPackingCode]) -CREATE INDEX [IX_Store_IssueNoteDetail_MasterID] ON [Store_IssueNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_IssueNoteDetail_MasterID] ON [Store_IssueNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_IssueNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_IssueNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_IssueNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_IssueNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ItemTransformNote_Number] ON [Store_ItemTransformNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ItemTransformNote_Number] ON [Store_ItemTransformNote] ([Number]) -CREATE INDEX [IX_Store_ItemTransformNoteDetail_MasterID] ON [Store_ItemTransformNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ItemTransformNoteDetail_MasterID] ON [Store_ItemTransformNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ItemTransformNoteDetail_Number_FromPackingCode_FromStatus_ToPackingCode_ToStatus] ON [Store_ItemTransformNoteDetail] ([Number], [FromPackingCode], [FromStatus], [ToPackingCode], [ToStatus]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_ItemTransformNoteDetail_Number_FromPackingCode_FromStatus_ToPackingCode_ToStatus] ON [Store_ItemTransformNoteDetail] ([Number], [FromPackingCode], [FromStatus], [ToPackingCode], [ToStatus]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ItemTransformRequest_Number] ON [Store_ItemTransformRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ItemTransformRequest_Number] ON [Store_ItemTransformRequest] ([Number]) -CREATE INDEX [IX_Store_ItemTransformRequestDetail_MasterID] ON [Store_ItemTransformRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ItemTransformRequestDetail_MasterID] ON [Store_ItemTransformRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ItemTransformRequestDetail_Number_FromPackingCode_FromStatus_ToPackingCode_ToStatus] ON [Store_ItemTransformRequestDetail] ([Number], [FromPackingCode], [FromStatus], [ToPackingCode], [ToStatus]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_ItemTransformRequestDetail_Number_FromPackingCode_FromStatus_ToPackingCode_ToStatus] ON [Store_ItemTransformRequestDetail] ([Number], [FromPackingCode], [FromStatus], [ToPackingCode], [ToStatus]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_JisDeliverNote_Number] ON [Store_JisDeliverNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_JisDeliverNote_Number] ON [Store_JisDeliverNote] ([Number]) -CREATE INDEX [IX_Store_JisDeliverNoteDetail_MasterID] ON [Store_JisDeliverNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_JisDeliverNoteDetail_MasterID] ON [Store_JisDeliverNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_JisDeliverNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_JisDeliverNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_JisDeliverNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_JisDeliverNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_JisProductReceiptNote_Number] ON [Store_JisProductReceiptNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_JisProductReceiptNote_Number] ON [Store_JisProductReceiptNote] ([Number]) -CREATE INDEX [IX_Store_JisProductReceiptNoteDetail_MasterID] ON [Store_JisProductReceiptNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_JisProductReceiptNoteDetail_MasterID] ON [Store_JisProductReceiptNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_JisProductReceiptNoteDetail_Number_PackingCode] ON [Store_JisProductReceiptNoteDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_JisProductReceiptNoteDetail_Number_PackingCode] ON [Store_JisProductReceiptNoteDetail] ([Number], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_MaterialRequest_Number] ON [Store_MaterialRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_MaterialRequest_Number] ON [Store_MaterialRequest] ([Number]) -CREATE INDEX [IX_Store_MaterialRequestDetail_ItemCode] ON [Store_MaterialRequestDetail] ([ItemCode]); -GO +CREATE INDEX [IX_Store_MaterialRequestDetail_ItemCode] ON [Store_MaterialRequestDetail] ([ItemCode]) -CREATE INDEX [IX_Store_MaterialRequestDetail_MasterID] ON [Store_MaterialRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_MaterialRequestDetail_MasterID] ON [Store_MaterialRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_MaterialRequestDetail_Number_ItemCode_ToLocationCode] ON [Store_MaterialRequestDetail] ([Number], [ItemCode], [ToLocationCode]); -GO +CREATE UNIQUE INDEX [IX_Store_MaterialRequestDetail_Number_ItemCode_ToLocationCode] ON [Store_MaterialRequestDetail] ([Number], [ItemCode], [ToLocationCode]) -CREATE UNIQUE INDEX [IX_Store_NoOkConvertOkNote_Number] ON [Store_NoOkConvertOkNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_NoOkConvertOkNote_Number] ON [Store_NoOkConvertOkNote] ([Number]) -CREATE INDEX [IX_Store_NoOkConvertOkNoteDetail_MasterID] ON [Store_NoOkConvertOkNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_NoOkConvertOkNoteDetail_MasterID] ON [Store_NoOkConvertOkNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_NoOkConvertOkNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_NoOkConvertOkNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_NoOkConvertOkNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_NoOkConvertOkNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_OfflineSettlementNote_Number] ON [Store_OfflineSettlementNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_OfflineSettlementNote_Number] ON [Store_OfflineSettlementNote] ([Number]) -CREATE INDEX [IX_Store_OfflineSettlementNoteDetail_MasterID] ON [Store_OfflineSettlementNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_OfflineSettlementNoteDetail_MasterID] ON [Store_OfflineSettlementNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_OfflineSettlementNoteDetail_Number] ON [Store_OfflineSettlementNoteDetail] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_OfflineSettlementNoteDetail_Number] ON [Store_OfflineSettlementNoteDetail] ([Number]) -CREATE UNIQUE INDEX [IX_Store_PreparationPlan_Number] ON [Store_PreparationPlan] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PreparationPlan_Number] ON [Store_PreparationPlan] ([Number]) -CREATE INDEX [IX_Store_PreparationPlanDetail_MasterID] ON [Store_PreparationPlanDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PreparationPlanDetail_MasterID] ON [Store_PreparationPlanDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PreparationPlanDetail_Number_ItemCode] ON [Store_PreparationPlanDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_PreparationPlanDetail_Number_ItemCode] ON [Store_PreparationPlanDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_ProductionPlan_Number] ON [Store_ProductionPlan] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductionPlan_Number] ON [Store_ProductionPlan] ([Number]) -CREATE INDEX [IX_Store_ProductionPlanDetail_MasterID] ON [Store_ProductionPlanDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductionPlanDetail_MasterID] ON [Store_ProductionPlanDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductionPlanDetail_Number_ItemCode] ON [Store_ProductionPlanDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductionPlanDetail_Number_ItemCode] ON [Store_ProductionPlanDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_ProductionReturnNote_Number] ON [Store_ProductionReturnNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductionReturnNote_Number] ON [Store_ProductionReturnNote] ([Number]) -CREATE INDEX [IX_Store_ProductionReturnNoteDetail_MasterID] ON [Store_ProductionReturnNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductionReturnNoteDetail_MasterID] ON [Store_ProductionReturnNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductionReturnNoteDetail_Number_ItemCode_FromPackingCode_ToPackingCode_FromLocationCode_ToLocationCode] ON [Store_ProductionReturnNoteDetail] ([Number], [ItemCode], [FromPackingCode], [ToPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_ProductionReturnNoteDetail_Number_ItemCode_FromPackingCode_ToPackingCode_FromLocationCode_ToLocationCode] ON [Store_ProductionReturnNoteDetail] ([Number], [ItemCode], [FromPackingCode], [ToPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ProductionReturnRequest_Number] ON [Store_ProductionReturnRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductionReturnRequest_Number] ON [Store_ProductionReturnRequest] ([Number]) -CREATE INDEX [IX_Store_ProductionReturnRequestDetail_ItemCode] ON [Store_ProductionReturnRequestDetail] ([ItemCode]); -GO +CREATE INDEX [IX_Store_ProductionReturnRequestDetail_ItemCode] ON [Store_ProductionReturnRequestDetail] ([ItemCode]) -CREATE INDEX [IX_Store_ProductionReturnRequestDetail_MasterID] ON [Store_ProductionReturnRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductionReturnRequestDetail_MasterID] ON [Store_ProductionReturnRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductionReturnRequestDetail_Number_ItemCode_FromLocationCode] ON [Store_ProductionReturnRequestDetail] ([Number], [ItemCode], [FromLocationCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductionReturnRequestDetail_Number_ItemCode_FromLocationCode] ON [Store_ProductionReturnRequestDetail] ([Number], [ItemCode], [FromLocationCode]) -CREATE UNIQUE INDEX [IX_Store_ProductL7PartsNote_Number] ON [Store_ProductL7PartsNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductL7PartsNote_Number] ON [Store_ProductL7PartsNote] ([Number]) -CREATE INDEX [IX_Store_ProductL7PartsNoteDetail_MasterID] ON [Store_ProductL7PartsNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductL7PartsNoteDetail_MasterID] ON [Store_ProductL7PartsNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductL7PartsNoteDetail_Number_ProductNo_Position_Configuration_L7Part] ON [Store_ProductL7PartsNoteDetail] ([Number], [ProductNo], [Position], [Configuration], [L7Part]) WHERE [ProductNo] IS NOT NULL AND [Position] IS NOT NULL AND [Configuration] IS NOT NULL AND [L7Part] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_ProductL7PartsNoteDetail_Number_ProductNo_Position_Configuration_L7Part] ON [Store_ProductL7PartsNoteDetail] ([Number], [ProductNo], [Position], [Configuration], [L7Part]) WHERE [ProductNo] IS NOT NULL AND [Position] IS NOT NULL AND [Configuration] IS NOT NULL AND [L7Part] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ProductReceiptNote_Number] ON [Store_ProductReceiptNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductReceiptNote_Number] ON [Store_ProductReceiptNote] ([Number]) -CREATE INDEX [IX_Store_ProductReceiptNoteDetail_MasterID] ON [Store_ProductReceiptNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductReceiptNoteDetail_MasterID] ON [Store_ProductReceiptNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductReceiptNoteDetail_Number_ItemCode_PackingCode_Lot_Status] ON [Store_ProductReceiptNoteDetail] ([Number], [ItemCode], [PackingCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_ProductReceiptNoteDetail_Number_ItemCode_PackingCode_Lot_Status] ON [Store_ProductReceiptNoteDetail] ([Number], [ItemCode], [PackingCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ProductReceiptRequest_Number] ON [Store_ProductReceiptRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductReceiptRequest_Number] ON [Store_ProductReceiptRequest] ([Number]) -CREATE INDEX [IX_Store_ProductReceiptRequestDetail_MasterID] ON [Store_ProductReceiptRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductReceiptRequestDetail_MasterID] ON [Store_ProductReceiptRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductReceiptRequestDetail_Number_ItemCode_LocationCode] ON [Store_ProductReceiptRequestDetail] ([Number], [ItemCode], [LocationCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductReceiptRequestDetail_Number_ItemCode_LocationCode] ON [Store_ProductReceiptRequestDetail] ([Number], [ItemCode], [LocationCode]) -CREATE INDEX [IX_Store_ProductRecycleMaterialDetail_MasterID] ON [Store_ProductRecycleMaterialDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductRecycleMaterialDetail_MasterID] ON [Store_ProductRecycleMaterialDetail] ([MasterID]) -CREATE INDEX [IX_Store_ProductRecycleMaterialDetail_Number_ProductItemCode_ItemCode] ON [Store_ProductRecycleMaterialDetail] ([Number], [ProductItemCode], [ItemCode]); -GO +CREATE INDEX [IX_Store_ProductRecycleMaterialDetail_Number_ProductItemCode_ItemCode] ON [Store_ProductRecycleMaterialDetail] ([Number], [ProductItemCode], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_ProductRecycleNote_Number] ON [Store_ProductRecycleNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductRecycleNote_Number] ON [Store_ProductRecycleNote] ([Number]) -CREATE INDEX [IX_Store_ProductRecycleNoteDetail_MasterID] ON [Store_ProductRecycleNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductRecycleNoteDetail_MasterID] ON [Store_ProductRecycleNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductRecycleNoteDetail_Number_ItemCode] ON [Store_ProductRecycleNoteDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductRecycleNoteDetail_Number_ItemCode] ON [Store_ProductRecycleNoteDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_ProductRecycleRequest_Number] ON [Store_ProductRecycleRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductRecycleRequest_Number] ON [Store_ProductRecycleRequest] ([Number]) -CREATE INDEX [IX_Store_ProductRecycleRequestDetail_MasterID] ON [Store_ProductRecycleRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ProductRecycleRequestDetail_MasterID] ON [Store_ProductRecycleRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ProductRecycleRequestDetail_Number_ItemCode] ON [Store_ProductRecycleRequestDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ProductRecycleRequestDetail_Number_ItemCode] ON [Store_ProductRecycleRequestDetail] ([Number], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_PurchaseOrder_Number] ON [Store_PurchaseOrder] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseOrder_Number] ON [Store_PurchaseOrder] ([Number]) -CREATE UNIQUE INDEX [IX_Store_PurchaseOrderDetail_ItemCode_Number_PoLine] ON [Store_PurchaseOrderDetail] ([ItemCode], [Number], [PoLine]) WHERE [PoLine] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseOrderDetail_ItemCode_Number_PoLine] ON [Store_PurchaseOrderDetail] ([ItemCode], [Number], [PoLine]) WHERE [PoLine] IS NOT NULL -CREATE INDEX [IX_Store_PurchaseOrderDetail_MasterID] ON [Store_PurchaseOrderDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PurchaseOrderDetail_MasterID] ON [Store_PurchaseOrderDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReceiptNote_Number] ON [Store_PurchaseReceiptNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReceiptNote_Number] ON [Store_PurchaseReceiptNote] ([Number]) -CREATE INDEX [IX_Store_PurchaseReceiptNote_SupplierCode] ON [Store_PurchaseReceiptNote] ([SupplierCode]); -GO +CREATE INDEX [IX_Store_PurchaseReceiptNote_SupplierCode] ON [Store_PurchaseReceiptNote] ([SupplierCode]) -CREATE INDEX [IX_Store_PurchaseReceiptNoteDetail_MasterID] ON [Store_PurchaseReceiptNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PurchaseReceiptNoteDetail_MasterID] ON [Store_PurchaseReceiptNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReceiptRequest_Number] ON [Store_PurchaseReceiptRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReceiptRequest_Number] ON [Store_PurchaseReceiptRequest] ([Number]) -CREATE INDEX [IX_Store_PurchaseReceiptRequest_SupplierCode] ON [Store_PurchaseReceiptRequest] ([SupplierCode]); -GO +CREATE INDEX [IX_Store_PurchaseReceiptRequest_SupplierCode] ON [Store_PurchaseReceiptRequest] ([SupplierCode]) -CREATE INDEX [IX_Store_PurchaseReceiptRequestDetail_MasterID] ON [Store_PurchaseReceiptRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PurchaseReceiptRequestDetail_MasterID] ON [Store_PurchaseReceiptRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReceiptRequestDetail_Number_PackingCode] ON [Store_PurchaseReceiptRequestDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReceiptRequestDetail_Number_PackingCode] ON [Store_PurchaseReceiptRequestDetail] ([Number], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReturnNote_Number] ON [Store_PurchaseReturnNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReturnNote_Number] ON [Store_PurchaseReturnNote] ([Number]) -CREATE INDEX [IX_Store_PurchaseReturnNoteDetail_MasterID] ON [Store_PurchaseReturnNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PurchaseReturnNoteDetail_MasterID] ON [Store_PurchaseReturnNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReturnNoteDetail_Number_PackingCode] ON [Store_PurchaseReturnNoteDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReturnNoteDetail_Number_PackingCode] ON [Store_PurchaseReturnNoteDetail] ([Number], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReturnRequest_Number] ON [Store_PurchaseReturnRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReturnRequest_Number] ON [Store_PurchaseReturnRequest] ([Number]) -CREATE INDEX [IX_Store_PurchaseReturnRequestDetail_MasterID] ON [Store_PurchaseReturnRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PurchaseReturnRequestDetail_MasterID] ON [Store_PurchaseReturnRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PurchaseReturnRequestDetail_Number_PackingCode] ON [Store_PurchaseReturnRequestDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_PurchaseReturnRequestDetail_Number_PackingCode] ON [Store_PurchaseReturnRequestDetail] ([Number], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_PutawayNote_Number] ON [Store_PutawayNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PutawayNote_Number] ON [Store_PutawayNote] ([Number]) -CREATE INDEX [IX_Store_PutawayNoteDetail_MasterID] ON [Store_PutawayNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PutawayNoteDetail_MasterID] ON [Store_PutawayNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_PutawayNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode_ToPackingCode] ON [Store_PutawayNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode], [ToPackingCode]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_PutawayNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode_ToPackingCode] ON [Store_PutawayNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode], [ToPackingCode]) WHERE [FromPackingCode] IS NOT NULL AND [ToPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_PutawayRequest_Number] ON [Store_PutawayRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_PutawayRequest_Number] ON [Store_PutawayRequest] ([Number]) -CREATE INDEX [IX_Store_PutawayRequestDetail_MasterID] ON [Store_PutawayRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_PutawayRequestDetail_MasterID] ON [Store_PutawayRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ReceiptAbnormalNote_AsnNumber_Number_SupplierCode_ReceiptNumber] ON [Store_ReceiptAbnormalNote] ([AsnNumber], [Number], [SupplierCode], [ReceiptNumber]); -GO +CREATE UNIQUE INDEX [IX_Store_ReceiptAbnormalNote_AsnNumber_Number_SupplierCode_ReceiptNumber] ON [Store_ReceiptAbnormalNote] ([AsnNumber], [Number], [SupplierCode], [ReceiptNumber]) -CREATE INDEX [IX_Store_ReceiptAbnormalNote_SupplierCode] ON [Store_ReceiptAbnormalNote] ([SupplierCode]); -GO +CREATE INDEX [IX_Store_ReceiptAbnormalNote_SupplierCode] ON [Store_ReceiptAbnormalNote] ([SupplierCode]) -CREATE INDEX [IX_Store_ReceiptAbnormalNoteDetail_MasterID] ON [Store_ReceiptAbnormalNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ReceiptAbnormalNoteDetail_MasterID] ON [Store_ReceiptAbnormalNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ReceiptAbnormalNoteDetail_Number_PackingCode_ReceiptNumber] ON [Store_ReceiptAbnormalNoteDetail] ([Number], [PackingCode], [ReceiptNumber]); -GO +CREATE UNIQUE INDEX [IX_Store_ReceiptAbnormalNoteDetail_Number_PackingCode_ReceiptNumber] ON [Store_ReceiptAbnormalNoteDetail] ([Number], [PackingCode], [ReceiptNumber]) -CREATE UNIQUE INDEX [IX_Store_RecycledMaterialReceiptNote_Number] ON [Store_RecycledMaterialReceiptNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_RecycledMaterialReceiptNote_Number] ON [Store_RecycledMaterialReceiptNote] ([Number]) -CREATE INDEX [IX_Store_RecycledMaterialReceiptNoteDetail_MasterID] ON [Store_RecycledMaterialReceiptNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_RecycledMaterialReceiptNoteDetail_MasterID] ON [Store_RecycledMaterialReceiptNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_RecycledMaterialReceiptNoteDetail_Number_PackingCode] ON [Store_RecycledMaterialReceiptNoteDetail] ([Number], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_RecycledMaterialReceiptNoteDetail_Number_PackingCode] ON [Store_RecycledMaterialReceiptNoteDetail] ([Number], [PackingCode]) -CREATE INDEX [IX_Store_SaleOrder_CustomerCode] ON [Store_SaleOrder] ([CustomerCode]); -GO +CREATE INDEX [IX_Store_SaleOrder_CustomerCode] ON [Store_SaleOrder] ([CustomerCode]) -CREATE UNIQUE INDEX [IX_Store_SaleOrder_Number] ON [Store_SaleOrder] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_SaleOrder_Number] ON [Store_SaleOrder] ([Number]) -CREATE INDEX [IX_Store_SaleOrderDetail_MasterID] ON [Store_SaleOrderDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_SaleOrderDetail_MasterID] ON [Store_SaleOrderDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_SaleOrderDetail_Number_SoLine_ItemCode] ON [Store_SaleOrderDetail] ([Number], [SoLine], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_SaleOrderDetail_Number_SoLine_ItemCode] ON [Store_SaleOrderDetail] ([Number], [SoLine], [ItemCode]) -CREATE UNIQUE INDEX [IX_Store_ScrapNote_Number] ON [Store_ScrapNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ScrapNote_Number] ON [Store_ScrapNote] ([Number]) -CREATE INDEX [IX_Store_ScrapNoteDetail_MasterID] ON [Store_ScrapNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ScrapNoteDetail_MasterID] ON [Store_ScrapNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ScrapNoteDetail_Number_ItemCode_FromPackingCode_FromLocationCode_ToLocationCode_FromLot_FromStatus] ON [Store_ScrapNoteDetail] ([Number], [ItemCode], [FromPackingCode], [FromLocationCode], [ToLocationCode], [FromLot], [FromStatus]) WHERE [FromPackingCode] IS NOT NULL AND [FromLot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_ScrapNoteDetail_Number_ItemCode_FromPackingCode_FromLocationCode_ToLocationCode_FromLot_FromStatus] ON [Store_ScrapNoteDetail] ([Number], [ItemCode], [FromPackingCode], [FromLocationCode], [ToLocationCode], [FromLot], [FromStatus]) WHERE [FromPackingCode] IS NOT NULL AND [FromLot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_ScrapRequest_Number] ON [Store_ScrapRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_ScrapRequest_Number] ON [Store_ScrapRequest] ([Number]) -CREATE INDEX [IX_Store_ScrapRequestDetail_MasterID] ON [Store_ScrapRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_ScrapRequestDetail_MasterID] ON [Store_ScrapRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_ScrapRequestDetail_Number_ItemCode_LocationCode] ON [Store_ScrapRequestDetail] ([Number], [ItemCode], [LocationCode]); -GO +CREATE UNIQUE INDEX [IX_Store_ScrapRequestDetail_Number_ItemCode_LocationCode] ON [Store_ScrapRequestDetail] ([Number], [ItemCode], [LocationCode]) -CREATE UNIQUE INDEX [IX_Store_SupplierAsn_Number] ON [Store_SupplierAsn] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_SupplierAsn_Number] ON [Store_SupplierAsn] ([Number]) -CREATE INDEX [IX_Store_SupplierAsn_SupplierCode] ON [Store_SupplierAsn] ([SupplierCode]); -GO +CREATE INDEX [IX_Store_SupplierAsn_SupplierCode] ON [Store_SupplierAsn] ([SupplierCode]) -CREATE INDEX [IX_Store_SupplierAsnDetail_MasterID] ON [Store_SupplierAsnDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_SupplierAsnDetail_MasterID] ON [Store_SupplierAsnDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_SupplierAsnDetail_Number_ItemCode_PackingCode] ON [Store_SupplierAsnDetail] ([Number], [ItemCode], [PackingCode]); -GO +CREATE UNIQUE INDEX [IX_Store_SupplierAsnDetail_Number_ItemCode_PackingCode] ON [Store_SupplierAsnDetail] ([Number], [ItemCode], [PackingCode]) -CREATE UNIQUE INDEX [IX_Store_TransferNote_Number] ON [Store_TransferNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_TransferNote_Number] ON [Store_TransferNote] ([Number]) -CREATE INDEX [IX_Store_TransferNoteDetail_MasterID] ON [Store_TransferNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_TransferNoteDetail_MasterID] ON [Store_TransferNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_TransferNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode_FromStatus_ToStatus] ON [Store_TransferNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode], [FromStatus], [ToStatus]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_TransferNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode_FromStatus_ToStatus] ON [Store_TransferNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode], [FromStatus], [ToStatus]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_TransferRequest_Number] ON [Store_TransferRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_TransferRequest_Number] ON [Store_TransferRequest] ([Number]) -CREATE INDEX [IX_Store_TransferRequestDetail_MasterID] ON [Store_TransferRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_TransferRequestDetail_MasterID] ON [Store_TransferRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_UnplannedIssueNote_Number] ON [Store_UnplannedIssueNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedIssueNote_Number] ON [Store_UnplannedIssueNote] ([Number]) -CREATE INDEX [IX_Store_UnplannedIssueNoteDetail_MasterID] ON [Store_UnplannedIssueNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_UnplannedIssueNoteDetail_MasterID] ON [Store_UnplannedIssueNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_UnplannedIssueNoteDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedIssueNoteDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedIssueNoteDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedIssueNoteDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_UnplannedIssueRequest_Number] ON [Store_UnplannedIssueRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedIssueRequest_Number] ON [Store_UnplannedIssueRequest] ([Number]) -CREATE INDEX [IX_Store_UnplannedIssueRequestDetail_MasterID] ON [Store_UnplannedIssueRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_UnplannedIssueRequestDetail_MasterID] ON [Store_UnplannedIssueRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_UnplannedIssueRequestDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedIssueRequestDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedIssueRequestDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedIssueRequestDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptNote_Number] ON [Store_UnplannedReceiptNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptNote_Number] ON [Store_UnplannedReceiptNote] ([Number]) -CREATE INDEX [IX_Store_UnplannedReceiptNoteDetail_MasterID] ON [Store_UnplannedReceiptNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_UnplannedReceiptNoteDetail_MasterID] ON [Store_UnplannedReceiptNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptNoteDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedReceiptNoteDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptNoteDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedReceiptNoteDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptRequest_Number] ON [Store_UnplannedReceiptRequest] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptRequest_Number] ON [Store_UnplannedReceiptRequest] ([Number]) -CREATE INDEX [IX_Store_UnplannedReceiptRequestDetail_MasterID] ON [Store_UnplannedReceiptRequestDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_UnplannedReceiptRequestDetail_MasterID] ON [Store_UnplannedReceiptRequestDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptRequestDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedReceiptRequestDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_UnplannedReceiptRequestDetail_Number_PackingCode_ItemCode_Lot_Status] ON [Store_UnplannedReceiptRequestDetail] ([Number], [PackingCode], [ItemCode], [Lot], [Status]) WHERE [Lot] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_WarehouseTransferNote_Number] ON [Store_WarehouseTransferNote] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_WarehouseTransferNote_Number] ON [Store_WarehouseTransferNote] ([Number]) -CREATE INDEX [IX_Store_WarehouseTransferNoteDetail_MasterID] ON [Store_WarehouseTransferNoteDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_WarehouseTransferNoteDetail_MasterID] ON [Store_WarehouseTransferNoteDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_WarehouseTransferNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_WarehouseTransferNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL; -GO +CREATE UNIQUE INDEX [IX_Store_WarehouseTransferNoteDetail_Number_FromPackingCode_FromLocationCode_ToLocationCode] ON [Store_WarehouseTransferNoteDetail] ([Number], [FromPackingCode], [FromLocationCode], [ToLocationCode]) WHERE [FromPackingCode] IS NOT NULL -CREATE UNIQUE INDEX [IX_Store_WorkOrder_Number] ON [Store_WorkOrder] ([Number]); -GO +CREATE UNIQUE INDEX [IX_Store_WorkOrder_Number] ON [Store_WorkOrder] ([Number]) -CREATE INDEX [IX_Store_WorkOrderDetail_MasterID] ON [Store_WorkOrderDetail] ([MasterID]); -GO +CREATE INDEX [IX_Store_WorkOrderDetail_MasterID] ON [Store_WorkOrderDetail] ([MasterID]) -CREATE UNIQUE INDEX [IX_Store_WorkOrderDetail_Number_ItemCode] ON [Store_WorkOrderDetail] ([Number], [ItemCode]); -GO +CREATE UNIQUE INDEX [IX_Store_WorkOrderDetail_Number_ItemCode] ON [Store_WorkOrderDetail] ([Number], [ItemCode]) diff --git a/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.InventoryDbContext.sql b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.InventoryDbContext.sql new file mode 100644 index 000000000..4bf307bb4 --- /dev/null +++ b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.InventoryDbContext.sql @@ -0,0 +1,378 @@ +CREATE TABLE "Inventory_Balance" ( + "Id" uuid NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NOT NULL, + "SerialNumber" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "PutInTime" timestamp without time zone NOT NULL, + "ContainerCode" character varying(64) NULL, + "LastCountTime" timestamp without time zone NOT NULL, + "LastCountPlanNumber" character varying(64) NULL, + "LastCountLabel" character varying(64) NULL, + "IsActive" boolean NOT NULL DEFAULT FALSE, + "ManageType" character varying(64) NOT NULL, + "LastTransType" character varying(64) NOT NULL, + "LastTransNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_Balance" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_Container" ( + "Id" uuid NOT NULL, + "ContainerCode" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "Type" character varying(64) NULL, + "Capacity" numeric(18,6) NOT NULL, + "ProjectCode" text NULL, + "SeqNo" text NULL, + "BusinessStatus" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "WarehouseCode" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" text NULL, + CONSTRAINT "PK_Inventory_Container" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_ErpBalance" ( + "Id" uuid NOT NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "Status" text NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_ErpBalance" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_ExpectIn" ( + "Id" uuid NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NULL, + "SerialNumber" character varying(64) NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "JobNumber" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_ExpectIn" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_ExpectOut" ( + "Id" uuid NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NULL, + "SerialNumber" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "JobNumber" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_ExpectOut" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_LocationCapacity" ( + "Id" uuid NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "UsedCapacity" numeric(18,6) NOT NULL, + "AvailableCapacity" numeric(18,6) NOT NULL, + "BearableOverloadCapacity" numeric(18,6) NOT NULL, + "IsInfinity" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_LocationCapacity" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_Snapshot" ( + "Id" uuid NOT NULL, + "SnapshotDate" timestamp without time zone NOT NULL, + "SnapshotTime" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NULL, + "SerialNumber" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "PutInTime" timestamp without time zone NOT NULL, + "ContainerCode" character varying(64) NULL, + "WarehouseCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_Snapshot" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_Transaction" ( + "Id" uuid NOT NULL, + "TransNumber" character varying(64) NOT NULL, + "TransType" character varying(64) NOT NULL, + "TransSubType" character varying(64) NOT NULL, + "TransInOut" character varying(64) NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "TransTime" timestamp without time zone NOT NULL, + "Worker" character varying(64) NULL, + "JobNumber" character varying(64) NULL, + "DocNumber" character varying(64) NULL, + "ManageType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_Transaction" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_TransferLog" ( + "Id" uuid NOT NULL, + "TransferNumber" character varying(64) NOT NULL, + "FromPackingCode" character varying(64) NOT NULL, + "ToPackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromTransNumber" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLot" character varying(64) NULL, + "FromStatus" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NOT NULL, + "FromLocationGroup" character varying(64) NOT NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromContainerCode" character varying(64) NULL, + "ToTransNumber" character varying(64) NOT NULL, + "ToLot" character varying(64) NULL, + "ToStatus" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NOT NULL, + "ToLocationGroup" character varying(64) NOT NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToContainerCode" character varying(64) NULL, + "TransType" character varying(64) NOT NULL, + "TransSubType" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "TransferTime" timestamp without time zone NOT NULL, + "Worker" character varying(64) NULL, + "JobNumber" character varying(64) NULL, + "DocNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_TransferLog" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Inventory_ContainerDetail" ( + "Id" uuid NOT NULL, + "ContainerCode" character varying(64) NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "Year" text NULL, + "ProductNo" text NULL, + "ProjectCode" text NULL, + "Position" text NULL, + "SeqNo" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" text NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Inventory_ContainerDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Inventory_ContainerDetail_Inventory_Container_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Inventory_Container" ("Id") ON DELETE CASCADE +); + + +CREATE UNIQUE INDEX "IX_Inventory_Balance_PackingCode_Status_LocationCode_ItemCode_~" ON "Inventory_Balance" ("PackingCode", "Status", "LocationCode", "ItemCode", "Lot", "ContainerCode"); + + +CREATE UNIQUE INDEX "IX_Inventory_Container_ContainerCode" ON "Inventory_Container" ("ContainerCode"); + + +CREATE INDEX "IX_Inventory_ContainerDetail_MasterID" ON "Inventory_ContainerDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Inventory_ContainerDetail_PackingCode_Lot_ItemCode" ON "Inventory_ContainerDetail" ("PackingCode", "Lot", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Inventory_ErpBalance_ItemCode_Lot_LocationCode_Status" ON "Inventory_ErpBalance" ("ItemCode", "Lot", "LocationCode", "Status"); + + +CREATE UNIQUE INDEX "IX_Inventory_ExpectIn_PackingCode_LocationCode_ItemCode_JobNum~" ON "Inventory_ExpectIn" ("PackingCode", "LocationCode", "ItemCode", "JobNumber"); + + +CREATE UNIQUE INDEX "IX_Inventory_ExpectOut_PackingCode_Status_ItemCode_LocationCod~" ON "Inventory_ExpectOut" ("PackingCode", "Status", "ItemCode", "LocationCode", "Lot", "JobNumber"); + + +CREATE UNIQUE INDEX "IX_Inventory_LocationCapacity_LocationCode" ON "Inventory_LocationCapacity" ("LocationCode"); + + +CREATE UNIQUE INDEX "IX_Inventory_Snapshot_SnapshotDate_SnapshotTime_PackingCode" ON "Inventory_Snapshot" ("SnapshotDate", "SnapshotTime", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Inventory_Transaction_TransNumber" ON "Inventory_Transaction" ("TransNumber"); + + +CREATE UNIQUE INDEX "IX_Inventory_TransferLog_TransferNumber" ON "Inventory_TransferLog" ("TransferNumber"); + + diff --git a/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.StoreDbContext.sql b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.StoreDbContext.sql new file mode 100644 index 000000000..788d60abc --- /dev/null +++ b/be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/scripts/db.Npgsql.EntityFrameworkCore.PostgreSQL.StoreDbContext.sql @@ -0,0 +1,5691 @@ +CREATE TABLE "Job_CheckJob" ( + "Id" uuid NOT NULL, + "DeliverNoteNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_CheckJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_CountJob" ( + "Id" uuid NOT NULL, + "CountPlanNumber" character varying(64) NULL, + "CountStage" character varying(64) NOT NULL, + "CountMethod" character varying(64) NOT NULL, + "Type" character varying(64) NOT NULL, + "Description" text NULL, + "ItemCode" character varying(64) NULL, + "LocationCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_CountJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_DeliverJob" ( + "Id" uuid NOT NULL, + "DeliverRequestNumber" character varying(64) NULL, + "CustomerCode" character varying(64) NOT NULL, + "CustomerAddressCode" character varying(64) NULL, + "DeliverTime" timestamp without time zone NOT NULL, + "DeliverPlanNumber" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_DeliverJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_InspectJob" ( + "Id" uuid NOT NULL, + "InspectNumber" character varying(64) NULL, + "ReceiptNumber" character varying(64) NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" text NULL, + "NextAction" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_InspectJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_IssueJob" ( + "Id" uuid NOT NULL, + "RequestType" character varying(64) NULL, + "ProdLine" character varying(64) NULL, + "MaterialRequestNumber" character varying(64) NULL, + "Workshop" character varying(64) NULL, + "UseOnTheWayLocation" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_IssueJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_JisDeliverJob" ( + "Id" uuid NOT NULL, + "Customer" text NULL, + "CustomerAddressCode" text NULL, + "CustomerLocationCode" text NULL, + "CustomerWarehouseCode" text NULL, + "ProjectCode" text NULL, + "Position" text NULL, + "PlanTime" timestamp without time zone NOT NULL, + "ContainerQty" numeric(18,6) NOT NULL, + "ItemQty" numeric(18,6) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_JisDeliverJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_ProductionReturnJob" ( + "Id" uuid NOT NULL, + "ProductionReturnRequestNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_ProductionReturnJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_ProductReceiveJob" ( + "Id" uuid NOT NULL, + "ProductionPlanNumber" character varying(64) NULL, + "Workshop" character varying(64) NOT NULL, + "Shift" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_ProductReceiveJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_PurchaseReceiptJob" ( + "Id" uuid NOT NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "SupplierName" character varying(64) NULL, + "Type" character varying(64) NOT NULL, + "TimeWindow" character varying(64) NULL, + "PlanArriveDate" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_PurchaseReceiptJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_PurchaseReturnJob" ( + "Id" uuid NOT NULL, + "RpNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "PurchaseReturnRequestNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NULL, + "ReturnReason" text NULL, + "ReturnTime" timestamp without time zone NOT NULL, + "ReturnType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_PurchaseReturnJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_PutawayJob" ( + "Id" uuid NOT NULL, + "PutawayMode" character varying(64) NOT NULL, + "SupplierCode" character varying(64) NULL, + "InspectNumber" character varying(64) NULL, + "ReceiptNumber" character varying(64) NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "ProductReceiptNumber" character varying(64) NULL, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_PutawayJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_UnplannedIssueJob" ( + "Id" uuid NOT NULL, + "UnplannedIssueRequestNumber" character varying(64) NULL, + "DeptCode" character varying(64) NULL, + "DeptName" character varying(64) NULL, + "BuildDate" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_UnplannedIssueJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_UnplannedReceiptJob" ( + "Id" uuid NOT NULL, + "UnplannedReceiptRequestNumber" character varying(64) NULL, + "DeptCode" character varying(64) NULL, + "DeptName" character varying(64) NULL, + "BuildDate" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "UpStreamJobNumber" character varying(64) NULL, + "JobDescription" character varying(1024) NULL, + "JobType" character varying(64) NOT NULL, + "JobStatus" character varying(64) NOT NULL, + "Priority" integer NOT NULL DEFAULT 0, + "PriorityIncrement" integer NOT NULL DEFAULT 0, + "WorkGroupCode" character varying(64) NULL, + "IsAutoComplete" boolean NOT NULL DEFAULT FALSE, + "AcceptUserId" uuid NULL, + "AcceptUserName" character varying(64) NULL, + "AcceptTime" timestamp without time zone NULL, + "CompleteUserId" uuid NULL, + "CompleteUserName" character varying(64) NULL, + "CompleteTime" timestamp without time zone NULL, + "WarehouseCode" text NULL, + CONSTRAINT "PK_Job_UnplannedReceiptJob" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_BackFlushNote" ( + "Id" uuid NOT NULL, + "PackingCode" character varying(64) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "Lot" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "CompleteTime" timestamp without time zone NOT NULL, + "Workshop" character varying(64) NOT NULL, + "ProdLine" character varying(64) NOT NULL, + "Shift" character varying(64) NULL, + "ProductionPlanNumber" character varying(64) NOT NULL, + "ProductReceiptNumber" text NULL, + "ProductRecycleNumber" text NULL, + "JobNumber" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_BackFlushNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ContainerBindNote" ( + "Id" uuid NOT NULL, + "ContainerCode" character varying(64) NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "BindType" character varying(64) NOT NULL, + "BindTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ContainerBindNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_CountAdjustNote" ( + "Id" uuid NOT NULL, + "CountNoteNumber" text NULL, + "CountPlanNumber" character varying(64) NULL, + "Type" character varying(64) NULL, + "CountAdjustRequestNumber" text NULL, + "JobNumber" text NULL, + "IsAdjusted" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_CountAdjustNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_CountAdjustRequest" ( + "Id" uuid NOT NULL, + "CountNoteNumber" character varying(64) NULL, + "CountPlanNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_CountAdjustRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_CountNote" ( + "Id" uuid NOT NULL, + "CountPlanNumber" text NULL, + "Type" character varying(64) NOT NULL, + "Stage" character varying(64) NOT NULL, + "Description" character varying(64) NULL, + "BeginTime" timestamp without time zone NOT NULL, + "EndTime" timestamp without time zone NOT NULL, + "Adjusted" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_CountNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_CountPlan" ( + "Id" uuid NOT NULL, + "Type" character varying(64) NOT NULL, + "Stage" character varying(64) NOT NULL, + "RequestType" character varying(64) NOT NULL, + "CountMethod" character varying(64) NOT NULL, + "Description" character varying(64) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "PlanTime" timestamp without time zone NOT NULL, + "JsonItemCodes" text NULL, + "JsonLocationCodes" text NULL, + "JsonInventoryStatus" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_CountPlan" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_CustomerAsn" ( + "Id" uuid NOT NULL, + "SoNumber" character varying(64) NOT NULL, + "CustomerCode" character varying(64) NOT NULL, + "Status" integer NOT NULL, + "ContactName" character varying(64) NULL, + "ContactPhone" character varying(64) NULL, + "ContactEmail" character varying(64) NULL, + "DockCode" character varying(64) NULL, + "BeginTime" timestamp without time zone NULL, + "EndTime" timestamp without time zone NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_CustomerAsn" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_CustomerReturnNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "ReturnTime" timestamp without time zone NOT NULL, + "Customer" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_CustomerReturnNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_DeliverNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "CustomerCode" character varying(64) NOT NULL, + "CustomerAddressCode" character varying(64) NULL, + "DeliverPlanNumber" text NULL, + "DeliverTime" timestamp without time zone NOT NULL, + "DeliverRequestNumber" text NULL, + "DeliverRequestType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_DeliverNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_DeliverPlan" ( + "Id" uuid NOT NULL, + "PlanDate" timestamp without time zone NOT NULL, + "PlanTime" timestamp without time zone NOT NULL, + "CustomerCode" character varying(64) NOT NULL, + "CustomerAddressCode" character varying(64) NOT NULL, + "Project" character varying(64) NOT NULL, + "SoNumber" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_DeliverPlan" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_DeliverRequest" ( + "Id" uuid NOT NULL, + "DeliverTime" timestamp without time zone NOT NULL, + "DeliverPlanNumber" character varying(64) NULL, + "CustomerCode" character varying(64) NOT NULL, + "CustomerAddressCode" character varying(64) NULL, + "DeliverRequestType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_DeliverRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ExchangeData" ( + "Id" uuid NOT NULL, + "Number" bigint NOT NULL, + "DataType" character varying(64) NOT NULL, + "DataAction" integer NOT NULL, + "EffectiveDate" timestamp without time zone NOT NULL, + "Status" character varying(64) NOT NULL, + "DataIdentityCode" character varying(64) NOT NULL, + "DataContent" text NULL, + "DestinationSystem" character varying(64) NOT NULL, + "ReadTime" timestamp without time zone NULL, + "Reader" text NULL, + "SourceSystem" character varying(64) NOT NULL, + "WriteTime" timestamp without time zone NOT NULL, + "Writer" text NULL, + "ErrorCode" character varying(64) NOT NULL, + "ErrorMessage" character varying(3072) NULL, + "RetryTimes" integer NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Store_ExchangeData" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_InspectAbnormalNote" ( + "Id" uuid NOT NULL, + "InspectNumber" character varying(64) NULL, + "ReceiptNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_InspectAbnormalNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_InspectNote" ( + "Id" uuid NOT NULL, + "InspectNumber" character varying(64) NULL, + "ReceiptNumber" character varying(64) NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "NextAction" character varying(64) NOT NULL, + "JobNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_InspectNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_InspectRequest" ( + "Id" uuid NOT NULL, + "ReceiptNumber" character varying(64) NOT NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_InspectRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_InventoryInitialNote" ( + "Id" uuid NOT NULL, + "RequestNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_InventoryInitialNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_InventoryTransferNote" ( + "Id" uuid NOT NULL, + "TransferType" character varying(64) NOT NULL, + "JobNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_InventoryTransferNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_IsolationNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_IsolationNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_IssueNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "Workshop" character varying(64) NULL, + "RequestNumber" character varying(64) NULL, + "RequestType" character varying(64) NULL, + "UseOnTheWayLocation" boolean NOT NULL, + "ConfirmTime" timestamp without time zone NULL, + "Confirmed" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_IssueNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ItemTransformNote" ( + "Id" uuid NOT NULL, + "RequestNumber" character varying(64) NULL, + "JobNumber" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ItemTransformNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ItemTransformRequest" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ItemTransformRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_JisDeliverNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "Customer" character varying(64) NOT NULL, + "CustomerAddressCode" character varying(64) NOT NULL, + "ProjectCode" text NULL, + "DeliverTime" timestamp without time zone NOT NULL, + "ContainerQty" numeric(18,6) NOT NULL, + "ItemQty" numeric(18,6) NOT NULL, + "TotalPackCapacity" text NULL, + "ArrivalTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_JisDeliverNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_JisProductReceiptNote" ( + "Id" uuid NOT NULL, + "ReceiptType" character varying(64) NOT NULL, + "SourceNumber" text NULL, + "JobNumber" character varying(64) NULL, + "ProductionPlanNumber" character varying(64) NULL, + "LocationCode" text NULL, + "RawLocationCode" text NULL, + "ProdLine" text NULL, + "WorkShop" character varying(64) NOT NULL, + "Shift" character varying(64) NULL, + "CompleteTime" timestamp without time zone NOT NULL, + "ContainerQty" numeric(18,6) NOT NULL, + "ItemQty" numeric(18,6) NOT NULL, + "WarehouseCode" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_JisProductReceiptNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_MaterialRequest" ( + "Id" uuid NOT NULL, + "Type" character varying(64) NULL, + "PreparationPlanNumber" character varying(64) NULL, + "ProdLine" character varying(64) NULL, + "Workshop" character varying(64) NULL, + "UseOnTheWayLocation" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_MaterialRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_NoOkConvertOkNote" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_NoOkConvertOkNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_OfflineSettlementNote" ( + "Id" uuid NOT NULL, + "JobNumber" text NULL, + "ProductReceiptNumber" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_OfflineSettlementNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PreparationPlan" ( + "Id" uuid NOT NULL, + "ProductionPlanNumber" character varying(64) NOT NULL, + "Workshop" character varying(64) NULL, + "ProdLine" character varying(64) NULL, + "Shift" character varying(64) NULL, + "Team" character varying(64) NULL, + "PlanDate" timestamp without time zone NOT NULL, + "PlanTime" timestamp without time zone NOT NULL, + "Status" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_PreparationPlan" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductionPlan" ( + "Id" uuid NOT NULL, + "Workshop" character varying(64) NOT NULL, + "ProdLine" character varying(64) NOT NULL, + "Shift" character varying(64) NOT NULL, + "Team" character varying(64) NOT NULL, + "PlanDate" timestamp without time zone NOT NULL, + "PlanTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductionPlan" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductionReturnNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "ProductionReturnRequestNumber" character varying(64) NULL, + "ReturnTime" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ProductionReturnNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductionReturnRequest" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductionReturnRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductL7PartsNote" ( + "Id" uuid NOT NULL, + "Year" text NULL, + "ProductNo" text NULL, + "Program" text NULL, + "Position" text NULL, + "FATA" text NULL, + "Configuration" text NULL, + "ContainerCode" text NULL, + "State" integer NOT NULL, + "CreateDate" timestamp without time zone NOT NULL, + "Status" integer NOT NULL, + "ReceiptNumber" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ProductL7PartsNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductReceiptNote" ( + "Id" uuid NOT NULL, + "ReceiptType" character varying(64) NOT NULL, + "SourceNumber" text NULL, + "JobNumber" character varying(64) NULL, + "ProductionPlanNumber" character varying(64) NULL, + "ProductReceiptRequestNumber" character varying(64) NULL, + "WorkShop" character varying(64) NULL, + "Shift" character varying(64) NULL, + "CompleteTime" timestamp without time zone NOT NULL, + "Type" character varying(64) NULL, + "WarehouseCode" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ProductReceiptNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductReceiptRequest" ( + "Id" uuid NOT NULL, + "ProductionPlanNumber" text NULL, + "Workshop" character varying(64) NULL, + "ProdLine" character varying(64) NULL, + "Shift" character varying(64) NULL, + "Team" character varying(64) NULL, + "PlanDate" timestamp without time zone NOT NULL, + "Type" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductReceiptRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductRecycleNote" ( + "Id" uuid NOT NULL, + "RequestNumber" text NULL, + "RecycleTime" timestamp without time zone NOT NULL, + "Workshop" character varying(64) NULL, + "Shift" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ProductRecycleNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ProductRecycleRequest" ( + "Id" uuid NOT NULL, + "Workshop" character varying(64) NULL, + "Shift" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductRecycleRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PurchaseOrder" ( + "Id" uuid NOT NULL, + "SupplierCode" character varying(64) NULL, + "PoType" character varying(64) NULL, + "OrderStatus" character varying(64) NOT NULL, + "IsConsignment" boolean NOT NULL DEFAULT FALSE, + "OrderDate" timestamp without time zone NOT NULL, + "DueDate" timestamp without time zone NOT NULL, + "Version" character varying(64) NULL, + "TaxRate" numeric(18,6) NOT NULL DEFAULT 0.0, + "ContactName" character varying(64) NULL, + "ContactPhone" character varying(64) NULL, + "ContactEmail" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_PurchaseOrder" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PurchaseReceiptNote" ( + "Id" uuid NOT NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "ReceiveTime" timestamp without time zone NOT NULL, + "JobNumber" character varying(64) NULL, + "Type" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_PurchaseReceiptNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PurchaseReceiptRequest" ( + "Id" uuid NOT NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "SupplierName" character varying(64) NULL, + "TruckNumber" character varying(64) NULL, + "DockCode" character varying(64) NOT NULL, + "TimeWindow" character varying(64) NOT NULL, + "PlanArriveDate" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_PurchaseReceiptRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PurchaseReturnNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "PurchaseReturnRequestNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NULL, + "ReturnReason" text NULL, + "ReturnTime" timestamp without time zone NOT NULL, + "ReturnType" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_PurchaseReturnNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PurchaseReturnRequest" ( + "Id" uuid NOT NULL, + "RpNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NULL, + "ReturnTime" timestamp without time zone NOT NULL, + "ReturnType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_PurchaseReturnRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PutawayNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NULL, + "InspectNumber" character varying(64) NULL, + "ReceiptNumber" character varying(64) NULL, + "PurchaseReceiptRequestNumber" character varying(64) NULL, + "AsnNumber" character varying(64) NULL, + "RpNumber" character varying(64) NULL, + "ProductReceiptNumber" character varying(64) NULL, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_PutawayNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_PutawayRequest" ( + "Id" uuid NOT NULL, + "PutawayMode" character varying(64) NOT NULL, + "SupplierCode" text NULL, + "InspectNumber" text NULL, + "ReceiptNumber" text NULL, + "PurchaseReceiptRequestNumber" text NULL, + "AsnNumber" text NULL, + "RpNumber" text NULL, + "PoNumber" text NULL, + "ProductReceiptNumber" text NULL, + "Type" character varying(64) NOT NULL, + "RequestNumber" text NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_PutawayRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ReceiptAbnormalNote" ( + "Id" uuid NOT NULL, + "ReceiptNumber" character varying(64) NOT NULL, + "AsnNumber" character varying(64) NOT NULL, + "SupplierCode" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ReceiptAbnormalNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_RecycledMaterialReceiptNote" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_RecycledMaterialReceiptNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_SaleOrder" ( + "Id" uuid NOT NULL, + "CustomerCode" character varying(64) NULL, + "SoType" character varying(64) NULL, + "SoStatus" character varying(64) NOT NULL, + "OrderDate" timestamp without time zone NOT NULL, + "DueDate" timestamp without time zone NOT NULL, + "Version" character varying(64) NULL, + "TaxRate" numeric(18,6) NOT NULL DEFAULT 0.0, + "ContactName" character varying(64) NULL, + "ContactPhone" character varying(64) NULL, + "ContactEmail" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_SaleOrder" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ScrapNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "ScrapRequestNumber" character varying(64) NULL, + "Type" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ScrapNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_ScrapRequest" ( + "Id" uuid NOT NULL, + "Type" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ScrapRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_SupplierAsn" ( + "Id" uuid NOT NULL, + "RpNumber" character varying(64) NOT NULL, + "PoNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "ContactName" character varying(64) NULL, + "ContactPhone" character varying(64) NULL, + "ContactEmail" character varying(64) NULL, + "TruckNumber" character varying(64) NULL, + "DockCode" character varying(64) NOT NULL, + "ShipDate" timestamp without time zone NOT NULL, + "DueDate" timestamp without time zone NOT NULL, + "TimeWindow" character varying(64) NULL, + "PlanArriveDate" timestamp without time zone NOT NULL, + "Ctype" text NULL, + "PlanUserCode" text NULL, + "CreateType" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_SupplierAsn" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_TransferNote" ( + "Id" uuid NOT NULL, + "RequestNumber" text NULL, + "JobNumber" character varying(64) NULL, + "Type" character varying(64) NULL, + "UseOnTheWayLocation" boolean NOT NULL, + "ConfirmTime" timestamp without time zone NULL, + "Confirmed" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_TransferNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_TransferRequest" ( + "Id" uuid NOT NULL, + "Type" character varying(64) NULL, + "UseOnTheWayLocation" boolean NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_TransferRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_UnplannedIssueNote" ( + "Id" uuid NOT NULL, + "DeptCode" character varying(64) NULL, + "DeptName" character varying(64) NULL, + "BuildDate" timestamp without time zone NOT NULL, + "UnplannedIssueRequestNumber" character varying(64) NULL, + "JobNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_UnplannedIssueNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_UnplannedIssueRequest" ( + "Id" uuid NOT NULL, + "DeptCode" character varying(64) NULL, + "DeptName" character varying(64) NULL, + "BuildDate" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_UnplannedIssueRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_UnplannedReceiptNote" ( + "Id" uuid NOT NULL, + "DeptCode" character varying(64) NULL, + "DeptName" character varying(64) NULL, + "BuildDate" timestamp without time zone NOT NULL, + "UnplannedReceiptRequestNumber" character varying(64) NULL, + "JobNumber" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_UnplannedReceiptNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_UnplannedReceiptRequest" ( + "Id" uuid NOT NULL, + "DeptCode" character varying(64) NULL, + "DeptName" character varying(64) NULL, + "BuildDate" timestamp without time zone NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + "AutoSubmit" boolean NOT NULL, + "AutoAgree" boolean NOT NULL, + "AutoHandle" boolean NOT NULL, + "AutoCompleteJob" boolean NOT NULL, + "DirectCreateNote" boolean NOT NULL, + "RequestStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_UnplannedReceiptRequest" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_WarehouseTransferNote" ( + "Id" uuid NOT NULL, + "JobNumber" character varying(64) NULL, + "SupplierCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_WarehouseTransferNote" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Store_WorkOrder" ( + "Id" uuid NOT NULL, + "WorkOrderId" character varying(64) NULL, + "EffectiveDate" timestamp without time zone NOT NULL, + "WorkStation" character varying(64) NULL, + "WoStatus" character varying(64) NOT NULL, + "Op" character varying(64) NULL, + "LocationCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Type" character varying(64) NOT NULL, + "ExtraProperties" text NULL, + "ConcurrencyStamp" character varying(40) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "TenantId" uuid NULL, + "Remark" character varying(3072) NULL, + "Worker" text NULL, + "Number" character varying(64) NOT NULL, + "ActiveDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_WorkOrder" PRIMARY KEY ("Id") +); + + +CREATE TABLE "Job_CheckJobDetail" ( + "Id" uuid NOT NULL, + "Order" character varying(64) NULL, + "CustomerItemCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "PackingCode" character varying(64) NOT NULL, + "Lot" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Job_CheckJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_CheckJobDetail_Job_CheckJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_CheckJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_CountJobDetail" ( + "Id" uuid NOT NULL, + "CountLabel" character varying(64) NOT NULL, + "InventoryQty" numeric(18,6) NOT NULL, + "Uom" text NULL, + "InventoryLocationCode" character varying(64) NULL, + "CountQty" numeric(18,6) NOT NULL, + "CountTime" timestamp without time zone NULL, + "CountOperator" character varying(64) NULL, + "CountDescription" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "PackingCode" character varying(64) NOT NULL, + "Lot" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Job_CountJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_CountJobDetail_Job_CountJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_CountJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_DeliverJobDetail" ( + "Id" uuid NOT NULL, + "ToLocationCode" character varying(64) NULL, + "ToLocationArea" text NULL, + "ToLocationGroup" text NULL, + "ToLocationErpCode" character varying(64) NULL, + "ToWarehouseCode" character varying(64) NULL, + "OnTheWayLocationCode" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_DeliverJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_DeliverJobDetail_Job_DeliverJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_DeliverJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_InspectJobDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "InspectType" character varying(64) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL, + "Uom" character varying(64) NULL, + "ReceiveQty" numeric(18,6) NOT NULL, + "InspectQty" numeric(18,6) NOT NULL, + "GoodQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "FailedReason" character varying(64) NULL, + "FailedQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "CrackQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "InspectUser" character varying(64) NULL, + "NotPassedQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "AbcClass" text NULL, + "DetailInspectStatus" character varying(64) NOT NULL, + "Appearance" text NULL, + "Volume" text NULL, + "Weight" text NULL, + "OtherPropertyJson" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "PackingCode" character varying(64) NOT NULL, + "Lot" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Job_InspectJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_InspectJobDetail_Job_InspectJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_InspectJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_InspectJobSummaryDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "InspectType" character varying(64) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL, + "Uom" character varying(64) NULL, + "ReceiveQty" numeric(18,6) NOT NULL, + "InspectQty" numeric(18,6) NOT NULL, + "GoodQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "FailedReason" character varying(64) NULL, + "FailedQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "CrackQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "InspectUser" character varying(64) NULL, + "NotPassedQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "SummaryInspectStatus" character varying(64) NOT NULL, + "AbcClass" text NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "InspectReport" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Job_InspectJobSummaryDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_InspectJobSummaryDetail_Job_InspectJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_InspectJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_IssueJobDetail" ( + "Id" uuid NOT NULL, + "RequestLocationCode" character varying(64) NULL, + "ToLocationCode" character varying(64) NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NULL, + "ToWarehouseCode" character varying(64) NULL, + "OnTheWayLocationCode" character varying(64) NULL, + "ProdLine" character varying(64) NULL, + "WorkStation" character varying(64) NULL, + "ExpiredTime" timestamp without time zone NOT NULL, + "Operation" character varying(64) NULL, + "DistributionType" character varying(64) NOT NULL, + "TruncType" character varying(64) NOT NULL, + "RoundedQty" numeric(18,6) NOT NULL, + "PlannedSplitRule" character varying(64) NOT NULL, + "PlanBeginTime" timestamp without time zone NOT NULL, + "DeliveryQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_IssueJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_IssueJobDetail_Job_IssueJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_IssueJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_JisDeliverJobDetail" ( + "Id" uuid NOT NULL, + "ContainerCode" text NULL, + "ContainerName" text NULL, + "ContainerDesc" text NULL, + "ItemQty" numeric(18,6) NOT NULL, + "FromLocationCode" character varying(64) NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NULL, + "FromWarehouseCode" character varying(64) NULL, + "ToLocationCode" character varying(64) NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NULL, + "ToWarehouseCode" character varying(64) NULL, + "Status" text NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" text NULL, + "Remark" character varying(3072) NULL, + CONSTRAINT "PK_Job_JisDeliverJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_JisDeliverJobDetail_Job_JisDeliverJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_JisDeliverJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_ProductionReturnJobDetail" ( + "Id" uuid NOT NULL, + "FromLocationCode" character varying(64) NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NULL, + "FromWarehouseCode" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_ProductionReturnJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_ProductionReturnJobDetail_Job_ProductionReturnJob_Maste~" FOREIGN KEY ("MasterID") REFERENCES "Job_ProductionReturnJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_ProductReceiveJobDetail" ( + "Id" uuid NOT NULL, + "ProdLine" character varying(64) NOT NULL, + "RawLocationCode" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_ProductReceiveJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_ProductReceiveJobDetail_Job_ProductReceiveJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_ProductReceiveJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_PurchaseReceiptJobDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "PurchaseReceiptInspectStatus" character varying(64) NOT NULL, + "InspectPhotoJson" text NULL, + "FailedReason" text NULL, + "MassDefect" text NULL, + "SupplierPackUom" text NULL, + "SupplierPackQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_PurchaseReceiptJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_PurchaseReceiptJobDetail_Job_PurchaseReceiptJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_PurchaseReceiptJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_PurchaseReturnJobDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "Reason" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_PurchaseReturnJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_PurchaseReturnJobDetail_Job_PurchaseReturnJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_PurchaseReturnJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_PutawayJobDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "FromLocationCode" character varying(64) NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NULL, + "FromWarehouseCode" character varying(64) NULL, + "Qty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_PutawayJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_PutawayJobDetail_Job_PutawayJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_PutawayJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_UnplannedIssueJobDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" text NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_UnplannedIssueJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_UnplannedIssueJobDetail_Job_UnplannedIssueJob_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Job_UnplannedIssueJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Job_UnplannedReceiptJobDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" text NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" text NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Job_UnplannedReceiptJobDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Job_UnplannedReceiptJobDetail_Job_UnplannedReceiptJob_Maste~" FOREIGN KEY ("MasterID") REFERENCES "Job_UnplannedReceiptJob" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_BackFlushNoteDetail" ( + "Id" uuid NOT NULL, + "BomVersion" character varying(64) NULL, + "IsOffLine" boolean NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NOT NULL, + "LocationGroup" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_BackFlushNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_BackFlushNoteDetail_Store_BackFlushNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_BackFlushNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ContainerBindNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ContainerBindNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ContainerBindNoteDetail_Store_ContainerBindNote_Maste~" FOREIGN KEY ("MasterID") REFERENCES "Store_ContainerBindNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_CountAdjustNoteDetail" ( + "Id" uuid NOT NULL, + "CountLabel" character varying(64) NOT NULL, + "InventoryQty" numeric(18,6) NOT NULL, + "TransInOut" character varying(64) NOT NULL, + "ReasonCode" character varying(64) NULL, + "CountQty" numeric(18,6) NOT NULL, + "AdjustQty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "Uom" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_CountAdjustNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_CountAdjustNoteDetail_Store_CountAdjustNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_CountAdjustNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_CountAdjustRequestDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" text NULL, + "InventoryQty" numeric(18,6) NOT NULL, + "CountQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_CountAdjustRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_CountAdjustRequestDetail_Store_CountAdjustRequest_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_CountAdjustRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_CountNoteDetail" ( + "Id" uuid NOT NULL, + "CountPlanNumber" character varying(64) NULL, + "CountLabel" character varying(64) NOT NULL, + "Uom" text NULL, + "InventoryQty" numeric(18,6) NOT NULL, + "FirstCountQty" numeric(18,6) NOT NULL, + "FirstCountTime" timestamp without time zone NULL, + "FirstCountOperator" character varying(64) NULL, + "FirstCountDescription" character varying(64) NULL, + "RepeatCountQty" numeric(18,6) NOT NULL, + "RepeatCountTime" timestamp without time zone NULL, + "RepeatCountOperator" character varying(64) NULL, + "RepeatCountDescription" character varying(64) NULL, + "AuditCountQty" numeric(18,6) NOT NULL, + "AuditCountTime" timestamp without time zone NULL, + "AuditCountOperator" character varying(64) NULL, + "AuditCountDescription" character varying(64) NULL, + "FinalCountQty" numeric(18,6) NOT NULL, + "DetailStatus" character varying(64) NOT NULL, + "Stage" character varying(64) NOT NULL, + "Adjusted" boolean NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_CountNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_CountNoteDetail_Store_CountNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_CountNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_CountPlanDetail" ( + "Id" uuid NOT NULL, + "CountLabel" character varying(64) NOT NULL, + "Uom" character varying(64) NULL, + "InventoryQty" numeric(18,6) NOT NULL, + "FirstCountQty" numeric(18,6) NOT NULL, + "FirstCountTime" timestamp without time zone NULL, + "FirstCountOperator" character varying(64) NULL, + "FirstCountDescription" character varying(64) NULL, + "RepeatCountQty" numeric(18,6) NOT NULL, + "RepeatCountTime" timestamp without time zone NULL, + "RepeatCountOperator" character varying(64) NULL, + "RepeatCountDescription" character varying(64) NULL, + "AuditCountQty" numeric(18,6) NOT NULL, + "AuditCountTime" timestamp without time zone NULL, + "AuditCountOperator" character varying(64) NULL, + "AuditCountDescription" character varying(64) NULL, + "DetailStatus" integer NOT NULL, + "Stage" character varying(64) NOT NULL, + "FinalCountQty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_CountPlanDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_CountPlanDetail_Store_CountPlan_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_CountPlan" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_CustomerAsnDetail" ( + "Id" uuid NOT NULL, + "SoNumber" character varying(64) NULL, + "SoLine" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_CustomerAsnDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_CustomerAsnDetail_Store_CustomerAsn_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_CustomerAsn" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_CustomerReturnNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_CustomerReturnNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_CustomerReturnNoteDetail_Store_CustomerReturnNote_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_CustomerReturnNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_DeliverNoteDetail" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" character varying(64) NOT NULL, + "ToPackingCode" character varying(64) NOT NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" character varying(64) NOT NULL, + "ToLot" character varying(64) NOT NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_DeliverNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_DeliverNoteDetail_Store_DeliverNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_DeliverNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_DeliverPlanDetail" ( + "Id" uuid NOT NULL, + "SoNumber" character varying(64) NULL, + "SoLine" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_DeliverPlanDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_DeliverPlanDetail_Store_DeliverPlan_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_DeliverPlan" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_DeliverRequestDetail" ( + "Id" uuid NOT NULL, + "AreaCode" text NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_DeliverRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_DeliverRequestDetail_Store_DeliverRequest_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_DeliverRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InspectAbnormalNoteDetail" ( + "Id" uuid NOT NULL, + "AbnormalType" character varying(64) NOT NULL, + "Photos" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_InspectAbnormalNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InspectAbnormalNoteDetail_Store_InspectAbnormalNote_M~" FOREIGN KEY ("MasterID") REFERENCES "Store_InspectAbnormalNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InspectNoteDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "InspectType" character varying(64) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL DEFAULT 0.0, + "Uom" character varying(64) NULL, + "ReceiveQty" numeric(18,6) NOT NULL, + "InspectQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "GoodQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "FailedReason" character varying(64) NULL, + "FailedQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "CrackQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "Photos" text NULL, + "InspectUser" character varying(64) NULL, + "NotPassedQty" numeric(18,6) NOT NULL, + "DetailInspectStatus" character varying(64) NOT NULL, + "AbcClass" text NULL, + "Appearance" text NULL, + "Volume" text NULL, + "Weight" text NULL, + "OtherPropertyJson" text NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_InspectNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InspectNoteDetail_Store_InspectNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_InspectNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InspectNoteSummaryDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "InspectType" character varying(64) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL DEFAULT 0.0, + "Uom" character varying(64) NULL, + "ReceiveQty" numeric(18,6) NOT NULL, + "InspectQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "GoodQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "FailedReason" character varying(64) NULL, + "FailedQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "CrackQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "InspectUser" character varying(64) NULL, + "NotPassedQty" numeric(18,6) NOT NULL, + "SummaryInspectStatus" character varying(64) NOT NULL, + "AbcClass" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_InspectNoteSummaryDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InspectNoteSummaryDetail_Store_InspectNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_InspectNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InspectRequestDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "InspectType" character varying(64) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL DEFAULT 0.0, + "StdPackQty" numeric(18,6) NOT NULL, + "Uom" character varying(64) NULL, + "ReceiveQty" numeric(18,6) NOT NULL, + "InspectQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "Attributes" text NULL, + "DetailInspectStatus" character varying(64) NOT NULL, + "AbcClass" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_InspectRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InspectRequestDetail_Store_InspectRequest_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_InspectRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InspectRequestSummaryDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "InspectType" character varying(64) NOT NULL, + "SamplePercent" numeric(18,6) NOT NULL DEFAULT 0.0, + "Uom" character varying(64) NULL, + "ReceiveQty" numeric(18,6) NOT NULL, + "InspectQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "InspectReport" text NULL, + "SummaryInspectStatus" character varying(64) NOT NULL, + "GoodQty" numeric(18,6) NOT NULL, + "FailedQty" numeric(18,6) NOT NULL, + "CrackQty" numeric(18,6) NOT NULL, + "NotPassedQty" numeric(18,6) NOT NULL, + "AbcClass" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_InspectRequestSummaryDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InspectRequestSummaryDetail_Store_InspectRequest_Mast~" FOREIGN KEY ("MasterID") REFERENCES "Store_InspectRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InventoryInitialNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_InventoryInitialNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InventoryInitialNoteDetail_Store_InventoryInitialNote~" FOREIGN KEY ("MasterID") REFERENCES "Store_InventoryInitialNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_InventoryTransferNoteDetail" ( + "Id" uuid NOT NULL, + "Reason" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_InventoryTransferNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_InventoryTransferNoteDetail_Store_InventoryTransferNo~" FOREIGN KEY ("MasterID") REFERENCES "Store_InventoryTransferNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_IsolationNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_IsolationNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_IsolationNoteDetail_Store_IsolationNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_IsolationNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_IssueNoteDetail" ( + "Id" uuid NOT NULL, + "IssueTime" timestamp without time zone NOT NULL, + "ExpiredTime" timestamp without time zone NOT NULL, + "ProdLine" character varying(64) NULL, + "WorkStation" character varying(64) NULL, + "OnTheWayLocationCode" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_IssueNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_IssueNoteDetail_Store_IssueNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_IssueNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ItemTransformNoteDetail" ( + "Id" uuid NOT NULL, + "FromPackingCode" text NULL, + "FromQty" numeric(18,6) NOT NULL, + "FromSupplierBatch" character varying(64) NULL, + "FromArriveDate" timestamp without time zone NOT NULL, + "FromProduceDate" timestamp without time zone NOT NULL, + "FromExpireDate" timestamp without time zone NOT NULL, + "FromLot" text NULL, + "FromStatus" character varying(64) NOT NULL, + "FromContainerCode" text NULL, + "ToItemCode" character varying(64) NULL, + "ToItemName" character varying(64) NULL, + "ToItemDesc1" character varying(64) NULL, + "ToItemDesc2" character varying(64) NULL, + "ToPackingCode" text NULL, + "ToQty" numeric(18,6) NOT NULL, + "ToSupplierBatch" character varying(64) NULL, + "ToArriveDate" timestamp without time zone NOT NULL, + "ToProduceDate" timestamp without time zone NOT NULL, + "ToExpireDate" timestamp without time zone NOT NULL, + "ToLot" text NULL, + "ToStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToContainerCode" text NULL, + "ReasonCode" text NULL, + "ConcurrencyStamp" text NULL, + "Uom" character varying(64) NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ItemTransformNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ItemTransformNoteDetail_Store_ItemTransformNote_Maste~" FOREIGN KEY ("MasterID") REFERENCES "Store_ItemTransformNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ItemTransformRequestDetail" ( + "Id" uuid NOT NULL, + "FromPackingCode" text NULL, + "FromQty" numeric(18,6) NOT NULL, + "FromSupplierBatch" character varying(64) NULL, + "FromArriveDate" timestamp without time zone NOT NULL, + "FromProduceDate" timestamp without time zone NOT NULL, + "FromExpireDate" timestamp without time zone NOT NULL, + "FromLot" text NULL, + "FromStatus" character varying(64) NOT NULL, + "FromContainerCode" text NULL, + "ToPackingCode" text NULL, + "ToItemName" character varying(64) NULL, + "ToItemDesc1" character varying(64) NULL, + "ToItemDesc2" character varying(64) NULL, + "ToItemCode" character varying(64) NULL, + "ToSupplierBatch" character varying(64) NULL, + "ToArriveDate" timestamp without time zone NOT NULL, + "ToProduceDate" timestamp without time zone NOT NULL, + "ToExpireDate" timestamp without time zone NOT NULL, + "ToQty" numeric(18,6) NOT NULL, + "ToLot" text NULL, + "ToStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToContainerCode" text NULL, + "ReasonCode" text NULL, + "Uom" character varying(64) NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ItemTransformRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ItemTransformRequestDetail_Store_ItemTransformRequest~" FOREIGN KEY ("MasterID") REFERENCES "Store_ItemTransformRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_JisDeliverNoteDetail" ( + "Id" uuid NOT NULL, + "DeliverTime" timestamp without time zone NOT NULL, + "ExpiredTime" timestamp without time zone NOT NULL, + "Year" text NULL, + "ProductNo" text NULL, + "ProjectCode" text NULL, + "Position" text NULL, + "SeqNo" text NULL, + "PackCapacity" text NULL, + "OnlineType" text NULL, + "Stage" text NULL, + "UsedFor" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_JisDeliverNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_JisDeliverNoteDetail_Store_JisDeliverNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_JisDeliverNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_JisProductReceiptNoteDetail" ( + "Id" uuid NOT NULL, + "RawLocationCode" character varying(64) NOT NULL, + "ProdLine" character varying(64) NOT NULL, + "BomVersion" character varying(64) NULL, + "Year" text NULL, + "ProductNo" text NULL, + "ProjectCode" text NULL, + "Position" text NULL, + "SeqNo" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_JisProductReceiptNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_JisProductReceiptNoteDetail_Store_JisProductReceiptNo~" FOREIGN KEY ("MasterID") REFERENCES "Store_JisProductReceiptNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_MaterialRequestDetail" ( + "Id" uuid NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NOT NULL, + "ToLocationGroup" character varying(64) NOT NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "FromLocationArea" text NULL, + "ProdLine" character varying(64) NULL, + "WorkStation" character varying(64) NULL, + "ExpiredTime" timestamp without time zone NOT NULL, + "IssuedQty" numeric(18,6) NOT NULL, + "ReceivedQty" numeric(18,6) NOT NULL, + "Status" character varying(64) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_MaterialRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_MaterialRequestDetail_Store_MaterialRequest_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_MaterialRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_NoOkConvertOkNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_NoOkConvertOkNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_NoOkConvertOkNoteDetail_Store_NoOkConvertOkNote_Maste~" FOREIGN KEY ("MasterID") REFERENCES "Store_NoOkConvertOkNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_OfflineSettlementNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_OfflineSettlementNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_OfflineSettlementNoteDetail_Store_OfflineSettlementNo~" FOREIGN KEY ("MasterID") REFERENCES "Store_OfflineSettlementNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PreparationPlanDetail" ( + "Id" uuid NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "WorkStation" character varying(64) NOT NULL, + "LineStatus" character varying(64) NOT NULL, + "LatestTime" timestamp without time zone NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PreparationPlanDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PreparationPlanDetail_Store_PreparationPlan_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_PreparationPlan" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductionPlanDetail" ( + "Id" uuid NOT NULL, + "PlanQty" numeric(18,6) NOT NULL, + "GoodQty" numeric(18,6) NOT NULL DEFAULT 1.0, + "NoGoodQty" numeric(18,6) NOT NULL DEFAULT 1.0, + "BomVersion" character varying(64) NULL, + "LineStatus" integer NOT NULL, + "Uom" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ProductionPlanDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductionPlanDetail_Store_ProductionPlan_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductionPlan" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductionReturnNoteDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ProductionReturnNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductionReturnNoteDetail_Store_ProductionReturnNote~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductionReturnNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductionReturnRequestDetail" ( + "Id" uuid NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" character varying(64) NULL, + "ToPackingCode" character varying(64) NULL, + "FromContainerCode" character varying(64) NULL, + "ToContainerCode" character varying(64) NULL, + "FromLot" character varying(64) NULL, + "ToLot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductionReturnRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductionReturnRequestDetail_Store_ProductionReturnR~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductionReturnRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductL7PartsNoteDetail" ( + "Id" uuid NOT NULL, + "RowID" integer NOT NULL, + "ProductNo" character varying(64) NULL, + "Program" text NULL, + "Position" character varying(64) NULL, + "FATA" text NULL, + "Configuration" character varying(64) NULL, + "L7Part" character varying(64) NULL, + "CanMake" boolean NOT NULL, + "CanBuy" boolean NOT NULL, + "RawLocationCode" text NULL, + "LocationCode" text NULL, + "ProdLine" text NULL, + "Qty" integer NOT NULL, + "State" integer NOT NULL, + "CreateDate" timestamp without time zone NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductL7PartsNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductL7PartsNoteDetail_Store_ProductL7PartsNote_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductL7PartsNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductReceiptNoteDetail" ( + "Id" uuid NOT NULL, + "RawLocationCode" character varying(64) NULL, + "RawArea" character varying(64) NULL, + "ProdLine" character varying(64) NULL, + "BomVersion" character varying(64) NULL, + "ReturnQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ProductReceiptNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductReceiptNoteDetail_Store_ProductReceiptNote_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductReceiptNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductReceiptRequestDetail" ( + "Id" uuid NOT NULL, + "RawArea" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "BomVersion" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "ReturnQty" numeric(18,6) NOT NULL DEFAULT 0.0, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + CONSTRAINT "PK_Store_ProductReceiptRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductReceiptRequestDetail_Store_ProductReceiptReque~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductReceiptRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductRecycleMaterialDetail" ( + "Id" uuid NOT NULL, + "BomVersion" character varying(64) NULL, + "ProductPackingCode" character varying(64) NULL, + "ProductItemCode" character varying(64) NULL, + "ProductItemName" character varying(64) NULL, + "ProductItemDesc1" character varying(64) NULL, + "ProductItemDesc2" character varying(64) NULL, + "ProductLot" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ProductRecycleMaterialDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductRecycleMaterialDetail_Store_ProductRecycleNote~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductRecycleNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductRecycleNoteDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" character varying(64) NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ProductRecycleNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductRecycleNoteDetail_Store_ProductRecycleNote_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductRecycleNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ProductRecycleRequestDetail" ( + "Id" uuid NOT NULL, + "BomVersion" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "RawLocationCode" character varying(64) NULL, + "RawLocationArea" character varying(64) NULL, + "RawLocationGroup" character varying(64) NULL, + "RawLocationErpCode" character varying(64) NULL, + "RawWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "ExtraProperties" text NULL, + "Status" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ProductRecycleRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ProductRecycleRequestDetail_Store_ProductRecycleReque~" FOREIGN KEY ("MasterID") REFERENCES "Store_ProductRecycleRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PurchaseOrderDetail" ( + "Id" uuid NOT NULL, + "PoLine" character varying(64) NULL, + "SupplierPackUom" text NULL, + "SupplierPackQty" numeric(18,6) NOT NULL, + "ConvertRate" numeric(18,6) NOT NULL DEFAULT 1.0, + "IsConsignment" boolean NOT NULL DEFAULT FALSE, + "LineStatus" character varying(64) NOT NULL, + "LocationErpCode" character varying(64) NULL, + "ProjectCode" character varying(64) NULL, + "ShippedQty" numeric(18,6) NOT NULL, + "ReceivedQty" numeric(18,6) NOT NULL, + "ReturnedQty" numeric(18,6) NOT NULL, + "PutAwayQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PurchaseOrderDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PurchaseOrderDetail_Store_PurchaseOrder_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_PurchaseOrder" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PurchaseReceiptNoteDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "PurchaseReceiptInspectStatus" character varying(64) NOT NULL, + "InspectPhotoJson" text NULL, + "FailedReason" text NULL, + "MassDefect" text NULL, + "SupplierPackUom" text NULL, + "SupplierPackQty" numeric(18,6) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PurchaseReceiptNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PurchaseReceiptNoteDetail_Store_PurchaseReceiptNote_M~" FOREIGN KEY ("MasterID") REFERENCES "Store_PurchaseReceiptNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PurchaseReceiptRequestDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "SupplierPackUom" text NULL, + "SupplierPackQty" numeric(18,6) NOT NULL, + "ConvertRate" numeric(18,6) NOT NULL, + "RecommendErpCode" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PurchaseReceiptRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PurchaseReceiptRequestDetail_Store_PurchaseReceiptReq~" FOREIGN KEY ("MasterID") REFERENCES "Store_PurchaseReceiptRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PurchaseReturnNoteDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "Reason" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PurchaseReturnNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PurchaseReturnNoteDetail_Store_PurchaseReturnNote_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_PurchaseReturnNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PurchaseReturnRequestDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PurchaseReturnRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PurchaseReturnRequestDetail_Store_PurchaseReturnReque~" FOREIGN KEY ("MasterID") REFERENCES "Store_PurchaseReturnRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PutawayNoteDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "JobNumber" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_PutawayNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PutawayNoteDetail_Store_PutawayNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_PutawayNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_PutawayRequestDetail" ( + "Id" uuid NOT NULL, + "InventoryQty" numeric(18,6) NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_PutawayRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_PutawayRequestDetail_Store_PutawayRequest_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_PutawayRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ReceiptAbnormalNoteDetail" ( + "Id" uuid NOT NULL, + "ReceiptNumber" character varying(64) NOT NULL, + "AbnormalType" character varying(64) NOT NULL, + "Photos" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ReceiptAbnormalNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ReceiptAbnormalNoteDetail_Store_ReceiptAbnormalNote_M~" FOREIGN KEY ("MasterID") REFERENCES "Store_ReceiptAbnormalNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_RecycledMaterialReceiptNoteDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_RecycledMaterialReceiptNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_RecycledMaterialReceiptNoteDetail_Store_RecycledMater~" FOREIGN KEY ("MasterID") REFERENCES "Store_RecycledMaterialReceiptNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_SaleOrderDetail" ( + "Id" uuid NOT NULL, + "SoLine" character varying(64) NOT NULL, + "CustomerPackUom" text NULL, + "CustomerPackQty" numeric(18,6) NOT NULL, + "ConvertRate" numeric(18,6) NOT NULL DEFAULT 1.0, + "LineStatus" character varying(64) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_SaleOrderDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_SaleOrderDetail_Store_SaleOrder_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_SaleOrder" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ScrapNoteDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" character varying(64) NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_ScrapNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ScrapNoteDetail_Store_ScrapNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_ScrapNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_ScrapRequestDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_ScrapRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_ScrapRequestDetail_Store_ScrapRequest_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_ScrapRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_SupplierAsnDetail" ( + "Id" uuid NOT NULL, + "PoNumber" character varying(64) NULL, + "PoLine" character varying(64) NULL, + "SupplierPackUom" text NULL, + "SupplierPackQty" numeric(18,6) NOT NULL, + "ConvertRate" numeric(18,6) NOT NULL, + "ProjectCode" text NULL, + "Ctype" text NULL, + "RecommendErpCode" text NULL, + "PlanUserCode" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_SupplierAsnDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_SupplierAsnDetail_Store_SupplierAsn_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_SupplierAsn" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_TransferNoteDetail" ( + "Id" uuid NOT NULL, + "OnTheWayLocationCode" text NULL, + "Reason" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_TransferNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_TransferNoteDetail_Store_TransferNote_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_TransferNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_TransferRequestDetail" ( + "Id" uuid NOT NULL, + "Reason" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_TransferRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_TransferRequestDetail_Store_TransferRequest_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_TransferRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_UnplannedIssueNoteDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" text NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendFromLocationCode" character varying(64) NULL, + "RecommendFromLocationArea" character varying(64) NULL, + "RecommendFromLocationGroup" character varying(64) NULL, + "RecommendFromLocationErpCode" character varying(64) NULL, + "RecommendFromWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledFromLocationCode" character varying(64) NULL, + "HandledFromLocationArea" character varying(64) NULL, + "HandledFromLocationGroup" character varying(64) NULL, + "HandledFromLocationErpCode" character varying(64) NULL, + "HandledFromWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_UnplannedIssueNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_UnplannedIssueNoteDetail_Store_UnplannedIssueNote_Mas~" FOREIGN KEY ("MasterID") REFERENCES "Store_UnplannedIssueNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_UnplannedIssueRequestDetail" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_UnplannedIssueRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_UnplannedIssueRequestDetail_Store_UnplannedIssueReque~" FOREIGN KEY ("MasterID") REFERENCES "Store_UnplannedIssueRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_UnplannedReceiptNoteDetail" ( + "Id" uuid NOT NULL, + "ReasonCode" text NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "RecommendContainerCode" character varying(64) NULL, + "RecommendPackingCode" character varying(64) NULL, + "RecommendSupplierBatch" character varying(64) NULL, + "RecommendArriveDate" timestamp without time zone NOT NULL, + "RecommendProduceDate" timestamp without time zone NOT NULL, + "RecommendExpireDate" timestamp without time zone NOT NULL, + "RecommendLot" character varying(64) NULL, + "RecommendToLocationCode" character varying(64) NULL, + "RecommendToLocationArea" character varying(64) NULL, + "RecommendToLocationGroup" character varying(64) NULL, + "RecommendToLocationErpCode" character varying(64) NULL, + "RecommendToWarehouseCode" character varying(64) NULL, + "Uom" character varying(64) NOT NULL, + "RecommendQty" numeric(18,6) NOT NULL, + "HandledContainerCode" character varying(64) NULL, + "HandledPackingCode" character varying(64) NULL, + "HandledSupplierBatch" character varying(64) NULL, + "HandledArriveDate" timestamp without time zone NOT NULL, + "HandledProduceDate" timestamp without time zone NOT NULL, + "HandledExpireDate" timestamp without time zone NOT NULL, + "HandledLot" character varying(64) NULL, + "HandledToLocationCode" character varying(64) NULL, + "HandledToLocationArea" character varying(64) NULL, + "HandledToLocationGroup" character varying(64) NULL, + "HandledToLocationErpCode" character varying(64) NULL, + "HandledToWarehouseCode" character varying(64) NULL, + "HandledQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_UnplannedReceiptNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_UnplannedReceiptNoteDetail_Store_UnplannedReceiptNote~" FOREIGN KEY ("MasterID") REFERENCES "Store_UnplannedReceiptNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_UnplannedReceiptRequestDetail" ( + "Id" uuid NOT NULL, + "ExtraProperties" text NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Lot" character varying(64) NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "PackingCode" character varying(64) NOT NULL, + "ContainerCode" character varying(64) NULL, + "LocationCode" character varying(64) NOT NULL, + "LocationArea" character varying(64) NULL, + "LocationGroup" character varying(64) NULL, + "LocationErpCode" character varying(64) NOT NULL, + "WarehouseCode" character varying(64) NOT NULL, + "Status" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + CONSTRAINT "PK_Store_UnplannedReceiptRequestDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_UnplannedReceiptRequestDetail_Store_UnplannedReceiptR~" FOREIGN KEY ("MasterID") REFERENCES "Store_UnplannedReceiptRequest" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_WarehouseTransferNoteDetail" ( + "Id" uuid NOT NULL, + "Reason" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + "Uom" character varying(64) NOT NULL, + "Qty" numeric(18,6) NOT NULL, + "StdPackQty" numeric(18,6) NOT NULL, + "FromPackingCode" text NULL, + "ToPackingCode" text NULL, + "FromContainerCode" text NULL, + "ToContainerCode" text NULL, + "FromLot" text NULL, + "ToLot" text NULL, + "SupplierBatch" character varying(64) NULL, + "ArriveDate" timestamp without time zone NOT NULL, + "ProduceDate" timestamp without time zone NOT NULL, + "ExpireDate" timestamp without time zone NOT NULL, + "FromLocationCode" character varying(64) NOT NULL, + "FromLocationArea" character varying(64) NULL, + "FromLocationGroup" character varying(64) NULL, + "FromLocationErpCode" character varying(64) NOT NULL, + "FromWarehouseCode" character varying(64) NOT NULL, + "FromStatus" character varying(64) NOT NULL, + "ToLocationCode" character varying(64) NOT NULL, + "ToLocationArea" character varying(64) NULL, + "ToLocationGroup" character varying(64) NULL, + "ToLocationErpCode" character varying(64) NOT NULL, + "ToWarehouseCode" character varying(64) NOT NULL, + "ToStatus" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_WarehouseTransferNoteDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_WarehouseTransferNoteDetail_Store_WarehouseTransferNo~" FOREIGN KEY ("MasterID") REFERENCES "Store_WarehouseTransferNote" ("Id") ON DELETE CASCADE +); + + +CREATE TABLE "Store_WorkOrderDetail" ( + "Id" uuid NOT NULL, + "EffectiveDate" timestamp without time zone NOT NULL, + "Op" character varying(64) NULL, + "RawUom" character varying(64) NULL, + "RawQty" numeric(18,6) NOT NULL, + "RawLocationCode" character varying(64) NULL, + "CreationTime" timestamp without time zone NOT NULL, + "CreatorId" uuid NULL, + "LastModificationTime" timestamp without time zone NULL, + "LastModifierId" uuid NULL, + "MasterID" uuid NOT NULL, + "TenantId" uuid NULL, + "Number" character varying(64) NOT NULL, + "Remark" character varying(3072) NULL, + "ItemName" character varying(64) NULL, + "ItemDesc1" character varying(64) NULL, + "ItemDesc2" character varying(64) NULL, + "ItemCode" character varying(64) NOT NULL, + CONSTRAINT "PK_Store_WorkOrderDetail" PRIMARY KEY ("Id"), + CONSTRAINT "FK_Store_WorkOrderDetail_Store_WorkOrder_MasterID" FOREIGN KEY ("MasterID") REFERENCES "Store_WorkOrder" ("Id") ON DELETE CASCADE +); + + +CREATE UNIQUE INDEX "IX_Job_CheckJob_Number" ON "Job_CheckJob" ("Number"); + + +CREATE INDEX "IX_Job_CheckJobDetail_MasterID" ON "Job_CheckJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_CountJob_Number" ON "Job_CountJob" ("Number"); + + +CREATE INDEX "IX_Job_CountJobDetail_MasterID" ON "Job_CountJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_DeliverJob_Number" ON "Job_DeliverJob" ("Number"); + + +CREATE INDEX "IX_Job_DeliverJobDetail_MasterID" ON "Job_DeliverJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_InspectJob_Number" ON "Job_InspectJob" ("Number"); + + +CREATE INDEX "IX_Job_InspectJobDetail_MasterID" ON "Job_InspectJobDetail" ("MasterID"); + + +CREATE INDEX "IX_Job_InspectJobSummaryDetail_MasterID" ON "Job_InspectJobSummaryDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_IssueJob_Number" ON "Job_IssueJob" ("Number"); + + +CREATE INDEX "IX_Job_IssueJobDetail_MasterID" ON "Job_IssueJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_JisDeliverJob_Number" ON "Job_JisDeliverJob" ("Number"); + + +CREATE INDEX "IX_Job_JisDeliverJobDetail_MasterID" ON "Job_JisDeliverJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_ProductionReturnJob_Number" ON "Job_ProductionReturnJob" ("Number"); + + +CREATE INDEX "IX_Job_ProductionReturnJobDetail_MasterID" ON "Job_ProductionReturnJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_ProductReceiveJob_Number" ON "Job_ProductReceiveJob" ("Number"); + + +CREATE INDEX "IX_Job_ProductReceiveJobDetail_MasterID" ON "Job_ProductReceiveJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_PurchaseReceiptJob_Number" ON "Job_PurchaseReceiptJob" ("Number"); + + +CREATE INDEX "IX_Job_PurchaseReceiptJobDetail_MasterID" ON "Job_PurchaseReceiptJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_PurchaseReturnJob_Number" ON "Job_PurchaseReturnJob" ("Number"); + + +CREATE INDEX "IX_Job_PurchaseReturnJobDetail_MasterID" ON "Job_PurchaseReturnJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_PutawayJob_Number" ON "Job_PutawayJob" ("Number"); + + +CREATE INDEX "IX_Job_PutawayJobDetail_MasterID" ON "Job_PutawayJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_UnplannedIssueJob_Number" ON "Job_UnplannedIssueJob" ("Number"); + + +CREATE INDEX "IX_Job_UnplannedIssueJobDetail_MasterID" ON "Job_UnplannedIssueJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Job_UnplannedReceiptJob_Number" ON "Job_UnplannedReceiptJob" ("Number"); + + +CREATE INDEX "IX_Job_UnplannedReceiptJobDetail_MasterID" ON "Job_UnplannedReceiptJobDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_BackFlushNote_Number" ON "Store_BackFlushNote" ("Number"); + + +CREATE INDEX "IX_Store_BackFlushNoteDetail_MasterID" ON "Store_BackFlushNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_BackFlushNoteDetail_Number_ItemCode_Lot" ON "Store_BackFlushNoteDetail" ("Number", "ItemCode", "Lot"); + + +CREATE UNIQUE INDEX "IX_Store_ContainerBindNote_Number" ON "Store_ContainerBindNote" ("Number"); + + +CREATE INDEX "IX_Store_ContainerBindNoteDetail_MasterID" ON "Store_ContainerBindNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ContainerBindNoteDetail_Number_PackingCode" ON "Store_ContainerBindNoteDetail" ("Number", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_CountAdjustNote_Number" ON "Store_CountAdjustNote" ("Number"); + + +CREATE INDEX "IX_Store_CountAdjustNoteDetail_MasterID" ON "Store_CountAdjustNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_CountAdjustNoteDetail_Number_CountLabel_ItemCode_Loca~" ON "Store_CountAdjustNoteDetail" ("Number", "CountLabel", "ItemCode", "LocationCode", "Lot", "Status", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_CountAdjustRequest_Number" ON "Store_CountAdjustRequest" ("Number"); + + +CREATE INDEX "IX_Store_CountAdjustRequestDetail_MasterID" ON "Store_CountAdjustRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_CountAdjustRequestDetail_Number_ItemCode_LocationCode~" ON "Store_CountAdjustRequestDetail" ("Number", "ItemCode", "LocationCode", "Lot", "Status", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_CountNote_Number" ON "Store_CountNote" ("Number"); + + +CREATE INDEX "IX_Store_CountNoteDetail_MasterID" ON "Store_CountNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_CountNoteDetail_Number_CountLabel" ON "Store_CountNoteDetail" ("Number", "CountLabel"); + + +CREATE UNIQUE INDEX "IX_Store_CountPlan_Number" ON "Store_CountPlan" ("Number"); + + +CREATE INDEX "IX_Store_CountPlanDetail_MasterID" ON "Store_CountPlanDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_CountPlanDetail_Number_CountLabel" ON "Store_CountPlanDetail" ("Number", "CountLabel"); + + +CREATE INDEX "IX_Store_CustomerAsn_CustomerCode" ON "Store_CustomerAsn" ("CustomerCode"); + + +CREATE UNIQUE INDEX "IX_Store_CustomerAsn_Number" ON "Store_CustomerAsn" ("Number"); + + +CREATE INDEX "IX_Store_CustomerAsnDetail_MasterID" ON "Store_CustomerAsnDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_CustomerAsnDetail_Number_ItemCode" ON "Store_CustomerAsnDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_CustomerReturnNote_Number" ON "Store_CustomerReturnNote" ("Number"); + + +CREATE INDEX "IX_Store_CustomerReturnNoteDetail_MasterID" ON "Store_CustomerReturnNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_CustomerReturnNoteDetail_Number_FromPackingCode_FromL~" ON "Store_CustomerReturnNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_DeliverNote_Number" ON "Store_DeliverNote" ("Number"); + + +CREATE INDEX "IX_Store_DeliverNoteDetail_MasterID" ON "Store_DeliverNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_DeliverNoteDetail_Number_ItemCode_FromPackingCode_Fro~" ON "Store_DeliverNoteDetail" ("Number", "ItemCode", "FromPackingCode", "FromLot", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_DeliverPlan_Number" ON "Store_DeliverPlan" ("Number"); + + +CREATE INDEX "IX_Store_DeliverPlanDetail_MasterID" ON "Store_DeliverPlanDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_DeliverPlanDetail_Number_SoNumber_SoLine" ON "Store_DeliverPlanDetail" ("Number", "SoNumber", "SoLine"); + + +CREATE UNIQUE INDEX "IX_Store_DeliverRequest_Number" ON "Store_DeliverRequest" ("Number"); + + +CREATE INDEX "IX_Store_DeliverRequestDetail_MasterID" ON "Store_DeliverRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_DeliverRequestDetail_Number_ItemCode" ON "Store_DeliverRequestDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_InspectAbnormalNote_Number" ON "Store_InspectAbnormalNote" ("Number"); + + +CREATE INDEX "IX_Store_InspectAbnormalNoteDetail_MasterID" ON "Store_InspectAbnormalNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InspectAbnormalNoteDetail_Number_PackingCode" ON "Store_InspectAbnormalNoteDetail" ("Number", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_InspectNote_Number" ON "Store_InspectNote" ("Number"); + + +CREATE INDEX "IX_Store_InspectNoteDetail_MasterID" ON "Store_InspectNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InspectNoteDetail_Number_PackingCode" ON "Store_InspectNoteDetail" ("Number", "PackingCode"); + + +CREATE INDEX "IX_Store_InspectNoteSummaryDetail_MasterID" ON "Store_InspectNoteSummaryDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InspectNoteSummaryDetail_Number_ItemCode" ON "Store_InspectNoteSummaryDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_InspectRequest_Number" ON "Store_InspectRequest" ("Number"); + + +CREATE INDEX "IX_Store_InspectRequestDetail_MasterID" ON "Store_InspectRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InspectRequestDetail_Number_PackingCode" ON "Store_InspectRequestDetail" ("Number", "PackingCode"); + + +CREATE INDEX "IX_Store_InspectRequestSummaryDetail_MasterID" ON "Store_InspectRequestSummaryDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InspectRequestSummaryDetail_Number_ItemCode_Lot" ON "Store_InspectRequestSummaryDetail" ("Number", "ItemCode", "Lot"); + + +CREATE UNIQUE INDEX "IX_Store_InventoryInitialNote_Number" ON "Store_InventoryInitialNote" ("Number"); + + +CREATE INDEX "IX_Store_InventoryInitialNoteDetail_MasterID" ON "Store_InventoryInitialNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InventoryInitialNoteDetail_Number_PackingCode_ItemCod~" ON "Store_InventoryInitialNoteDetail" ("Number", "PackingCode", "ItemCode", "Lot", "Status"); + + +CREATE UNIQUE INDEX "IX_Store_InventoryTransferNote_Number" ON "Store_InventoryTransferNote" ("Number"); + + +CREATE INDEX "IX_Store_InventoryTransferNoteDetail_MasterID" ON "Store_InventoryTransferNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_InventoryTransferNoteDetail_Number_FromPackingCode_Fr~" ON "Store_InventoryTransferNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_IsolationNote_Number" ON "Store_IsolationNote" ("Number"); + + +CREATE INDEX "IX_Store_IsolationNoteDetail_FromPackingCode" ON "Store_IsolationNoteDetail" ("FromPackingCode"); + + +CREATE INDEX "IX_Store_IsolationNoteDetail_MasterID" ON "Store_IsolationNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_IsolationNoteDetail_Number_FromPackingCode_FromLocati~" ON "Store_IsolationNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_IssueNote_Number" ON "Store_IssueNote" ("Number"); + + +CREATE INDEX "IX_Store_IssueNoteDetail_FromPackingCode" ON "Store_IssueNoteDetail" ("FromPackingCode"); + + +CREATE INDEX "IX_Store_IssueNoteDetail_MasterID" ON "Store_IssueNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_IssueNoteDetail_Number_FromPackingCode_FromLocationCo~" ON "Store_IssueNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_ItemTransformNote_Number" ON "Store_ItemTransformNote" ("Number"); + + +CREATE INDEX "IX_Store_ItemTransformNoteDetail_MasterID" ON "Store_ItemTransformNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ItemTransformNoteDetail_Number_FromPackingCode_FromSt~" ON "Store_ItemTransformNoteDetail" ("Number", "FromPackingCode", "FromStatus", "ToPackingCode", "ToStatus"); + + +CREATE UNIQUE INDEX "IX_Store_ItemTransformRequest_Number" ON "Store_ItemTransformRequest" ("Number"); + + +CREATE INDEX "IX_Store_ItemTransformRequestDetail_MasterID" ON "Store_ItemTransformRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ItemTransformRequestDetail_Number_FromPackingCode_Fro~" ON "Store_ItemTransformRequestDetail" ("Number", "FromPackingCode", "FromStatus", "ToPackingCode", "ToStatus"); + + +CREATE UNIQUE INDEX "IX_Store_JisDeliverNote_Number" ON "Store_JisDeliverNote" ("Number"); + + +CREATE INDEX "IX_Store_JisDeliverNoteDetail_MasterID" ON "Store_JisDeliverNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_JisDeliverNoteDetail_Number_FromPackingCode_FromLocat~" ON "Store_JisDeliverNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_JisProductReceiptNote_Number" ON "Store_JisProductReceiptNote" ("Number"); + + +CREATE INDEX "IX_Store_JisProductReceiptNoteDetail_MasterID" ON "Store_JisProductReceiptNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_JisProductReceiptNoteDetail_Number_PackingCode" ON "Store_JisProductReceiptNoteDetail" ("Number", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_MaterialRequest_Number" ON "Store_MaterialRequest" ("Number"); + + +CREATE INDEX "IX_Store_MaterialRequestDetail_ItemCode" ON "Store_MaterialRequestDetail" ("ItemCode"); + + +CREATE INDEX "IX_Store_MaterialRequestDetail_MasterID" ON "Store_MaterialRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_MaterialRequestDetail_Number_ItemCode_ToLocationCode" ON "Store_MaterialRequestDetail" ("Number", "ItemCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_NoOkConvertOkNote_Number" ON "Store_NoOkConvertOkNote" ("Number"); + + +CREATE INDEX "IX_Store_NoOkConvertOkNoteDetail_MasterID" ON "Store_NoOkConvertOkNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_NoOkConvertOkNoteDetail_Number_FromPackingCode_FromLo~" ON "Store_NoOkConvertOkNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_OfflineSettlementNote_Number" ON "Store_OfflineSettlementNote" ("Number"); + + +CREATE INDEX "IX_Store_OfflineSettlementNoteDetail_MasterID" ON "Store_OfflineSettlementNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_OfflineSettlementNoteDetail_Number" ON "Store_OfflineSettlementNoteDetail" ("Number"); + + +CREATE UNIQUE INDEX "IX_Store_PreparationPlan_Number" ON "Store_PreparationPlan" ("Number"); + + +CREATE INDEX "IX_Store_PreparationPlanDetail_MasterID" ON "Store_PreparationPlanDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PreparationPlanDetail_Number_ItemCode" ON "Store_PreparationPlanDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_ProductionPlan_Number" ON "Store_ProductionPlan" ("Number"); + + +CREATE INDEX "IX_Store_ProductionPlanDetail_MasterID" ON "Store_ProductionPlanDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductionPlanDetail_Number_ItemCode" ON "Store_ProductionPlanDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_ProductionReturnNote_Number" ON "Store_ProductionReturnNote" ("Number"); + + +CREATE INDEX "IX_Store_ProductionReturnNoteDetail_MasterID" ON "Store_ProductionReturnNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductionReturnNoteDetail_Number_ItemCode_FromPackin~" ON "Store_ProductionReturnNoteDetail" ("Number", "ItemCode", "FromPackingCode", "ToPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_ProductionReturnRequest_Number" ON "Store_ProductionReturnRequest" ("Number"); + + +CREATE INDEX "IX_Store_ProductionReturnRequestDetail_ItemCode" ON "Store_ProductionReturnRequestDetail" ("ItemCode"); + + +CREATE INDEX "IX_Store_ProductionReturnRequestDetail_MasterID" ON "Store_ProductionReturnRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductionReturnRequestDetail_Number_ItemCode_FromLoc~" ON "Store_ProductionReturnRequestDetail" ("Number", "ItemCode", "FromLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_ProductL7PartsNote_Number" ON "Store_ProductL7PartsNote" ("Number"); + + +CREATE INDEX "IX_Store_ProductL7PartsNoteDetail_MasterID" ON "Store_ProductL7PartsNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductL7PartsNoteDetail_Number_ProductNo_Position_Co~" ON "Store_ProductL7PartsNoteDetail" ("Number", "ProductNo", "Position", "Configuration", "L7Part"); + + +CREATE UNIQUE INDEX "IX_Store_ProductReceiptNote_Number" ON "Store_ProductReceiptNote" ("Number"); + + +CREATE INDEX "IX_Store_ProductReceiptNoteDetail_MasterID" ON "Store_ProductReceiptNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductReceiptNoteDetail_Number_ItemCode_PackingCode_~" ON "Store_ProductReceiptNoteDetail" ("Number", "ItemCode", "PackingCode", "Lot", "Status"); + + +CREATE UNIQUE INDEX "IX_Store_ProductReceiptRequest_Number" ON "Store_ProductReceiptRequest" ("Number"); + + +CREATE INDEX "IX_Store_ProductReceiptRequestDetail_MasterID" ON "Store_ProductReceiptRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductReceiptRequestDetail_Number_ItemCode_LocationC~" ON "Store_ProductReceiptRequestDetail" ("Number", "ItemCode", "LocationCode"); + + +CREATE INDEX "IX_Store_ProductRecycleMaterialDetail_MasterID" ON "Store_ProductRecycleMaterialDetail" ("MasterID"); + + +CREATE INDEX "IX_Store_ProductRecycleMaterialDetail_Number_ProductItemCode_I~" ON "Store_ProductRecycleMaterialDetail" ("Number", "ProductItemCode", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_ProductRecycleNote_Number" ON "Store_ProductRecycleNote" ("Number"); + + +CREATE INDEX "IX_Store_ProductRecycleNoteDetail_MasterID" ON "Store_ProductRecycleNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductRecycleNoteDetail_Number_ItemCode" ON "Store_ProductRecycleNoteDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_ProductRecycleRequest_Number" ON "Store_ProductRecycleRequest" ("Number"); + + +CREATE INDEX "IX_Store_ProductRecycleRequestDetail_MasterID" ON "Store_ProductRecycleRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ProductRecycleRequestDetail_Number_ItemCode" ON "Store_ProductRecycleRequestDetail" ("Number", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseOrder_Number" ON "Store_PurchaseOrder" ("Number"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseOrderDetail_ItemCode_Number_PoLine" ON "Store_PurchaseOrderDetail" ("ItemCode", "Number", "PoLine"); + + +CREATE INDEX "IX_Store_PurchaseOrderDetail_MasterID" ON "Store_PurchaseOrderDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReceiptNote_Number" ON "Store_PurchaseReceiptNote" ("Number"); + + +CREATE INDEX "IX_Store_PurchaseReceiptNote_SupplierCode" ON "Store_PurchaseReceiptNote" ("SupplierCode"); + + +CREATE INDEX "IX_Store_PurchaseReceiptNoteDetail_MasterID" ON "Store_PurchaseReceiptNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReceiptRequest_Number" ON "Store_PurchaseReceiptRequest" ("Number"); + + +CREATE INDEX "IX_Store_PurchaseReceiptRequest_SupplierCode" ON "Store_PurchaseReceiptRequest" ("SupplierCode"); + + +CREATE INDEX "IX_Store_PurchaseReceiptRequestDetail_MasterID" ON "Store_PurchaseReceiptRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReceiptRequestDetail_Number_PackingCode" ON "Store_PurchaseReceiptRequestDetail" ("Number", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReturnNote_Number" ON "Store_PurchaseReturnNote" ("Number"); + + +CREATE INDEX "IX_Store_PurchaseReturnNoteDetail_MasterID" ON "Store_PurchaseReturnNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReturnNoteDetail_Number_PackingCode" ON "Store_PurchaseReturnNoteDetail" ("Number", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReturnRequest_Number" ON "Store_PurchaseReturnRequest" ("Number"); + + +CREATE INDEX "IX_Store_PurchaseReturnRequestDetail_MasterID" ON "Store_PurchaseReturnRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PurchaseReturnRequestDetail_Number_PackingCode" ON "Store_PurchaseReturnRequestDetail" ("Number", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_PutawayNote_Number" ON "Store_PutawayNote" ("Number"); + + +CREATE INDEX "IX_Store_PutawayNoteDetail_MasterID" ON "Store_PutawayNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_PutawayNoteDetail_Number_FromPackingCode_FromLocation~" ON "Store_PutawayNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode", "ToPackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_PutawayRequest_Number" ON "Store_PutawayRequest" ("Number"); + + +CREATE INDEX "IX_Store_PutawayRequestDetail_MasterID" ON "Store_PutawayRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ReceiptAbnormalNote_AsnNumber_Number_SupplierCode_Rec~" ON "Store_ReceiptAbnormalNote" ("AsnNumber", "Number", "SupplierCode", "ReceiptNumber"); + + +CREATE INDEX "IX_Store_ReceiptAbnormalNote_SupplierCode" ON "Store_ReceiptAbnormalNote" ("SupplierCode"); + + +CREATE INDEX "IX_Store_ReceiptAbnormalNoteDetail_MasterID" ON "Store_ReceiptAbnormalNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ReceiptAbnormalNoteDetail_Number_PackingCode_ReceiptN~" ON "Store_ReceiptAbnormalNoteDetail" ("Number", "PackingCode", "ReceiptNumber"); + + +CREATE UNIQUE INDEX "IX_Store_RecycledMaterialReceiptNote_Number" ON "Store_RecycledMaterialReceiptNote" ("Number"); + + +CREATE INDEX "IX_Store_RecycledMaterialReceiptNoteDetail_MasterID" ON "Store_RecycledMaterialReceiptNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_RecycledMaterialReceiptNoteDetail_Number_PackingCode" ON "Store_RecycledMaterialReceiptNoteDetail" ("Number", "PackingCode"); + + +CREATE INDEX "IX_Store_SaleOrder_CustomerCode" ON "Store_SaleOrder" ("CustomerCode"); + + +CREATE UNIQUE INDEX "IX_Store_SaleOrder_Number" ON "Store_SaleOrder" ("Number"); + + +CREATE INDEX "IX_Store_SaleOrderDetail_MasterID" ON "Store_SaleOrderDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_SaleOrderDetail_Number_SoLine_ItemCode" ON "Store_SaleOrderDetail" ("Number", "SoLine", "ItemCode"); + + +CREATE UNIQUE INDEX "IX_Store_ScrapNote_Number" ON "Store_ScrapNote" ("Number"); + + +CREATE INDEX "IX_Store_ScrapNoteDetail_MasterID" ON "Store_ScrapNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ScrapNoteDetail_Number_ItemCode_FromPackingCode_FromL~" ON "Store_ScrapNoteDetail" ("Number", "ItemCode", "FromPackingCode", "FromLocationCode", "ToLocationCode", "FromLot", "FromStatus"); + + +CREATE UNIQUE INDEX "IX_Store_ScrapRequest_Number" ON "Store_ScrapRequest" ("Number"); + + +CREATE INDEX "IX_Store_ScrapRequestDetail_MasterID" ON "Store_ScrapRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_ScrapRequestDetail_Number_ItemCode_LocationCode" ON "Store_ScrapRequestDetail" ("Number", "ItemCode", "LocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_SupplierAsn_Number" ON "Store_SupplierAsn" ("Number"); + + +CREATE INDEX "IX_Store_SupplierAsn_SupplierCode" ON "Store_SupplierAsn" ("SupplierCode"); + + +CREATE INDEX "IX_Store_SupplierAsnDetail_MasterID" ON "Store_SupplierAsnDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_SupplierAsnDetail_Number_ItemCode_PackingCode" ON "Store_SupplierAsnDetail" ("Number", "ItemCode", "PackingCode"); + + +CREATE UNIQUE INDEX "IX_Store_TransferNote_Number" ON "Store_TransferNote" ("Number"); + + +CREATE INDEX "IX_Store_TransferNoteDetail_MasterID" ON "Store_TransferNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_TransferNoteDetail_Number_FromPackingCode_FromLocatio~" ON "Store_TransferNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode", "FromStatus", "ToStatus"); + + +CREATE UNIQUE INDEX "IX_Store_TransferRequest_Number" ON "Store_TransferRequest" ("Number"); + + +CREATE INDEX "IX_Store_TransferRequestDetail_MasterID" ON "Store_TransferRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedIssueNote_Number" ON "Store_UnplannedIssueNote" ("Number"); + + +CREATE INDEX "IX_Store_UnplannedIssueNoteDetail_MasterID" ON "Store_UnplannedIssueNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedIssueNoteDetail_Number_PackingCode_ItemCode_~" ON "Store_UnplannedIssueNoteDetail" ("Number", "PackingCode", "ItemCode", "Lot", "Status"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedIssueRequest_Number" ON "Store_UnplannedIssueRequest" ("Number"); + + +CREATE INDEX "IX_Store_UnplannedIssueRequestDetail_MasterID" ON "Store_UnplannedIssueRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedIssueRequestDetail_Number_PackingCode_ItemCo~" ON "Store_UnplannedIssueRequestDetail" ("Number", "PackingCode", "ItemCode", "Lot", "Status"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedReceiptNote_Number" ON "Store_UnplannedReceiptNote" ("Number"); + + +CREATE INDEX "IX_Store_UnplannedReceiptNoteDetail_MasterID" ON "Store_UnplannedReceiptNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedReceiptNoteDetail_Number_PackingCode_ItemCod~" ON "Store_UnplannedReceiptNoteDetail" ("Number", "PackingCode", "ItemCode", "Lot", "Status"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedReceiptRequest_Number" ON "Store_UnplannedReceiptRequest" ("Number"); + + +CREATE INDEX "IX_Store_UnplannedReceiptRequestDetail_MasterID" ON "Store_UnplannedReceiptRequestDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_UnplannedReceiptRequestDetail_Number_PackingCode_Item~" ON "Store_UnplannedReceiptRequestDetail" ("Number", "PackingCode", "ItemCode", "Lot", "Status"); + + +CREATE UNIQUE INDEX "IX_Store_WarehouseTransferNote_Number" ON "Store_WarehouseTransferNote" ("Number"); + + +CREATE INDEX "IX_Store_WarehouseTransferNoteDetail_MasterID" ON "Store_WarehouseTransferNoteDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_WarehouseTransferNoteDetail_Number_FromPackingCode_Fr~" ON "Store_WarehouseTransferNoteDetail" ("Number", "FromPackingCode", "FromLocationCode", "ToLocationCode"); + + +CREATE UNIQUE INDEX "IX_Store_WorkOrder_Number" ON "Store_WorkOrder" ("Number"); + + +CREATE INDEX "IX_Store_WorkOrderDetail_MasterID" ON "Store_WorkOrderDetail" ("MasterID"); + + +CREATE UNIQUE INDEX "IX_Store_WorkOrderDetail_Number_ItemCode" ON "Store_WorkOrderDetail" ("Number", "ItemCode"); + + diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Customers/Inputs/CustomerImportInput.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Customers/Inputs/CustomerImportInput.cs index efcb517ef..bcd1b951a 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Customers/Inputs/CustomerImportInput.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application.Contracts/Customers/Inputs/CustomerImportInput.cs @@ -35,12 +35,14 @@ public class CustomerImportInput : SfsBaseDataImportInputBase /// 类型 /// [Display(Name = "类型")] + [Required(ErrorMessage = "类型是必填项")] public EnumCustomerType Type { get; set; } /// /// 状态 /// [Display(Name = "状态")] + [Required(ErrorMessage = "状态是必填项")] public bool IsActive { get; set; } /// diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/AQLs/AQLAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/AQLs/AQLAutoMapperProfile.cs index afdb6c8d5..550dca6b0 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/AQLs/AQLAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/AQLs/AQLAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void AQLAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() .IgnoreAuditedObjectProperties() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Areas/AreaAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Areas/AreaAutoMapperProfile.cs index 4f6644b2b..1f0724813 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Areas/AreaAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Areas/AreaAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void AreaAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs index 2ec182a35..e7328f501 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void BomAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(t => t.ComponentDTOs) .ForMember(x => x.ComponentQty, y => y.MapFrom(d => d.ComponentQty)) .ForMember(x => x.ComponentUom, y => y.MapFrom(d => d.ComponentUom)) diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Calendars/CalendarAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Calendars/CalendarAutoMapperProfile.cs index ea3c29844..df66bd7af 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Calendars/CalendarAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Calendars/CalendarAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CalendarAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Categories/CategoryAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Categories/CategoryAutoMapperProfile.cs index d5f7dbf46..343a7e011 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Categories/CategoryAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Categories/CategoryAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CategoryAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyAutoMapperProfile.cs index d1c9db9cc..a532a727e 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CurrencyAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.Enabled) .ReverseMap(); } diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyExchangeAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyExchangeAutoMapperProfile.cs index fb537346c..e537bdca0 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyExchangeAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Currencies/CurrencyExchangeAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CurrencyExchangeAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.CurrencyName) .Ignore(x => x.BasicCurrencyName) .Ignore(x => x.Enabled) diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerAddresses/CustomerAddressAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerAddresses/CustomerAddressAutoMapperProfile.cs index 5e680ce2d..12c95109b 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerAddresses/CustomerAddressAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerAddresses/CustomerAddressAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CustomerAddressAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerItems/CustomerItemAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerItems/CustomerItemAutoMapperProfile.cs index e47331415..218505a3d 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerItems/CustomerItemAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/CustomerItems/CustomerItemAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CustomerItemAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Customers/CustomerAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Customers/CustomerAutoMapperProfile.cs index cedf54ded..5abc9cafb 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Customers/CustomerAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Customers/CustomerAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void CustomerAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Dicts/DictAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Dicts/DictAutoMapperProfile.cs index 1a2a21c5b..0c1f8bf9b 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Dicts/DictAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Dicts/DictAutoMapperProfile.cs @@ -10,7 +10,7 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void DictAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties(); + ; CreateMap() .IgnoreAuditedObjectProperties(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Docks/DockAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Docks/DockAutoMapperProfile.cs index 8097b8d15..b9c22d5de 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Docks/DockAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Docks/DockAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void DockAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ErpLocations/ErpLocationAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ErpLocations/ErpLocationAutoMapperProfile.cs index 76cacd882..3b9cb52fb 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ErpLocations/ErpLocationAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ErpLocations/ErpLocationAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ErpLocationAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemCategories/ItemCategoryAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemCategories/ItemCategoryAutoMapperProfile.cs index 58d925da7..53ed67cf6 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemCategories/ItemCategoryAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemCategories/ItemCategoryAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ItemCategoryAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemGuideBooks/ItemGuideBookAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemGuideBooks/ItemGuideBookAutoMapperProfile.cs index b97a4d9de..be3e07403 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemGuideBooks/ItemGuideBookAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemGuideBooks/ItemGuideBookAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ItemGuideBookAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.ItemName).Ignore(x => x.ItemDesc1).Ignore(x => x.ItemDesc2) .ReverseMap(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemPacks/ItemPackAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemPacks/ItemPackAutoMapperProfile.cs index 1517fd69e..76a8f48e9 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemPacks/ItemPackAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemPacks/ItemPackAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ItemPackAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemQualities/ItemQualityAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemQualities/ItemQualityAutoMapperProfile.cs index fa87d401d..382242e7f 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemQualities/ItemQualityAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemQualities/ItemQualityAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ItemQualityAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemSafetyStocks/ItemSafetyStockAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemSafetyStocks/ItemSafetyStockAutoMapperProfile.cs index e5ab4bcd6..dd3c6f1ef 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemSafetyStocks/ItemSafetyStockAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemSafetyStocks/ItemSafetyStockAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ItemSafetyStockAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemStoreRelations/ItemStoreRelationAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemStoreRelations/ItemStoreRelationAutoMapperProfile.cs index 7e43183c3..0beebf2de 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemStoreRelations/ItemStoreRelationAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ItemStoreRelations/ItemStoreRelationAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ItemStoreRelationAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.LocationCode) .ReverseMap(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs index af2729f09..0e6942ab5 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs @@ -11,7 +11,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile { CreateMap() .Ignore(x => x.ItemCategoryDictionary) - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationGroups/LocationGroupAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationGroups/LocationGroupAutoMapperProfile.cs index cd4f66c15..3619b7e96 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationGroups/LocationGroupAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationGroups/LocationGroupAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void LocationGroupAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Locations/LocationAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Locations/LocationAutoMapperProfile.cs index 331e20234..5bbeca507 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Locations/LocationAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Locations/LocationAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void LocationAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Machines/MachineAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Machines/MachineAutoMapperProfile.cs index 2de3c7525..39cff3730 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Machines/MachineAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Machines/MachineAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void MachineAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.ProdLineName) .Ignore(x => x.WorkStationName) .ReverseMap(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLineItems/ProductionLineItemAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLineItems/ProductionLineItemAutoMapperProfile.cs index f224dd3c3..e1d527803 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLineItems/ProductionLineItemAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLineItems/ProductionLineItemAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ProductionLineItemAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAutoMapperProfile.cs index c45b96d79..ef063d859 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ProductionLineAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Projects/ProjectAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Projects/ProjectAutoMapperProfile.cs index 1f564668b..d3115d33e 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Projects/ProjectAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Projects/ProjectAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ProjectAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAutoMapperProfile.cs index 0a9e91322..8643b7752 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void PurchasePriceSheetAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.SupplierName) .Ignore(x => x.CurrencyName) .ReverseMap(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SalePrices/SalePriceSheetAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SalePrices/SalePriceSheetAutoMapperProfile.cs index ba3770961..87ec4f112 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SalePrices/SalePriceSheetAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SalePrices/SalePriceSheetAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void SalePriceSheetAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.CustomerName) .Ignore(x => x.CurrencyName) .ReverseMap(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Shifts/ShiftAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Shifts/ShiftAutoMapperProfile.cs index 31fda3deb..5e3fac7ed 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Shifts/ShiftAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Shifts/ShiftAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void ShiftAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/StdCostPrices/StdCostPriceSheetAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/StdCostPrices/StdCostPriceSheetAutoMapperProfile.cs index e444cfd75..b02916e6c 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/StdCostPrices/StdCostPriceSheetAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/StdCostPrices/StdCostPriceSheetAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void StdCostPriceSheetAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .Ignore(x => x.SupplierName) .Ignore(x => x.CurrencyName) .ReverseMap(); diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierItems/SupplierItemAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierItems/SupplierItemAutoMapperProfile.cs index 731e7f9af..3031daabc 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierItems/SupplierItemAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierItems/SupplierItemAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void SupplierItemAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierTimeWindows/SupplierTimeWindowAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierTimeWindows/SupplierTimeWindowAutoMapperProfile.cs index 498c22507..8886ae52e 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierTimeWindows/SupplierTimeWindowAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/SupplierTimeWindows/SupplierTimeWindowAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void SupplierTimeWindowAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs index 3f96fa624..cddd6b278 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void SupplierAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Teams/TeamAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Teams/TeamAutoMapperProfile.cs index d914e93e9..142bfbddb 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Teams/TeamAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Teams/TeamAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void TeamAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/TransactionTypes/TransactionTypeAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/TransactionTypes/TransactionTypeAutoMapperProfile.cs index 1d65a611e..d92716efe 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/TransactionTypes/TransactionTypeAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/TransactionTypes/TransactionTypeAutoMapperProfile.cs @@ -13,7 +13,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void TransactionTypeAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ForMember(x => x.InLocationTypes, y => y.MapFrom(d => d.InLocationTypes.GetEnumList(","))) .ForMember(x => x.OutLocationTypes, y => y.MapFrom(d => d.OutLocationTypes.GetEnumList(","))) .ForMember(x => x.InLocationAreas, y => y.MapFrom(d => d.InLocationAreas.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList())) diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Uoms/UomAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Uoms/UomAutoMapperProfile.cs index 511d73701..65d6b378d 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Uoms/UomAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Uoms/UomAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void UomAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Warehouses/WarehouseAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Warehouses/WarehouseAutoMapperProfile.cs index 4887490eb..3e861b367 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Warehouses/WarehouseAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Warehouses/WarehouseAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void WarehouseAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); } } diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkCenters/WorkCenterAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkCenters/WorkCenterAutoMapperProfile.cs index 4351ab1cd..ab8c720ed 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkCenters/WorkCenterAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkCenters/WorkCenterAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void WorkStationAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); } } diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkGroups/WorkGroupAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkGroups/WorkGroupAutoMapperProfile.cs index 01f13e5f8..e542e8af3 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkGroups/WorkGroupAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkGroups/WorkGroupAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void WorkGroupAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkShops/WorkShopAutoMapperProfile.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkShops/WorkShopAutoMapperProfile.cs index 76490f4c4..f7e573c0d 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkShops/WorkShopAutoMapperProfile.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/WorkShops/WorkShopAutoMapperProfile.cs @@ -10,7 +10,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile private void WorkShopAutoMapperProfile() { CreateMap() - .IgnoreAuditedObjectProperties() .ReverseMap(); CreateMap() diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain.Shared/Enum/EnumCustomerType.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain.Shared/Enum/EnumCustomerType.cs index aef5892d2..dcaafdc14 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain.Shared/Enum/EnumCustomerType.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain.Shared/Enum/EnumCustomerType.cs @@ -10,4 +10,7 @@ public enum EnumCustomerType [Display(Name = "空")] None = 0, + + [Display(Name = "普通用户")] + Normal = 1, } diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs index eb7c734a9..2a5e93880 100644 --- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs @@ -8,6 +8,9 @@ using System.Linq.Dynamic.Core; using System.Reflection; using AutoMapper.Internal; using ClosedXML.Excel; +using ClosedXML.Graphics; +using DocumentFormat.OpenXml; +using Irony; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Win_in.Sfs.Shared.Application.Contracts; @@ -22,12 +25,18 @@ public class ClosedXmlExportImportService : IExportImportService public FileContentResult Export(List list, bool includeAuditedProperties = false, string detailsProptyName = null) { + using (var fallbackFontStream = Assembly.GetExecutingAssembly().GetManifestResourceStream($"{Assembly.GetExecutingAssembly().FullName}.Resources.calibril.ttf")) + { + LoadOptions.DefaultGraphicEngine = DefaultGraphicEngine.CreateWithFontsAndSystemFonts(fallbackFontStream); + } + try { using var workbook = new XLWorkbook(); var name = typeof(TModel).GetCustomAttribute()?.Name ?? typeof(TModel).Name; var fileName = $"{name}_导出.xlsx"; var ws = workbook.Worksheets.Add(name); + ws.Style.Font.FontName = "宋体"; // var ignoreProperties = $"Id,TenantId,ExtraProperties,ConcurrencyStamp"; var defaultPropertyNames = new Dictionary() { @@ -90,6 +99,15 @@ public class ClosedXmlExportImportService : IExportImportService var validOptions = $"\"{string.Join(",", options)}\""; cdv.List(validOptions, true); } + + if (propertyType.Name == typeof(bool).Name) + { + var cdv = ws.Column(i + 1).CreateDataValidation(); + var options = new List { "是","否"}; + var validOptions = $"\"{string.Join(",", options)}\""; + cdv.List(validOptions, true); + } + SetCellStyle(cell, 1, i + 1, true, property.GetCustomAttributes().Any()); } // @@ -143,6 +161,17 @@ public class ClosedXmlExportImportService : IExportImportService .FirstOrDefault(); property.SetValue(model, enumValue); } + else if(propertyType.Name== typeof(bool).Name) + { + if (value.GetText() == "是") + { + property.SetValue(model, true); + } + else + { + property.SetValue(model, false); + } + } else { var propertyValue = Convert.ChangeType(value.ToString(), propertyType); @@ -269,6 +298,8 @@ public class ClosedXmlExportImportService : IExportImportService cell.Style.Font.FontColor = fontColor ?? (isRequired ? XLColor.Red : XLColor.Black); // font weight cell.Style.Font.Bold = isHeader; + cell.Style.Font.FontName = "calibril"; + //cell.Style.Font.FontName = // background color cell.Style.Fill.BackgroundColor = rowIndex % 2 == 0 ? XLColor.LightGray : XLColor.White; cell.Style.Fill.BackgroundColor = columnIndex % 2 == 0 ? XLColor.White : XLColor.White; diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Properties/Resources.Designer.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Properties/Resources.Designer.cs new file mode 100644 index 000000000..1b9d2a437 --- /dev/null +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Properties/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace Win_in.Sfs.Shared.Application.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Win_in.Sfs.Shared.Application.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// 查找 System.Byte[] 类型的本地化资源。 + /// + internal static byte[] calibril { + get { + object obj = ResourceManager.GetObject("calibril", resourceCulture); + return ((byte[])(obj)); + } + } + } +} diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Properties/Resources.resx b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Properties/Resources.resx new file mode 100644 index 000000000..831ac1a71 --- /dev/null +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\calibril.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Resources/calibril.ttf b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Resources/calibril.ttf new file mode 100644 index 000000000..9aaf94c7f Binary files /dev/null and b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Resources/calibril.ttf differ diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Win_in.Sfs.Shared.Application.csproj b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Win_in.Sfs.Shared.Application.csproj index 025c6e659..e42d0c1a5 100644 --- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Win_in.Sfs.Shared.Application.csproj +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Win_in.Sfs.Shared.Application.csproj @@ -16,6 +16,16 @@ 1701;1702;1591 + + + + + + + PreserveNewest + + + @@ -32,4 +42,19 @@ + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/HostBuilderExtensions.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/HostBuilderExtensions.cs new file mode 100644 index 000000000..dcbbf81a1 --- /dev/null +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/HostBuilderExtensions.cs @@ -0,0 +1,73 @@ +using System; +using System.Globalization; +using System.Net.Http; +using System.Reflection; +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Serilog; +using Volo.Abp.Modularity; + +namespace Win_in.Sfs.Shared.Host; + +public static class HostBuilderExtensions +{ + public static int BuildAndRun(this WebApplicationBuilder builder, + Action builderAction = null, + Action appAction = null) where TModule : IAbpModule + { + Serilog.Debugging.SelfLog.Enable(Console.WriteLine); + Log.Logger = new LoggerConfiguration() + .Enrich.FromLogContext() + .WriteTo.Console(formatProvider: CultureInfo.InvariantCulture) + .CreateBootstrapLogger(); + + try + { + Log.Information($"Starting web host ${Assembly.GetEntryAssembly().GetName().Name}"); + builder.Host.ConfigureAppConfiguration((hc, cb) => + { + var defaultUrl = builder.Environment.IsDevelopment() ? "http://localhost:21093/" : "http://gateway/"; + var configUrl = cb.Build().GetValue("", defaultUrl.TrimEnd('/')); + AddJsonByUrl(cb, $"{configUrl}/appsettings.json"); + if (builder.Environment.IsDevelopment()) + { + AddJsonByUrl(cb, $"{configUrl}/appsettings.{builder.Environment.EnvironmentName}.json"); + } + }); + builder.Host.UseAutofac(); + builder.AddApplicationAsync().Wait(); + builder.Host.UseSerilog((hostingContext, services, configBuilder) => + { + configBuilder + .ReadFrom.Configuration(hostingContext.Configuration) + .ReadFrom.Services(services) + .Enrich.FromLogContext() + .WriteTo.Console(formatProvider: CultureInfo.InvariantCulture); + }, writeToProviders: false); + builderAction?.Invoke(builder); + var app = builder.Build(); + app.UseSerilogRequestLogging(); + app.InitializeApplicationAsync().Wait(); + appAction?.Invoke(app); + app.RunAsync().Wait(); + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + private static void AddJsonByUrl(IConfigurationBuilder configurationBuilder, string url) + { + var stream = new HttpClient().GetStreamAsync(url).Result; + configurationBuilder.AddJsonStream(stream); + } +} diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/IHostBuilderExtensions.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/IHostBuilderExtensions.cs deleted file mode 100644 index 6f8e40e6b..000000000 --- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/IHostBuilderExtensions.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using System.Globalization; -using System.Reflection; -using AgileConfig.Client; -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Serilog; -using Serilog.Extensions.Hosting; -using Volo.Abp.Modularity; - -namespace Win_in.Sfs.Shared.Host; - -public static class IHostBuilderExtensions -{ - public static int BuildAndRun(this WebApplicationBuilder builder) where TModule : IAbpModule - { - Serilog.Debugging.SelfLog.Enable(Console.WriteLine); - Log.Logger = new LoggerConfiguration() - .Enrich.FromLogContext() - .WriteTo.Console(formatProvider: CultureInfo.InvariantCulture) - .CreateBootstrapLogger(); - - try - { - Log.Information($"Starting web host ${Assembly.GetEntryAssembly().GetName().Name}"); - builder.Host - .UseAutofac() - .UseAgileConfig(o => - { - var configClient = builder.Environment.EnvironmentName == "Development" ? - new ConfigClient($"appsettings.{builder.Environment.EnvironmentName}.json") : - new ConfigClient(); - o.AppId = configClient.AppId; - o.Secret = configClient.Secret; - o.Nodes = configClient.ServerNodes; - o.ENV = configClient.Env; - }); - builder.AddApplicationAsync().Wait(); - builder.Host.UseSerilog((hostingContext, services, configBuilder) => - { - if (Log.Logger.GetType() == typeof(ReloadableLogger)) - { - configBuilder - .ReadFrom.Configuration(hostingContext.Configuration) - .ReadFrom.Services(services) - .Enrich.FromLogContext() - .WriteTo.Console(formatProvider: CultureInfo.InvariantCulture); - } - }, writeToProviders: false); - var app = builder.Build(); - app.UseSerilogRequestLogging(); - app.InitializeApplicationAsync().Wait(); - app.RunAsync().Wait(); - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } -} diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs index 0e0be621d..b9684c4a9 100644 --- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs @@ -46,13 +46,19 @@ namespace Win_in.Sfs.Shared.Host; public abstract class ModuleBase : AbpModule where T : AbpModule { + static ModuleBase() + { + AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true); + AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true); + } + public override void ConfigureServices(ServiceConfigurationContext context) { var cfg = context.Services.GetConfiguration(); ServiceConfigurationContext.SetConsoleTitleOfWebApp(Assembly.GetEntryAssembly().GetName().Name); LimitedResultRequestDto.MaxMaxResultCount = 100000; - context.Services.AddAgileConfig(); + //context.Services.AddAgileConfig(); PreConfigureServices(context); ConfigureAntiForgery(); ConfigureLocalizationServices(); @@ -162,11 +168,11 @@ public abstract class ModuleBase : AbpModule where T : AbpModule { //dbContext.Database.BeginTransaction(); dbContext.Database.ExecuteSqlRaw(sql); + dbContext.Database.ExecuteSqlRaw($"INSERT INTO EFDbContext VALUES ('{contextName}', '{md5}');"); context.ServiceProvider .GetRequiredService() .SeedAsync() .Wait(); - dbContext.Database.ExecuteSqlRaw($"INSERT INTO EFDbContext VALUES ('{contextName}', '{md5}');"); //dbContext.Database.CommitTransaction(); Console.WriteLine($"{contextName} 初始化成功"); } diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Properties/Resources.Designer.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Properties/Resources.Designer.cs new file mode 100644 index 000000000..e07382bde --- /dev/null +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Properties/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace Win_in.Sfs.Shared.Host.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Win_in.Sfs.Shared.Host.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// 查找 System.Byte[] 类型的本地化资源。 + /// + public static byte[] calibril { + get { + object obj = ResourceManager.GetObject("calibril", resourceCulture); + return ((byte[])(obj)); + } + } + } +} diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Properties/Resources.resx b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Properties/Resources.resx new file mode 100644 index 000000000..831ac1a71 --- /dev/null +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\calibril.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Resources/calibril.ttf b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Resources/calibril.ttf new file mode 100644 index 000000000..9aaf94c7f Binary files /dev/null and b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/Resources/calibril.ttf differ diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/calibril.ttf b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/calibril.ttf new file mode 100644 index 000000000..9aaf94c7f Binary files /dev/null and b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/calibril.ttf differ diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/IssueNotes/IssueNotePermissions.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/IssueNotes/IssueNotePermissions.cs index 11ba039c7..b459a3cbe 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/IssueNotes/IssueNotePermissions.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/IssueNotes/IssueNotePermissions.cs @@ -14,6 +14,9 @@ public static class IssueNotePermissions //自动发料记录 public const string AutoIssueNote = StorePermissions.GroupName + "." + nameof(AutoIssueNote); + //直接发料 + public const string DirectIssueNote = StorePermissions.GroupName + "." + nameof(DirectIssueNote); + public static void AddIssueNotePermission(this PermissionGroupDefinition permissionGroup) { var issueNotePermission = permissionGroup.AddPermission(Default, StorePermissionDefinitionProvider.L(nameof(IssueNote))); @@ -22,5 +25,6 @@ public static class IssueNotePermissions issueNotePermission.AddChild(Delete, StorePermissionDefinitionProvider.L(StorePermissions.DeleteStr)); permissionGroup.AddPermission(AutoIssueNote, StorePermissionDefinitionProvider.L(nameof(AutoIssueNote))); + permissionGroup.AddPermission(DirectIssueNote, StorePermissionDefinitionProvider.L(nameof(DirectIssueNote))); } } diff --git a/be/WZC2.sln b/be/WZC2.sln index 4485e7c0c..b0eb2061d 100644 --- a/be/WZC2.sln +++ b/be/WZC2.sln @@ -29,12 +29,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Win_in.Sfs.Wms.DataExchange EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Win_in.Sfs.Wms.DataExchange.Iac.MesAgent", "DataExchange\src\Win_in.Sfs.Wms.DataExchange.MesAgent\Win_in.Sfs.Wms.DataExchange.Iac.MesAgent.csproj", "{6BA9342A-D26E-4C98-A02C-6780C0CC859A}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Gateways", "Gateways", "{E18F5C94-7D85-45E3-806B-A0975433788B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InternalGateway.Host", "Gateways\InternalGateway\InternalGateway.Host\InternalGateway.Host.csproj", "{DDB8F68F-2D2B-46B6-A6BD-42488B3D4243}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebAppGateway.Host", "Gateways\WebAppGateway\WebAppGateway.Host\WebAppGateway.Host.csproj", "{71862380-449F-48C7-850B-EADE103F14E3}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Hosts", "Hosts", "{F17D371C-DF73-4CD7-8BE1-3254110FB20B}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Auth", "Auth", "{A9DCA976-396C-487F-BCF1-70F5C5ACA2F9}" @@ -257,15 +251,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Win_in.Sfs.Wms.DataExchange EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Win_in.Sfs.Wms.Dashboard.Host", "Hosts\Win_in.Sfs.Wms.Dashboard.Host\Win_in.Sfs.Wms.Dashboard.Host.csproj", "{637A1F71-B29E-4247-B1C6-695790CE0525}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{AA2EB21B-5FE7-4C83-81FA-AC57CC9BE3F8}" - ProjectSection(SolutionItems) = preProject - Output\Config\CommonSettings.json = Output\Config\CommonSettings.json - EndProjectSection -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Win_in.Sfs.Shared.Host", "Modules\Shared\src\Win_in.Sfs.Shared.Host\Win_in.Sfs.Shared.Host.csproj", "{EBC2FEC4-BCCC-4430-953B-2712C0416BC6}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1D67CBA8-80A6-4A91-B816-9D35B2DD94F8}" ProjectSection(SolutionItems) = preProject + ..\build\src\docker\publish\.env = ..\build\src\docker\publish\.env ..\build\src\docker\publish\settings\appsettings.Development.json = ..\build\src\docker\publish\settings\appsettings.Development.json ..\build\src\docker\publish\settings\appsettings.json = ..\build\src\docker\publish\settings\appsettings.json EndProjectSection @@ -322,14 +312,6 @@ Global {6BA9342A-D26E-4C98-A02C-6780C0CC859A}.Debug|Any CPU.Build.0 = Debug|Any CPU {6BA9342A-D26E-4C98-A02C-6780C0CC859A}.Release|Any CPU.ActiveCfg = Release|Any CPU {6BA9342A-D26E-4C98-A02C-6780C0CC859A}.Release|Any CPU.Build.0 = Release|Any CPU - {DDB8F68F-2D2B-46B6-A6BD-42488B3D4243}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DDB8F68F-2D2B-46B6-A6BD-42488B3D4243}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DDB8F68F-2D2B-46B6-A6BD-42488B3D4243}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DDB8F68F-2D2B-46B6-A6BD-42488B3D4243}.Release|Any CPU.Build.0 = Release|Any CPU - {71862380-449F-48C7-850B-EADE103F14E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {71862380-449F-48C7-850B-EADE103F14E3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {71862380-449F-48C7-850B-EADE103F14E3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {71862380-449F-48C7-850B-EADE103F14E3}.Release|Any CPU.Build.0 = Release|Any CPU {B06007E2-6B77-43E9-A20A-D0AB60E33BE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B06007E2-6B77-43E9-A20A-D0AB60E33BE8}.Debug|Any CPU.Build.0 = Debug|Any CPU {B06007E2-6B77-43E9-A20A-D0AB60E33BE8}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -684,8 +666,6 @@ Global {C1C2B439-A555-4852-8E59-DBE0D7AD8F17} = {6EA46447-F3C7-4F33-B04E-2BA3567338DD} {B21E726F-1B9E-48BD-B8D4-7B540105ED22} = {6EA46447-F3C7-4F33-B04E-2BA3567338DD} {6BA9342A-D26E-4C98-A02C-6780C0CC859A} = {820295E6-920E-4DD0-85FC-6B3D83C2158D} - {DDB8F68F-2D2B-46B6-A6BD-42488B3D4243} = {E18F5C94-7D85-45E3-806B-A0975433788B} - {71862380-449F-48C7-850B-EADE103F14E3} = {E18F5C94-7D85-45E3-806B-A0975433788B} {A9DCA976-396C-487F-BCF1-70F5C5ACA2F9} = {19170DC9-37E2-416A-AABC-F543C1B4A701} {9802A799-8064-406D-8629-80C622A1BE46} = {A9DCA976-396C-487F-BCF1-70F5C5ACA2F9} {B06007E2-6B77-43E9-A20A-D0AB60E33BE8} = {9802A799-8064-406D-8629-80C622A1BE46} diff --git a/build/src/docker/publish/.env b/build/src/docker/publish/.env index 8b4e6ee0b..ce57f8fc6 100644 --- a/build/src/docker/publish/.env +++ b/build/src/docker/publish/.env @@ -3,6 +3,7 @@ PORTAINER_CE_VERSION=linux-amd64 SQLSERVER_VERSION=2022-latest SEQ_VERSION=2022.1 MYSQL_VERSION=8.0.31 +POSTGRES_VERSION=15.2 REDIS_VERSION=7.0.7 TRAEFIK_VERSION=v2.9.6 CADDY_VERSION=2.6.4 @@ -42,3 +43,4 @@ NGINX_PORT3=21382 # Config MYSQL_ROOT_PASSWORD=aA123456! +MSSQL_SA_PASSWORD=aA123456! diff --git a/build/src/docker/publish/apps/be/Gateway/Lambda2Js.Signed.dll b/build/src/docker/publish/apps/be/Gateway/Lambda2Js.Signed.dll new file mode 100644 index 000000000..a5d37d8ba Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Lambda2Js.Signed.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Microsoft.AspNetCore.JsonPatch.dll b/build/src/docker/publish/apps/be/Gateway/Microsoft.AspNetCore.JsonPatch.dll new file mode 100644 index 000000000..9b9bdf742 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Microsoft.AspNetCore.JsonPatch.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Microsoft.Bcl.AsyncInterfaces.dll b/build/src/docker/publish/apps/be/Gateway/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 000000000..f5f1ceecf Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Newtonsoft.Json.dll b/build/src/docker/publish/apps/be/Gateway/Newtonsoft.Json.dll new file mode 100644 index 000000000..8ba89bf39 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Newtonsoft.Json.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Nito.AsyncEx.Coordination.dll b/build/src/docker/publish/apps/be/Gateway/Nito.AsyncEx.Coordination.dll new file mode 100644 index 000000000..3e2c0cde5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Nito.AsyncEx.Coordination.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Nito.AsyncEx.Tasks.dll b/build/src/docker/publish/apps/be/Gateway/Nito.AsyncEx.Tasks.dll new file mode 100644 index 000000000..98a010e65 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Nito.AsyncEx.Tasks.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Nito.Collections.Deque.dll b/build/src/docker/publish/apps/be/Gateway/Nito.Collections.Deque.dll new file mode 100644 index 000000000..343c4aaf6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Nito.Collections.Deque.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Nito.Disposables.dll b/build/src/docker/publish/apps/be/Gateway/Nito.Disposables.dll new file mode 100644 index 000000000..5f0bbc3e9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Nito.Disposables.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Raven.Client.dll b/build/src/docker/publish/apps/be/Gateway/Raven.Client.dll new file mode 100644 index 000000000..7ffe1cf8f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Raven.Client.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Raven.Embedded.dll b/build/src/docker/publish/apps/be/Gateway/Raven.Embedded.dll new file mode 100644 index 000000000..b16f020fc Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Raven.Embedded.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.Core.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.Core.dll new file mode 100644 index 000000000..cc6fb37a0 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.Core.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.Glacier.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.Glacier.dll new file mode 100644 index 000000000..fd1439623 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.Glacier.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.S3.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.S3.dll new file mode 100644 index 000000000..400796b04 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.S3.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.SQS.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.SQS.dll new file mode 100644 index 000000000..4a5d61e5b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.SQS.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.SimpleNotificationService.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.SimpleNotificationService.dll new file mode 100644 index 000000000..164b1ad89 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/AWSSDK.SimpleNotificationService.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Amqp.Net.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Amqp.Net.dll new file mode 100644 index 000000000..eb5aa59cc Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Amqp.Net.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Amqp.Serialization.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Amqp.Serialization.dll new file mode 100644 index 000000000..b1eee0051 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Amqp.Serialization.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Core.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Core.dll new file mode 100644 index 000000000..7a2ceec49 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Core.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Storage.Blobs.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Storage.Blobs.dll new file mode 100644 index 000000000..795fae07d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Storage.Blobs.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Storage.Common.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Storage.Common.dll new file mode 100644 index 000000000..66aeb9cd9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Azure.Storage.Common.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/BouncyCastle.Crypto.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/BouncyCastle.Crypto.dll new file mode 100644 index 000000000..b811138f5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/BouncyCastle.Crypto.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.Amqp.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.Amqp.dll new file mode 100644 index 000000000..bc8adaa85 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.Amqp.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.Kafka.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.Kafka.dll new file mode 100644 index 000000000..6ffd17e87 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.Kafka.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.NewtonsoftJson.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.NewtonsoftJson.dll new file mode 100644 index 000000000..8b39b494c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.NewtonsoftJson.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.dll new file mode 100644 index 000000000..62ba49f7a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CloudNative.CloudEvents.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Confluent.Kafka.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Confluent.Kafka.dll new file mode 100644 index 000000000..09d8061b6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Confluent.Kafka.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Corax.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Corax.dll new file mode 100644 index 000000000..9e361bcdf Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Corax.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CsvHelper.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CsvHelper.dll new file mode 100644 index 000000000..329508159 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/CsvHelper.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/DasMulli.Win32.ServiceUtils.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/DasMulli.Win32.ServiceUtils.dll new file mode 100644 index 000000000..7e300325d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/DasMulli.Win32.ServiceUtils.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Elasticsearch.Net.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Elasticsearch.Net.dll new file mode 100644 index 000000000..63b52de54 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Elasticsearch.Net.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Esprima.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Esprima.dll new file mode 100644 index 000000000..e32a67014 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Esprima.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/GeoAPI.CoordinateSystems.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/GeoAPI.CoordinateSystems.dll new file mode 100644 index 000000000..8998783a7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/GeoAPI.CoordinateSystems.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/GeoAPI.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/GeoAPI.dll new file mode 100644 index 000000000..11ba9bd7b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/GeoAPI.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Api.Gax.Rest.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Api.Gax.Rest.dll new file mode 100644 index 000000000..133a239f8 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Api.Gax.Rest.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Api.Gax.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Api.Gax.dll new file mode 100644 index 000000000..54e84f006 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Api.Gax.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Auth.PlatformServices.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Auth.PlatformServices.dll new file mode 100644 index 000000000..c03127928 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Auth.PlatformServices.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Auth.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Auth.dll new file mode 100644 index 000000000..e2f6e25bb Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Auth.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Core.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Core.dll new file mode 100644 index 000000000..0c91b1298 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Core.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Storage.v1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Storage.v1.dll new file mode 100644 index 000000000..05680a7ae Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.Storage.v1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.dll new file mode 100644 index 000000000..f3ef295a5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Apis.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Cloud.Storage.V1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Cloud.Storage.V1.dll new file mode 100644 index 000000000..bbb5384f2 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Cloud.Storage.V1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Protobuf.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Protobuf.dll new file mode 100644 index 000000000..cf2e0303c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Google.Protobuf.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Humanizer.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Humanizer.dll new file mode 100644 index 000000000..c9a7ef8aa Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Humanizer.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/IronSnappy.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/IronSnappy.dll new file mode 100644 index 000000000..7a663578d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/IronSnappy.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Jint.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Jint.dll new file mode 100644 index 000000000..ba23e315a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Jint.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Compression.LZ4.Streams.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Compression.LZ4.Streams.dll new file mode 100644 index 000000000..42f55d69a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Compression.LZ4.Streams.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Compression.LZ4.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Compression.LZ4.dll new file mode 100644 index 000000000..718ebb387 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Compression.LZ4.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Hash.xxHash.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Hash.xxHash.dll new file mode 100644 index 000000000..4179a2978 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/K4os.Hash.xxHash.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lambda2Js.Signed.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lambda2Js.Signed.dll new file mode 100644 index 000000000..a5d37d8ba Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lambda2Js.Signed.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lucene.Net.Contrib.Spatial.NTS.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lucene.Net.Contrib.Spatial.NTS.dll new file mode 100644 index 000000000..cae113ac9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lucene.Net.Contrib.Spatial.NTS.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lucene.Net.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lucene.Net.dll new file mode 100644 index 000000000..ac5730676 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Lucene.Net.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/McMaster.Extensions.CommandLineUtils.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/McMaster.Extensions.CommandLineUtils.dll new file mode 100644 index 000000000..c1a0a552c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/McMaster.Extensions.CommandLineUtils.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.AspNetCore.JsonPatch.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.AspNetCore.JsonPatch.dll new file mode 100644 index 000000000..e614f223a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.AspNetCore.JsonPatch.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Bcl.AsyncInterfaces.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 000000000..f5f1ceecf Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.CSharp.Workspaces.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.CSharp.Workspaces.dll new file mode 100644 index 000000000..eb2748ffa Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.CSharp.Workspaces.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.CSharp.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.CSharp.dll new file mode 100644 index 000000000..6506b810f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.CSharp.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.Workspaces.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.Workspaces.dll new file mode 100644 index 000000000..ab9a24c07 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.Workspaces.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.dll new file mode 100644 index 000000000..f35e10810 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.CodeAnalysis.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Web.XmlTransform.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Web.XmlTransform.dll new file mode 100644 index 000000000..91ae0ad50 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Web.XmlTransform.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Win32.SystemEvents.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 000000000..3ab58500b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Microsoft.Win32.SystemEvents.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/MySql.Data.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/MySql.Data.dll new file mode 100644 index 000000000..1d4f2f4a9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/MySql.Data.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NCrontab.Advanced.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NCrontab.Advanced.dll new file mode 100644 index 000000000..3aff438ec Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NCrontab.Advanced.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nest.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nest.dll new file mode 100644 index 000000000..510c90dd4 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nest.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NetTopologySuite.CoordinateSystems.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NetTopologySuite.CoordinateSystems.dll new file mode 100644 index 000000000..14d7527c1 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NetTopologySuite.CoordinateSystems.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NetTopologySuite.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NetTopologySuite.dll new file mode 100644 index 000000000..b5488ee66 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NetTopologySuite.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Newtonsoft.Json.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Newtonsoft.Json.dll new file mode 100644 index 000000000..8ba89bf39 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Newtonsoft.Json.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.AsyncEx.Coordination.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.AsyncEx.Coordination.dll new file mode 100644 index 000000000..3e2c0cde5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.AsyncEx.Coordination.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.AsyncEx.Tasks.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.AsyncEx.Tasks.dll new file mode 100644 index 000000000..98a010e65 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.AsyncEx.Tasks.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.Collections.Deque.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.Collections.Deque.dll new file mode 100644 index 000000000..343c4aaf6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.Collections.Deque.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.Disposables.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.Disposables.dll new file mode 100644 index 000000000..5f0bbc3e9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Nito.Disposables.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Npgsql.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Npgsql.dll new file mode 100644 index 000000000..196d76e9f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Npgsql.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Commands.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Commands.dll new file mode 100644 index 000000000..766a9f5dc Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Commands.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Common.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Common.dll new file mode 100644 index 000000000..81771289a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Common.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Configuration.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Configuration.dll new file mode 100644 index 000000000..9bdc53120 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Configuration.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Credentials.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Credentials.dll new file mode 100644 index 000000000..bd8df61c1 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Credentials.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.DependencyResolver.Core.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.DependencyResolver.Core.dll new file mode 100644 index 000000000..5c74c9843 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.DependencyResolver.Core.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Frameworks.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Frameworks.dll new file mode 100644 index 000000000..62c25b0d2 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Frameworks.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.LibraryModel.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.LibraryModel.dll new file mode 100644 index 000000000..9f97e0841 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.LibraryModel.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.PackageManagement.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.PackageManagement.dll new file mode 100644 index 000000000..481fea8df Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.PackageManagement.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Packaging.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Packaging.dll new file mode 100644 index 000000000..5c791ea33 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Packaging.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.ProjectModel.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.ProjectModel.dll new file mode 100644 index 000000000..646c267dc Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.ProjectModel.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Protocol.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Protocol.dll new file mode 100644 index 000000000..c7f20ec3a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Protocol.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Resolver.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Resolver.dll new file mode 100644 index 000000000..3e623891b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Resolver.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Versioning.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Versioning.dll new file mode 100644 index 000000000..f57d195d7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/NuGet.Versioning.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Oracle.ManagedDataAccess.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Oracle.ManagedDataAccess.dll new file mode 100644 index 000000000..5ff1b6fc7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Oracle.ManagedDataAccess.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Parquet.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Parquet.dll new file mode 100644 index 000000000..fec589774 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Parquet.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/RabbitMQ.Client.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/RabbitMQ.Client.dll new file mode 100644 index 000000000..89ce97546 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/RabbitMQ.Client.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Client.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Client.dll new file mode 100644 index 000000000..2e8857f7e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Client.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.deps.json b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.deps.json new file mode 100644 index 000000000..8b752ee81 --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.deps.json @@ -0,0 +1,4083 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v7.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v7.0": { + "Raven.Server/5.4.101": { + "dependencies": { + "AWSSDK.Glacier": "3.7.100.52", + "AWSSDK.S3": "3.7.101.52", + "Azure.Storage.Blobs": "12.14.1", + "CloudNative.CloudEvents": "2.5.1", + "CloudNative.CloudEvents.Amqp": "2.5.1", + "CloudNative.CloudEvents.Kafka": "2.5.1", + "CloudNative.CloudEvents.NewtonsoftJson": "2.5.1", + "Confluent.Kafka": "1.9.3", + "Corax": "5.4.101", + "CsvHelper": "30.0.1", + "DasMulli.Win32.ServiceUtils.Signed": "1.1.0", + "Google.Api.Gax.Rest": "4.3.0", + "Google.Cloud.Storage.V1": "4.1.0", + "JetBrains.Annotations": "2022.3.1", + "Jint": "3.0.30-ravendb", + "Lextm.SharpSnmpLib.Engine": "11.3.102", + "Lucene.Net": "3.0.54004", + "Lucene.Net.Contrib.Spatial.NTS": "3.0.54004", + "McMaster.Extensions.CommandLineUtils": "4.0.2", + "Microsoft.CodeAnalysis.CSharp": "4.4.0", + "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.4.0", + "Microsoft.Extensions.Configuration.CommandLine": "7.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "7.0.0", + "Microsoft.Extensions.Configuration.Json": "7.0.0", + "Microsoft.Extensions.Configuration.UserSecrets": "7.0.0", + "Microsoft.Win32.Registry": "5.0.0", + "MySql.Data": "8.0.31", + "NCrontab.Advanced": "1.3.28", + "NEST": "7.17.5", + "Npgsql": "5.0.15", + "NuGet.Commands": "6.4.0", + "NuGet.PackageManagement": "6.4.0", + "NuGet.ProjectModel": "6.4.0", + "NuGet.Protocol": "6.4.0", + "NuGet.Resolver": "6.4.0", + "Oracle.ManagedDataAccess.Core": "3.21.80", + "Parquet.Net": "3.10.0", + "Portable.BouncyCastle": "1.9.0", + "RabbitMQ.Client": "6.4.0", + "Raven.CodeAnalysis": "1.0.11", + "RavenDB.Client": "5.4.101", + "SourceLink.Create.CommandLine": "2.8.3", + "Sparrow.Server": "5.4.101", + "System.Collections.Immutable": "7.0.0", + "System.Data.SqlClient": "4.8.5", + "System.Linq.Async": "6.0.1", + "System.Reflection.Metadata": "7.0.0", + "System.Security.Cryptography.ProtectedData": "7.0.0", + "Voron": "5.4.101", + "librdkafka.redist": "1.9.2" + }, + "runtime": { + "Raven.Server.dll": {} + } + }, + "AMQPNetLite/2.4.2": { + "dependencies": { + "AMQPNetLite.Core": "2.4.2" + } + }, + "AMQPNetLite.Core/2.4.2": { + "runtime": { + "lib/netstandard2.0/Amqp.Net.dll": { + "assemblyVersion": "2.1.0.0", + "fileVersion": "2.4.2.0" + } + } + }, + "AMQPNetLite.Serialization/2.4.2": { + "dependencies": { + "AMQPNetLite.Core": "2.4.2", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.0.12", + "System.Reflection": "4.3.0", + "System.Reflection.Emit.Lightweight": "4.0.1", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.TypeExtensions": "4.7.0" + }, + "runtime": { + "lib/netstandard1.3/Amqp.Serialization.dll": { + "assemblyVersion": "2.1.0.0", + "fileVersion": "2.4.2.0" + } + } + }, + "AWSSDK.Core/3.7.103.14": { + "runtime": { + "lib/netcoreapp3.1/AWSSDK.Core.dll": { + "assemblyVersion": "3.3.0.0", + "fileVersion": "3.7.103.14" + } + } + }, + "AWSSDK.Glacier/3.7.100.52": { + "dependencies": { + "AWSSDK.Core": "3.7.103.14", + "AWSSDK.SQS": "3.7.100.52", + "AWSSDK.SimpleNotificationService": "3.7.100.53" + }, + "runtime": { + "lib/netcoreapp3.1/AWSSDK.Glacier.dll": { + "assemblyVersion": "3.3.0.0", + "fileVersion": "3.7.100.52" + } + } + }, + "AWSSDK.S3/3.7.101.52": { + "dependencies": { + "AWSSDK.Core": "3.7.103.14" + }, + "runtime": { + "lib/netcoreapp3.1/AWSSDK.S3.dll": { + "assemblyVersion": "3.3.0.0", + "fileVersion": "3.7.101.52" + } + } + }, + "AWSSDK.SimpleNotificationService/3.7.100.53": { + "dependencies": { + "AWSSDK.Core": "3.7.103.14" + }, + "runtime": { + "lib/netcoreapp3.1/AWSSDK.SimpleNotificationService.dll": { + "assemblyVersion": "3.3.0.0", + "fileVersion": "3.7.100.53" + } + } + }, + "AWSSDK.SQS/3.7.100.52": { + "dependencies": { + "AWSSDK.Core": "3.7.103.14" + }, + "runtime": { + "lib/netcoreapp3.1/AWSSDK.SQS.dll": { + "assemblyVersion": "3.3.0.0", + "fileVersion": "3.7.100.52" + } + } + }, + "Azure.Core/1.25.0": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "System.Diagnostics.DiagnosticSource": "5.0.0", + "System.Memory.Data": "1.0.2", + "System.Numerics.Vectors": "4.5.0", + "System.Text.Encodings.Web": "7.0.0", + "System.Text.Json": "7.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + }, + "runtime": { + "lib/net5.0/Azure.Core.dll": { + "assemblyVersion": "1.25.0.0", + "fileVersion": "1.2500.22.33004" + } + } + }, + "Azure.Storage.Blobs/12.14.1": { + "dependencies": { + "Azure.Storage.Common": "12.13.0", + "System.Text.Json": "7.0.0" + }, + "runtime": { + "lib/netstandard2.1/Azure.Storage.Blobs.dll": { + "assemblyVersion": "12.14.1.0", + "fileVersion": "12.1400.122.52008" + } + } + }, + "Azure.Storage.Common/12.13.0": { + "dependencies": { + "Azure.Core": "1.25.0", + "System.IO.Hashing": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Azure.Storage.Common.dll": { + "assemblyVersion": "12.13.0.0", + "fileVersion": "12.1300.22.51204" + } + } + }, + "CloudNative.CloudEvents/2.5.1": { + "dependencies": { + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.1/CloudNative.CloudEvents.dll": { + "assemblyVersion": "2.5.1.0", + "fileVersion": "2.5.1.0" + } + } + }, + "CloudNative.CloudEvents.Amqp/2.5.1": { + "dependencies": { + "AMQPNetLite": "2.4.2", + "AMQPNetLite.Serialization": "2.4.2", + "CloudNative.CloudEvents": "2.5.1" + }, + "runtime": { + "lib/netstandard2.1/CloudNative.CloudEvents.Amqp.dll": { + "assemblyVersion": "2.5.1.0", + "fileVersion": "2.5.1.0" + } + } + }, + "CloudNative.CloudEvents.Kafka/2.5.1": { + "dependencies": { + "CloudNative.CloudEvents": "2.5.1", + "Confluent.Kafka": "1.9.3" + }, + "runtime": { + "lib/netstandard2.1/CloudNative.CloudEvents.Kafka.dll": { + "assemblyVersion": "2.5.1.0", + "fileVersion": "2.5.1.0" + } + } + }, + "CloudNative.CloudEvents.NewtonsoftJson/2.5.1": { + "dependencies": { + "CloudNative.CloudEvents": "2.5.1", + "Newtonsoft.Json": "13.0.2" + }, + "runtime": { + "lib/netstandard2.1/CloudNative.CloudEvents.NewtonsoftJson.dll": { + "assemblyVersion": "2.5.1.0", + "fileVersion": "2.5.1.0" + } + } + }, + "Confluent.Kafka/1.9.3": { + "dependencies": { + "System.Memory": "4.5.5", + "librdkafka.redist": "1.9.2" + }, + "runtime": { + "lib/net6.0/Confluent.Kafka.dll": { + "assemblyVersion": "1.9.3.0", + "fileVersion": "1.9.3.0" + } + } + }, + "CsvHelper/30.0.1": { + "runtime": { + "lib/net6.0/CsvHelper.dll": { + "assemblyVersion": "30.0.0.0", + "fileVersion": "30.0.1.0" + } + } + }, + "DasMulli.Win32.ServiceUtils.Signed/1.1.0": { + "runtime": { + "lib/netstandard2.0/DasMulli.Win32.ServiceUtils.dll": { + "assemblyVersion": "1.1.0.0", + "fileVersion": "1.1.0.5000" + } + } + }, + "Elasticsearch.Net/7.17.5": { + "dependencies": { + "Microsoft.CSharp": "4.7.0", + "System.Buffers": "4.5.1", + "System.Diagnostics.DiagnosticSource": "5.0.0" + }, + "runtime": { + "lib/netstandard2.1/Elasticsearch.Net.dll": { + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.17.5.0" + } + } + }, + "Esprima/2.0.0-beta-1338": { + "runtime": { + "lib/netstandard2.0/Esprima.dll": { + "assemblyVersion": "2.0.0.0", + "fileVersion": "2.0.0.0" + } + } + }, + "GeoAPI/1.7.5": { + "dependencies": { + "GeoAPI.CoordinateSystems": "1.7.5", + "GeoAPI.Core": "1.7.5" + } + }, + "GeoAPI.CoordinateSystems/1.7.5": { + "dependencies": { + "GeoAPI.Core": "1.7.5" + }, + "runtime": { + "lib/netstandard2.0/GeoAPI.CoordinateSystems.dll": { + "assemblyVersion": "1.7.5.0", + "fileVersion": "1.7.5.0" + } + } + }, + "GeoAPI.Core/1.7.5": { + "runtime": { + "lib/netstandard2.0/GeoAPI.dll": { + "assemblyVersion": "1.7.5.0", + "fileVersion": "1.7.5.0" + } + } + }, + "Google.Api.Gax/4.3.0": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "Newtonsoft.Json": "13.0.2" + }, + "runtime": { + "lib/netstandard2.1/Google.Api.Gax.dll": { + "assemblyVersion": "4.3.0.0", + "fileVersion": "4.3.0.0" + } + } + }, + "Google.Api.Gax.Rest/4.3.0": { + "dependencies": { + "Google.Api.Gax": "4.3.0", + "Google.Apis.Auth": "1.58.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0" + }, + "runtime": { + "lib/netstandard2.1/Google.Api.Gax.Rest.dll": { + "assemblyVersion": "4.3.0.0", + "fileVersion": "4.3.0.0" + } + } + }, + "Google.Apis/1.58.0": { + "dependencies": { + "Google.Apis.Core": "1.58.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.dll": { + "assemblyVersion": "1.58.0.0", + "fileVersion": "1.58.0.0" + } + } + }, + "Google.Apis.Auth/1.58.0": { + "dependencies": { + "Google.Apis": "1.58.0", + "Google.Apis.Core": "1.58.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": { + "assemblyVersion": "1.58.0.0", + "fileVersion": "1.58.0.0" + }, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "assemblyVersion": "1.58.0.0", + "fileVersion": "1.58.0.0" + } + } + }, + "Google.Apis.Core/1.58.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.2" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "assemblyVersion": "1.58.0.0", + "fileVersion": "1.58.0.0" + } + } + }, + "Google.Apis.Storage.v1/1.57.0.2742": { + "dependencies": { + "Google.Apis": "1.58.0", + "Google.Apis.Auth": "1.58.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Storage.v1.dll": { + "assemblyVersion": "1.57.0.2742", + "fileVersion": "1.57.0.2742" + } + } + }, + "Google.Cloud.Storage.V1/4.1.0": { + "dependencies": { + "Google.Api.Gax.Rest": "4.3.0", + "Google.Apis.Storage.v1": "1.57.0.2742" + }, + "runtime": { + "lib/netstandard2.1/Google.Cloud.Storage.V1.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "4.1.0.0" + } + } + }, + "Google.Protobuf/3.19.4": { + "runtime": { + "lib/net5.0/Google.Protobuf.dll": { + "assemblyVersion": "3.19.4.0", + "fileVersion": "3.19.4.0" + } + } + }, + "Humanizer.Core/2.14.1": { + "runtime": { + "lib/net6.0/Humanizer.dll": { + "assemblyVersion": "2.14.0.0", + "fileVersion": "2.14.1.48190" + } + } + }, + "IronSnappy/1.3.0": { + "dependencies": { + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.1/IronSnappy.dll": { + "assemblyVersion": "1.3.0.0", + "fileVersion": "1.3.0.0" + } + } + }, + "JetBrains.Annotations/2022.3.1": {}, + "Jint/3.0.30-ravendb": { + "dependencies": { + "Esprima": "2.0.0-beta-1338" + }, + "runtime": { + "lib/netstandard2.1/Jint.dll": { + "assemblyVersion": "3.0.30.0", + "fileVersion": "3.0.30.0" + } + } + }, + "K4os.Compression.LZ4/1.2.6": { + "dependencies": { + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.0/K4os.Compression.LZ4.dll": { + "assemblyVersion": "1.2.6.0", + "fileVersion": "1.2.6.0" + } + } + }, + "K4os.Compression.LZ4.Streams/1.2.6": { + "dependencies": { + "K4os.Compression.LZ4": "1.2.6", + "K4os.Hash.xxHash": "1.0.6" + }, + "runtime": { + "lib/netstandard2.1/K4os.Compression.LZ4.Streams.dll": { + "assemblyVersion": "1.2.6.0", + "fileVersion": "1.2.6.0" + } + } + }, + "K4os.Hash.xxHash/1.0.6": { + "dependencies": { + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.0/K4os.Hash.xxHash.dll": { + "assemblyVersion": "1.0.6.0", + "fileVersion": "1.0.6.0" + } + } + }, + "Lambda2Js.Signed/3.1.4": { + "runtime": { + "lib/netstandard2.0/Lambda2Js.Signed.dll": { + "assemblyVersion": "3.1.4.0", + "fileVersion": "3.1.4.0" + } + } + }, + "Lextm.SharpSnmpLib.Engine/11.3.102": { + "dependencies": { + "Microsoft.Extensions.ObjectPool": "2.2.0", + "System.Buffers": "4.5.1", + "System.ComponentModel.TypeConverter": "4.3.0", + "System.Net.NetworkInformation": "4.3.0", + "System.Runtime.Serialization.Primitives": "4.3.0", + "System.Threading.Thread": "4.3.0" + }, + "runtime": { + "lib/netcoreapp2.1/SharpSnmpLib.Engine.dll": { + "assemblyVersion": "11.3.102.0", + "fileVersion": "11.3.102.0" + }, + "lib/netcoreapp2.1/SharpSnmpLib.dll": { + "assemblyVersion": "11.3.100.0", + "fileVersion": "11.3.100.0" + } + } + }, + "librdkafka.redist/1.9.2": { + "runtimeTargets": { + "runtimes/linux-arm64/native/librdkafka.so": { + "rid": "linux-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/alpine-librdkafka.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/centos6-librdkafka.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/centos7-librdkafka.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/librdkafka.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx-arm64/native/librdkafka.dylib": { + "rid": "osx-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx-x64/native/librdkafka.dylib": { + "rid": "osx-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/libcrypto-1_1-x64.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "1.1.1.14" + }, + "runtimes/win-x64/native/libcurl.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "7.84.0.0" + }, + "runtimes/win-x64/native/librdkafka.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/librdkafkacpp.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/libssl-1_1-x64.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "1.1.1.14" + }, + "runtimes/win-x64/native/msvcp140.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "14.29.30040.0" + }, + "runtimes/win-x64/native/vcruntime140.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "14.29.30040.0" + }, + "runtimes/win-x64/native/zlib1.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "1.2.12.0" + }, + "runtimes/win-x64/native/zstd.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "1.5.2.0" + }, + "runtimes/win-x86/native/libcrypto-1_1.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "1.1.1.14" + }, + "runtimes/win-x86/native/libcurl.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "7.84.0.0" + }, + "runtimes/win-x86/native/librdkafka.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/librdkafkacpp.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/libssl-1_1.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "1.1.1.14" + }, + "runtimes/win-x86/native/msvcp140.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "14.29.30040.0" + }, + "runtimes/win-x86/native/vcruntime140.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "14.29.30040.0" + }, + "runtimes/win-x86/native/zlib1.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "1.2.12.0" + }, + "runtimes/win-x86/native/zstd.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "1.5.2.0" + } + } + }, + "Lucene.Net/3.0.54004": { + "dependencies": { + "Microsoft.CSharp": "4.7.0", + "Microsoft.Extensions.Configuration.Json": "7.0.0", + "System.Buffers": "4.5.1", + "System.Reflection.TypeExtensions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.1/Lucene.Net.dll": { + "assemblyVersion": "0.0.0.0", + "fileVersion": "3.0.54004.0" + } + } + }, + "Lucene.Net.Contrib.Spatial.NTS/3.0.54004": { + "dependencies": { + "Lucene.Net": "3.0.54004", + "Microsoft.CSharp": "4.7.0", + "Spatial4n": "0.4.1.1" + }, + "runtime": { + "lib/netstandard2.1/Lucene.Net.Contrib.Spatial.NTS.dll": { + "assemblyVersion": "0.0.0.0", + "fileVersion": "3.0.54004.0" + } + } + }, + "McMaster.Extensions.CommandLineUtils/4.0.2": { + "dependencies": { + "System.ComponentModel.Annotations": "5.0.0" + }, + "runtime": { + "lib/netstandard2.1/McMaster.Extensions.CommandLineUtils.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.0.2.0" + } + } + }, + "Microsoft.AspNetCore.JsonPatch/7.0.2": { + "dependencies": { + "Microsoft.CSharp": "4.7.0", + "Newtonsoft.Json": "13.0.2" + }, + "runtime": { + "lib/net7.0/Microsoft.AspNetCore.JsonPatch.dll": { + "assemblyVersion": "7.0.2.0", + "fileVersion": "7.0.222.60606" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/7.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.0.22.51805" + } + } + }, + "Microsoft.CodeAnalysis.Analyzers/3.3.3": {}, + "Microsoft.CodeAnalysis.Common/4.4.0": { + "dependencies": { + "Microsoft.CodeAnalysis.Analyzers": "3.3.3", + "System.Collections.Immutable": "7.0.0", + "System.Memory": "4.5.5", + "System.Reflection.Metadata": "7.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encoding.CodePages": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.CodeAnalysis.dll": { + "assemblyVersion": "4.4.0.0", + "fileVersion": "4.400.22.56111" + } + }, + "resources": { + "lib/netcoreapp3.1/cs/Microsoft.CodeAnalysis.resources.dll": { + "locale": "cs" + }, + "lib/netcoreapp3.1/de/Microsoft.CodeAnalysis.resources.dll": { + "locale": "de" + }, + "lib/netcoreapp3.1/es/Microsoft.CodeAnalysis.resources.dll": { + "locale": "es" + }, + "lib/netcoreapp3.1/fr/Microsoft.CodeAnalysis.resources.dll": { + "locale": "fr" + }, + "lib/netcoreapp3.1/it/Microsoft.CodeAnalysis.resources.dll": { + "locale": "it" + }, + "lib/netcoreapp3.1/ja/Microsoft.CodeAnalysis.resources.dll": { + "locale": "ja" + }, + "lib/netcoreapp3.1/ko/Microsoft.CodeAnalysis.resources.dll": { + "locale": "ko" + }, + "lib/netcoreapp3.1/pl/Microsoft.CodeAnalysis.resources.dll": { + "locale": "pl" + }, + "lib/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.resources.dll": { + "locale": "pt-BR" + }, + "lib/netcoreapp3.1/ru/Microsoft.CodeAnalysis.resources.dll": { + "locale": "ru" + }, + "lib/netcoreapp3.1/tr/Microsoft.CodeAnalysis.resources.dll": { + "locale": "tr" + }, + "lib/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.resources.dll": { + "locale": "zh-Hant" + } + } + }, + "Microsoft.CodeAnalysis.CSharp/4.4.0": { + "dependencies": { + "Microsoft.CodeAnalysis.Common": "4.4.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.dll": { + "assemblyVersion": "4.4.0.0", + "fileVersion": "4.400.22.56111" + } + }, + "resources": { + "lib/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "cs" + }, + "lib/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "de" + }, + "lib/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "es" + }, + "lib/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "fr" + }, + "lib/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "it" + }, + "lib/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "ja" + }, + "lib/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "ko" + }, + "lib/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "pl" + }, + "lib/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "pt-BR" + }, + "lib/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "ru" + }, + "lib/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "tr" + }, + "lib/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll": { + "locale": "zh-Hant" + } + } + }, + "Microsoft.CodeAnalysis.CSharp.Workspaces/4.4.0": { + "dependencies": { + "Humanizer.Core": "2.14.1", + "Microsoft.CodeAnalysis.CSharp": "4.4.0", + "Microsoft.CodeAnalysis.Common": "4.4.0", + "Microsoft.CodeAnalysis.Workspaces.Common": "4.4.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.Workspaces.dll": { + "assemblyVersion": "4.4.0.0", + "fileVersion": "4.400.22.56111" + } + }, + "resources": { + "lib/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "cs" + }, + "lib/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "de" + }, + "lib/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "es" + }, + "lib/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "fr" + }, + "lib/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "it" + }, + "lib/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "ja" + }, + "lib/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "ko" + }, + "lib/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "pl" + }, + "lib/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "pt-BR" + }, + "lib/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "ru" + }, + "lib/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "tr" + }, + "lib/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll": { + "locale": "zh-Hant" + } + } + }, + "Microsoft.CodeAnalysis.Workspaces.Common/4.4.0": { + "dependencies": { + "Humanizer.Core": "2.14.1", + "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "Microsoft.CodeAnalysis.Common": "4.4.0", + "System.Composition": "6.0.0", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.CodeAnalysis.Workspaces.dll": { + "assemblyVersion": "4.4.0.0", + "fileVersion": "4.400.22.56111" + } + }, + "resources": { + "lib/netcoreapp3.1/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "cs" + }, + "lib/netcoreapp3.1/de/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "de" + }, + "lib/netcoreapp3.1/es/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "es" + }, + "lib/netcoreapp3.1/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "fr" + }, + "lib/netcoreapp3.1/it/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "it" + }, + "lib/netcoreapp3.1/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "ja" + }, + "lib/netcoreapp3.1/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "ko" + }, + "lib/netcoreapp3.1/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "pl" + }, + "lib/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "pt-BR" + }, + "lib/netcoreapp3.1/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "ru" + }, + "lib/netcoreapp3.1/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "tr" + }, + "lib/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll": { + "locale": "zh-Hant" + } + } + }, + "Microsoft.CSharp/4.7.0": {}, + "Microsoft.Extensions.Configuration/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "7.0.0", + "Microsoft.Extensions.Primitives": "7.0.0" + } + }, + "Microsoft.Extensions.Configuration.Abstractions/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "7.0.0" + } + }, + "Microsoft.Extensions.Configuration.CommandLine/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration": "7.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "7.0.0" + } + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration": "7.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "7.0.0" + } + }, + "Microsoft.Extensions.Configuration.FileExtensions/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration": "7.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "7.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "7.0.0", + "Microsoft.Extensions.FileProviders.Physical": "7.0.0", + "Microsoft.Extensions.Primitives": "7.0.0" + } + }, + "Microsoft.Extensions.Configuration.Json/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration": "7.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "7.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "7.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "7.0.0", + "System.Text.Json": "7.0.0" + } + }, + "Microsoft.Extensions.Configuration.UserSecrets/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "7.0.0", + "Microsoft.Extensions.Configuration.Json": "7.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "7.0.0", + "Microsoft.Extensions.FileProviders.Physical": "7.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.FileProviders.Abstractions/7.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "7.0.0" + } + }, + "Microsoft.Extensions.FileProviders.Physical/7.0.0": { + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "7.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "7.0.0", + "Microsoft.Extensions.Primitives": "7.0.0" + } + }, + "Microsoft.Extensions.FileSystemGlobbing/7.0.0": {}, + "Microsoft.Extensions.ObjectPool/2.2.0": {}, + "Microsoft.Extensions.Primitives/7.0.0": {}, + "Microsoft.NETCore.Platforms/5.0.4": {}, + "Microsoft.NETCore.Targets/1.1.0": {}, + "Microsoft.Web.Xdt/3.0.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.Web.XmlTransform.dll": { + "assemblyVersion": "3.0.0.34420", + "fileVersion": "3.0.0.34420" + } + } + }, + "Microsoft.Win32.Primitives/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "Microsoft.Win32.Registry/5.0.0": { + "dependencies": { + "System.Security.AccessControl": "6.0.0", + "System.Security.Principal.Windows": "5.0.0" + } + }, + "Microsoft.Win32.SystemEvents/6.0.0": { + "runtime": { + "lib/net6.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + }, + "runtimeTargets": { + "runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "Mono.Posix.NETStandard/1.0.0": { + "runtimeTargets": { + "runtimes/linux-arm/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "linux-arm", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/linux-arm64/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "linux-arm64", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/linux-armel/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "linux-armel", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/linux-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "linux-x64", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/linux-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "linux-x86", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/osx/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/win-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "win-x64", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/win-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll": { + "rid": "win-x86", + "assetType": "runtime", + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + }, + "runtimes/linux-arm/native/libMonoPosixHelper.so": { + "rid": "linux-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-arm64/native/libMonoPosixHelper.so": { + "rid": "linux-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-armel/native/libMonoPosixHelper.so": { + "rid": "linux-armel", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/libMonoPosixHelper.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x86/native/libMonoPosixHelper.so": { + "rid": "linux-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx/native/libMonoPosixHelper.dylib": { + "rid": "osx", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/MonoPosixHelper.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/libMonoPosixHelper.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/MonoPosixHelper.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/libMonoPosixHelper.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "MySql.Data/8.0.31": { + "dependencies": { + "Google.Protobuf": "3.19.4", + "K4os.Compression.LZ4.Streams": "1.2.6", + "Portable.BouncyCastle": "1.9.0", + "System.Buffers": "4.5.1", + "System.Configuration.ConfigurationManager": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Security.Permissions": "6.0.0", + "System.Text.Encoding.CodePages": "6.0.0" + }, + "runtime": { + "lib/net7.0/MySql.Data.dll": { + "assemblyVersion": "8.0.31.0", + "fileVersion": "8.0.31.0" + }, + "lib/net7.0/ZstdNet.dll": { + "assemblyVersion": "1.4.5.0", + "fileVersion": "1.4.5.0" + } + } + }, + "NCrontab.Advanced/1.3.28": { + "dependencies": { + "NETStandard.Library": "1.6.0" + }, + "runtime": { + "lib/netstandard1.0/NCrontab.Advanced.dll": { + "assemblyVersion": "1.3.28.0", + "fileVersion": "1.3.28.0" + } + } + }, + "NEST/7.17.5": { + "dependencies": { + "Elasticsearch.Net": "7.17.5" + }, + "runtime": { + "lib/netstandard2.0/Nest.dll": { + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.17.5.0" + } + } + }, + "NETStandard.Library/1.6.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.Win32.Primitives": "4.3.0", + "System.AppContext": "4.1.0", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.0.12", + "System.Console": "4.0.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tools": "4.0.1", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.0.1", + "System.IO": "4.3.0", + "System.IO.Compression": "4.1.0", + "System.IO.Compression.ZipFile": "4.0.1", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Linq": "4.3.0", + "System.Linq.Expressions": "4.1.0", + "System.Net.Http": "4.1.0", + "System.Net.Primitives": "4.3.0", + "System.Net.Sockets": "4.3.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0", + "System.Runtime.Numerics": "4.0.1", + "System.Security.Cryptography.Algorithms": "4.2.0", + "System.Security.Cryptography.Encoding": "4.0.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Security.Cryptography.X509Certificates": "4.1.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.0.11", + "System.Text.RegularExpressions": "4.1.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Timer": "4.0.1", + "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.XDocument": "4.0.11" + } + }, + "NetTopologySuite/1.15.0": { + "dependencies": { + "NetTopologySuite.CoordinateSystems": "1.15.0", + "NetTopologySuite.Core": "1.15.0" + } + }, + "NetTopologySuite.CoordinateSystems/1.15.0": { + "dependencies": { + "GeoAPI.CoordinateSystems": "1.7.5" + }, + "runtime": { + "lib/netcoreapp2.0/NetTopologySuite.CoordinateSystems.dll": { + "assemblyVersion": "1.15.0.0", + "fileVersion": "1.15.0.0" + } + } + }, + "NetTopologySuite.Core/1.15.0": { + "dependencies": { + "GeoAPI.Core": "1.7.5" + }, + "runtime": { + "lib/netcoreapp2.0/NetTopologySuite.dll": { + "assemblyVersion": "1.15.0.0", + "fileVersion": "1.15.0.0" + } + } + }, + "Newtonsoft.Json/13.0.2": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.2.27524" + } + } + }, + "Nito.AsyncEx.Coordination/5.1.2": { + "dependencies": { + "Nito.AsyncEx.Tasks": "5.1.2", + "Nito.Collections.Deque": "1.1.1" + }, + "runtime": { + "lib/netstandard2.0/Nito.AsyncEx.Coordination.dll": { + "assemblyVersion": "5.1.2.0", + "fileVersion": "5.1.2.0" + } + } + }, + "Nito.AsyncEx.Tasks/5.1.2": { + "dependencies": { + "Nito.Disposables": "2.2.1" + }, + "runtime": { + "lib/netstandard2.0/Nito.AsyncEx.Tasks.dll": { + "assemblyVersion": "5.1.2.0", + "fileVersion": "5.1.2.0" + } + } + }, + "Nito.Collections.Deque/1.1.1": { + "runtime": { + "lib/netstandard2.0/Nito.Collections.Deque.dll": { + "assemblyVersion": "1.1.1.0", + "fileVersion": "1.1.1.0" + } + } + }, + "Nito.Disposables/2.2.1": { + "dependencies": { + "System.Collections.Immutable": "7.0.0" + }, + "runtime": { + "lib/netstandard2.1/Nito.Disposables.dll": { + "assemblyVersion": "2.2.1.0", + "fileVersion": "2.2.1.0" + } + } + }, + "Npgsql/5.0.15": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/net5.0/Npgsql.dll": { + "assemblyVersion": "5.0.15.0", + "fileVersion": "5.0.15.0" + } + } + }, + "NuGet.Commands/6.4.0": { + "dependencies": { + "NuGet.Credentials": "6.4.0", + "NuGet.ProjectModel": "6.4.0" + }, + "runtime": { + "lib/net5.0/NuGet.Commands.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Common/6.4.0": { + "dependencies": { + "NuGet.Frameworks": "6.4.0" + }, + "runtime": { + "lib/netstandard2.0/NuGet.Common.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Configuration/6.4.0": { + "dependencies": { + "NuGet.Common": "6.4.0", + "System.Security.Cryptography.ProtectedData": "7.0.0" + }, + "runtime": { + "lib/netstandard2.0/NuGet.Configuration.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Credentials/6.4.0": { + "dependencies": { + "NuGet.Protocol": "6.4.0" + }, + "runtime": { + "lib/net5.0/NuGet.Credentials.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.DependencyResolver.Core/6.4.0": { + "dependencies": { + "NuGet.Configuration": "6.4.0", + "NuGet.LibraryModel": "6.4.0", + "NuGet.Protocol": "6.4.0" + }, + "runtime": { + "lib/net5.0/NuGet.DependencyResolver.Core.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Frameworks/6.4.0": { + "runtime": { + "lib/netstandard2.0/NuGet.Frameworks.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.LibraryModel/6.4.0": { + "dependencies": { + "NuGet.Common": "6.4.0", + "NuGet.Versioning": "6.4.0" + }, + "runtime": { + "lib/netstandard2.0/NuGet.LibraryModel.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.PackageManagement/6.4.0": { + "dependencies": { + "Microsoft.CSharp": "4.7.0", + "Microsoft.Web.Xdt": "3.0.0", + "NuGet.Commands": "6.4.0", + "NuGet.Resolver": "6.4.0", + "System.ComponentModel.Composition": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/NuGet.PackageManagement.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Packaging/6.4.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.2", + "NuGet.Configuration": "6.4.0", + "NuGet.Versioning": "6.4.0", + "System.Security.Cryptography.Cng": "5.0.0", + "System.Security.Cryptography.Pkcs": "5.0.0" + }, + "runtime": { + "lib/net5.0/NuGet.Packaging.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.ProjectModel/6.4.0": { + "dependencies": { + "NuGet.DependencyResolver.Core": "6.4.0" + }, + "runtime": { + "lib/net5.0/NuGet.ProjectModel.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Protocol/6.4.0": { + "dependencies": { + "NuGet.Packaging": "6.4.0" + }, + "runtime": { + "lib/net5.0/NuGet.Protocol.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Resolver/6.4.0": { + "dependencies": { + "NuGet.Protocol": "6.4.0" + }, + "runtime": { + "lib/net5.0/NuGet.Resolver.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "NuGet.Versioning/6.4.0": { + "runtime": { + "lib/netstandard2.0/NuGet.Versioning.dll": { + "assemblyVersion": "6.4.0.123", + "fileVersion": "6.4.0.123" + } + } + }, + "Oracle.ManagedDataAccess.Core/3.21.80": { + "dependencies": { + "System.Diagnostics.PerformanceCounter": "6.0.0", + "System.DirectoryServices": "5.0.0", + "System.DirectoryServices.Protocols": "5.0.1" + }, + "runtime": { + "lib/netstandard2.1/Oracle.ManagedDataAccess.dll": { + "assemblyVersion": "3.1.21.1", + "fileVersion": "3.1.21.1" + } + } + }, + "Parquet.Net/3.10.0": { + "dependencies": { + "IronSnappy": "1.3.0" + }, + "runtime": { + "lib/net6.0/Parquet.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.10.0.0" + } + } + }, + "Portable.BouncyCastle/1.9.0": { + "runtime": { + "lib/netstandard2.0/BouncyCastle.Crypto.dll": { + "assemblyVersion": "1.9.0.0", + "fileVersion": "1.9.0.1" + } + } + }, + "RabbitMQ.Client/6.4.0": { + "dependencies": { + "System.Memory": "4.5.5", + "System.Threading.Channels": "4.7.1" + }, + "runtime": { + "lib/netstandard2.0/RabbitMQ.Client.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.4.0.0" + } + } + }, + "Raven.CodeAnalysis/1.0.11": {}, + "runtime.native.System/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Data.SqlClient.sni/4.7.0": { + "dependencies": { + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" + } + }, + "runtime.native.System.IO.Compression/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Net.Http/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.native.System.Security.Cryptography/4.0.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-arm64/native/sni.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x64/native/sni.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "runtimeTargets": { + "runtimes/win-x86/native/sni.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "4.6.25512.1" + } + } + }, + "SourceLink.Create.CommandLine/2.8.3": {}, + "Spatial4n/0.4.1.1": { + "dependencies": { + "GeoAPI": "1.7.5", + "NetTopologySuite": "1.15.0" + }, + "runtime": { + "lib/netstandard2.0/Spatial4n.dll": { + "assemblyVersion": "0.4.1.0", + "fileVersion": "0.4.1.1" + } + } + }, + "System.AppContext/4.1.0": { + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Buffers/4.5.1": {}, + "System.Collections/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Collections.Concurrent/4.0.12": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Collections.Immutable/7.0.0": {}, + "System.Collections.NonGeneric/4.3.0": { + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Collections.Specialized/4.3.0": { + "dependencies": { + "System.Collections.NonGeneric": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.ComponentModel/4.3.0": { + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.ComponentModel.Annotations/5.0.0": {}, + "System.ComponentModel.Composition/4.5.0": { + "dependencies": { + "System.Security.Permissions": "6.0.0" + }, + "runtime": { + "lib/netcoreapp2.0/System.ComponentModel.Composition.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "4.6.26515.6" + } + } + }, + "System.ComponentModel.Primitives/4.3.0": { + "dependencies": { + "System.ComponentModel": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.ComponentModel.TypeConverter/4.3.0": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Collections.NonGeneric": "4.3.0", + "System.Collections.Specialized": "4.3.0", + "System.ComponentModel": "4.3.0", + "System.ComponentModel.Primitives": "4.3.0", + "System.Globalization": "4.3.0", + "System.Linq": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Reflection.TypeExtensions": "4.7.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Composition/6.0.0": { + "dependencies": { + "System.Composition.AttributedModel": "6.0.0", + "System.Composition.Convention": "6.0.0", + "System.Composition.Hosting": "6.0.0", + "System.Composition.Runtime": "6.0.0", + "System.Composition.TypedParts": "6.0.0" + } + }, + "System.Composition.AttributedModel/6.0.0": { + "runtime": { + "lib/net6.0/System.Composition.AttributedModel.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Composition.Convention/6.0.0": { + "dependencies": { + "System.Composition.AttributedModel": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Composition.Convention.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Composition.Hosting/6.0.0": { + "dependencies": { + "System.Composition.Runtime": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Composition.Hosting.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Composition.Runtime/6.0.0": { + "runtime": { + "lib/net6.0/System.Composition.Runtime.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Composition.TypedParts/6.0.0": { + "dependencies": { + "System.Composition.AttributedModel": "6.0.0", + "System.Composition.Hosting": "6.0.0", + "System.Composition.Runtime": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Composition.TypedParts.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Configuration.ConfigurationManager/6.0.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "7.0.0", + "System.Security.Permissions": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Console/4.0.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Data.SqlClient/4.8.5": { + "dependencies": { + "Microsoft.Win32.Registry": "5.0.0", + "System.Security.Principal.Windows": "5.0.0", + "runtime.native.System.Data.SqlClient.sni": "4.7.0" + }, + "runtime": { + "lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "assemblyVersion": "4.6.1.5", + "fileVersion": "4.700.22.51706" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.6.1.5", + "fileVersion": "4.700.22.51706" + }, + "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.6.1.5", + "fileVersion": "4.700.22.51706" + } + } + }, + "System.Diagnostics.Debug/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.DiagnosticSource/5.0.0": {}, + "System.Diagnostics.PerformanceCounter/6.0.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Diagnostics.PerformanceCounter.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + }, + "runtimeTargets": { + "runtimes/win/lib/net6.0/System.Diagnostics.PerformanceCounter.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Diagnostics.Tools/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Diagnostics.Tracing/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.DirectoryServices/5.0.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.IO.FileSystem.AccessControl": "5.0.0", + "System.Security.AccessControl": "6.0.0", + "System.Security.Permissions": "6.0.0", + "System.Security.Principal.Windows": "5.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.DirectoryServices.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "5.0.20.51904" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.0.0", + "fileVersion": "5.0.20.51904" + } + } + }, + "System.DirectoryServices.Protocols/5.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Security.Principal.Windows": "5.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "5.0.1121.47308" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "4.0.0.0", + "fileVersion": "5.0.1121.47308" + }, + "runtimes/osx/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "4.0.0.0", + "fileVersion": "5.0.1121.47308" + }, + "runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.0.0", + "fileVersion": "5.0.1121.47308" + } + } + }, + "System.Drawing.Common/6.0.0": { + "dependencies": { + "Microsoft.Win32.SystemEvents": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Drawing.Common.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/net6.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + }, + "runtimes/win/lib/net6.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Formats.Asn1/5.0.0": {}, + "System.Globalization/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Calendars/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Globalization.Extensions/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0" + } + }, + "System.IO/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.Compression/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.IO.Compression": "4.1.0" + } + }, + "System.IO.Compression.ZipFile/4.0.1": { + "dependencies": { + "System.Buffers": "4.5.1", + "System.IO": "4.3.0", + "System.IO.Compression": "4.1.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.IO.FileSystem/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.FileSystem.AccessControl/5.0.0": { + "dependencies": { + "System.Security.AccessControl": "6.0.0", + "System.Security.Principal.Windows": "5.0.0" + } + }, + "System.IO.FileSystem.Primitives/4.3.0": { + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.IO.Hashing/6.0.0": { + "runtime": { + "lib/net6.0/System.IO.Hashing.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.IO.Pipelines/6.0.3": {}, + "System.Linq/4.3.0": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Linq.Async/6.0.1": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "7.0.0" + }, + "runtime": { + "lib/net6.0/System.Linq.Async.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.1.35981" + } + } + }, + "System.Linq.Expressions/4.1.0": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Linq": "4.3.0", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.3.0", + "System.Reflection.Emit": "4.0.1", + "System.Reflection.Emit.ILGeneration": "4.0.1", + "System.Reflection.Emit.Lightweight": "4.0.1", + "System.Reflection.Extensions": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Reflection.TypeExtensions": "4.7.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Memory/4.5.5": {}, + "System.Memory.Data/1.0.2": { + "dependencies": { + "System.Text.Encodings.Web": "7.0.0", + "System.Text.Json": "7.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Memory.Data.dll": { + "assemblyVersion": "1.0.2.0", + "fileVersion": "1.0.221.20802" + } + } + }, + "System.Net.Http/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.DiagnosticSource": "5.0.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Extensions": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.2.0", + "System.Security.Cryptography.Encoding": "4.0.0", + "System.Security.Cryptography.OpenSsl": "4.0.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Security.Cryptography.X509Certificates": "4.1.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.0.1", + "runtime.native.System.Security.Cryptography": "4.0.0" + } + }, + "System.Net.NetworkInformation/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.Win32.Primitives": "4.3.0", + "System.Collections": "4.3.0", + "System.Diagnostics.Tracing": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Linq": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Net.Sockets": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Principal.Windows": "5.0.0", + "System.Threading": "4.3.0", + "System.Threading.Overlapped": "4.3.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Thread": "4.3.0", + "System.Threading.ThreadPool": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Net.Primitives/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Net.Sockets/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Net.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Numerics.Vectors/4.5.0": {}, + "System.ObjectModel/4.0.12": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Reflection/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit/4.0.1": { + "dependencies": { + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.0.1", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit.ILGeneration/4.0.1": { + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Emit.Lightweight/4.0.1": { + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.0.1", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Extensions/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Metadata/7.0.0": { + "dependencies": { + "System.Collections.Immutable": "7.0.0" + } + }, + "System.Reflection.Primitives/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.TypeExtensions/4.7.0": {}, + "System.Resources.ResourceManager/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Globalization": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Runtime.Extensions/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.Handles/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime.InteropServices/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Runtime.InteropServices.RuntimeInformation/4.0.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0" + } + }, + "System.Runtime.Numerics/4.0.1": { + "dependencies": { + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0" + } + }, + "System.Runtime.Serialization.Primitives/4.3.0": { + "dependencies": { + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Security.AccessControl/6.0.0": {}, + "System.Security.Cryptography.Algorithms/4.2.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.0.1", + "System.Security.Cryptography.Encoding": "4.0.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography": "4.0.0" + } + }, + "System.Security.Cryptography.Cng/5.0.0": { + "dependencies": { + "System.Formats.Asn1": "5.0.0" + } + }, + "System.Security.Cryptography.Csp/4.0.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Algorithms": "4.2.0", + "System.Security.Cryptography.Encoding": "4.0.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Security.Cryptography.Encoding/4.0.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Collections": "4.3.0", + "System.Collections.Concurrent": "4.0.12", + "System.Linq": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography": "4.0.0" + } + }, + "System.Security.Cryptography.OpenSsl/4.0.0": { + "dependencies": { + "System.Collections": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.0.1", + "System.Security.Cryptography.Algorithms": "4.2.0", + "System.Security.Cryptography.Encoding": "4.0.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Text.Encoding": "4.3.0", + "runtime.native.System.Security.Cryptography": "4.0.0" + } + }, + "System.Security.Cryptography.Pkcs/5.0.0": { + "dependencies": { + "System.Formats.Asn1": "5.0.0", + "System.Security.Cryptography.Cng": "5.0.0" + } + }, + "System.Security.Cryptography.Primitives/4.0.0": { + "dependencies": { + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Threading": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Security.Cryptography.ProtectedData/7.0.0": { + "runtime": { + "lib/net7.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.0.22.51805" + } + }, + "runtimeTargets": { + "runtimes/win/lib/net7.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.0.22.51805" + } + } + }, + "System.Security.Cryptography.X509Certificates/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.Globalization.Calendars": "4.0.1", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.Handles": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Runtime.Numerics": "4.0.1", + "System.Security.Cryptography.Algorithms": "4.2.0", + "System.Security.Cryptography.Cng": "5.0.0", + "System.Security.Cryptography.Csp": "4.0.0", + "System.Security.Cryptography.Encoding": "4.0.0", + "System.Security.Cryptography.OpenSsl": "4.0.0", + "System.Security.Cryptography.Primitives": "4.0.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "runtime.native.System": "4.3.0", + "runtime.native.System.Net.Http": "4.0.1", + "runtime.native.System.Security.Cryptography": "4.0.0" + } + }, + "System.Security.Permissions/6.0.0": { + "dependencies": { + "System.Security.AccessControl": "6.0.0", + "System.Windows.Extensions": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Security.Permissions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Security.Principal.Windows/5.0.0": {}, + "System.Text.Encoding/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding.CodePages/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Text.Encoding.Extensions/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0" + } + }, + "System.Text.Encodings.Web/7.0.0": {}, + "System.Text.Json/7.0.0": { + "dependencies": { + "System.Text.Encodings.Web": "7.0.0" + } + }, + "System.Text.RegularExpressions/4.1.0": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Globalization": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Threading": "4.3.0" + } + }, + "System.Threading/4.3.0": { + "dependencies": { + "System.Runtime": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Threading.Channels/4.7.1": {}, + "System.Threading.Overlapped/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Threading.Tasks/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks.Extensions/4.5.4": {}, + "System.Threading.Thread/4.3.0": { + "dependencies": { + "System.Runtime": "4.3.0" + } + }, + "System.Threading.ThreadPool/4.3.0": { + "dependencies": { + "System.Runtime": "4.3.0", + "System.Runtime.Handles": "4.3.0" + } + }, + "System.Threading.Timer/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "5.0.4", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Windows.Extensions/6.0.0": { + "dependencies": { + "System.Drawing.Common": "6.0.0" + }, + "runtime": { + "lib/net6.0/System.Windows.Extensions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + }, + "runtimeTargets": { + "runtimes/win/lib/net6.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.52210" + } + } + }, + "System.Xml.ReaderWriter/4.0.11": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.IO.FileSystem": "4.3.0", + "System.IO.FileSystem.Primitives": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Runtime.InteropServices": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Text.Encoding.Extensions": "4.0.11", + "System.Text.RegularExpressions": "4.1.0", + "System.Threading.Tasks": "4.3.0", + "System.Threading.Tasks.Extensions": "4.5.4" + } + }, + "System.Xml.XDocument/4.0.11": { + "dependencies": { + "System.Collections": "4.3.0", + "System.Diagnostics.Debug": "4.3.0", + "System.Diagnostics.Tools": "4.0.1", + "System.Globalization": "4.3.0", + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Resources.ResourceManager": "4.3.0", + "System.Runtime": "4.3.0", + "System.Runtime.Extensions": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading": "4.3.0", + "System.Xml.ReaderWriter": "4.0.11" + } + }, + "Corax/5.4.101": { + "dependencies": { + "Newtonsoft.Json": "13.0.2", + "Sparrow": "5.4.101", + "Sparrow.Server": "5.4.101", + "Spatial4n": "0.4.1.1", + "Voron": "5.4.101" + }, + "runtime": { + "Corax.dll": {} + } + }, + "RavenDB.Client/5.4.101": { + "dependencies": { + "Lambda2Js.Signed": "3.1.4", + "Microsoft.AspNetCore.JsonPatch": "7.0.2", + "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "Microsoft.CSharp": "4.7.0", + "Newtonsoft.Json": "13.0.2", + "Nito.AsyncEx.Coordination": "5.1.2" + }, + "runtime": { + "Raven.Client.dll": {} + } + }, + "Sparrow/5.4.101": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "Microsoft.CSharp": "4.7.0", + "Nito.AsyncEx.Coordination": "5.1.2" + }, + "runtime": { + "Sparrow.dll": {} + } + }, + "Sparrow.Server/5.4.101": { + "dependencies": { + "Mono.Posix.NETStandard": "1.0.0", + "Sparrow": "5.4.101" + }, + "runtime": { + "Sparrow.Server.dll": {} + } + }, + "Voron/5.4.101": { + "dependencies": { + "Sparrow.Server": "5.4.101" + }, + "runtime": { + "Voron.dll": {} + } + } + } + }, + "libraries": { + "Raven.Server/5.4.101": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "AMQPNetLite/2.4.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0gksL0JbihvWhDlaGKwfa/XcK04Kb9YUXjj0aCbubBVfBnQmzbLjcYrofYArYZL9Tx72+lS5f4ERW/MJ94PGfQ==", + "path": "amqpnetlite/2.4.2", + "hashPath": "amqpnetlite.2.4.2.nupkg.sha512" + }, + "AMQPNetLite.Core/2.4.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-16otRPnisT99NlkbFkWSRDM8EyMLaQhdpyiQXUey7HTWyF9OpLsV6FdwleKe7quEhMJSo4R8lnaXLkeDdOUXFw==", + "path": "amqpnetlite.core/2.4.2", + "hashPath": "amqpnetlite.core.2.4.2.nupkg.sha512" + }, + "AMQPNetLite.Serialization/2.4.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Txq+QChafhQgsZP5v4WoyccEdz4QHe3blNmXgQQG2CPq1zshMFdFr3ZYCpteWC5w8eUQPTRnyDXU7pT3j1i6hw==", + "path": "amqpnetlite.serialization/2.4.2", + "hashPath": "amqpnetlite.serialization.2.4.2.nupkg.sha512" + }, + "AWSSDK.Core/3.7.103.14": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbIAApTQSlHfw1bV9G1BEEmCe/PehgNw7+AWqn6i+JIOW8cmhzGfpUTRztSt2PJjeCBtPitYpsy0U8VSC1E3Zg==", + "path": "awssdk.core/3.7.103.14", + "hashPath": "awssdk.core.3.7.103.14.nupkg.sha512" + }, + "AWSSDK.Glacier/3.7.100.52": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WteRWfVCYOfldRNA8OavjzmY7JVlUL8Grown2c+el09W+YApzKgxjA/3Nkm70nfzfs0hM3Av+Er+B9GZghE8yQ==", + "path": "awssdk.glacier/3.7.100.52", + "hashPath": "awssdk.glacier.3.7.100.52.nupkg.sha512" + }, + "AWSSDK.S3/3.7.101.52": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1IpNPthuxFMfma3YQQwK4nTi7JHJ1T6tiUqsmke+951IMZ4+zhjSb0fwDFHZZKy0rf6q2XJFFlA1rl0+MXNN2Q==", + "path": "awssdk.s3/3.7.101.52", + "hashPath": "awssdk.s3.3.7.101.52.nupkg.sha512" + }, + "AWSSDK.SimpleNotificationService/3.7.100.53": { + "type": "package", + "serviceable": true, + "sha512": "sha512-czor+tmEl7buvEIVg2n/Bn34rNTyQZhrCvZELMPYB7rmmdzkBdZN/oW6xKGLLjfjlu/N9k+F77tHbjCnayx4Ag==", + "path": "awssdk.simplenotificationservice/3.7.100.53", + "hashPath": "awssdk.simplenotificationservice.3.7.100.53.nupkg.sha512" + }, + "AWSSDK.SQS/3.7.100.52": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9MXWhd2KyNXq/CbRyvow7ujYRnTlw87/zBI2Ce764KOz7cbWQmTjkC4TP5mDfeGFXmxKEcb1pCNTP+CCyw/+Jw==", + "path": "awssdk.sqs/3.7.100.52", + "hashPath": "awssdk.sqs.3.7.100.52.nupkg.sha512" + }, + "Azure.Core/1.25.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X8Dd4sAggS84KScWIjEbFAdt2U1KDolQopTPoHVubG2y3CM54f9l6asVrP5Uy384NWXjsspPYaJgz5xHc+KvTA==", + "path": "azure.core/1.25.0", + "hashPath": "azure.core.1.25.0.nupkg.sha512" + }, + "Azure.Storage.Blobs/12.14.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DvRBWUDMB2LjdRbsBNtz/LiVIYk56hqzSooxx4uq4rCdLj2M+7Vvoa1r+W35Dz6ZXL6p+SNcgEae3oZ+CkPfow==", + "path": "azure.storage.blobs/12.14.1", + "hashPath": "azure.storage.blobs.12.14.1.nupkg.sha512" + }, + "Azure.Storage.Common/12.13.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jDv8xJWeZY2Er9zA6QO25BiGolxg87rItt9CwAp7L/V9EPJeaz8oJydaNL9Wj0+3ncceoMgdiyEv66OF8YUwWQ==", + "path": "azure.storage.common/12.13.0", + "hashPath": "azure.storage.common.12.13.0.nupkg.sha512" + }, + "CloudNative.CloudEvents/2.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1Gq8tS2IuqgziAVGy70wBloN2smT8JC5uEHde4FrAKOVOmWrdSGtfOnwZGL+YQxThFSPG0r7Ual17JBTD1jEZg==", + "path": "cloudnative.cloudevents/2.5.1", + "hashPath": "cloudnative.cloudevents.2.5.1.nupkg.sha512" + }, + "CloudNative.CloudEvents.Amqp/2.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-djo/ZJxR9kSu5tW6hmyAycO9mxmoGzF/OOVMoh0uqhTybdcwgW8PZvruMgRjJ9uK/dRJMbljHxB8spGH/pp/Fg==", + "path": "cloudnative.cloudevents.amqp/2.5.1", + "hashPath": "cloudnative.cloudevents.amqp.2.5.1.nupkg.sha512" + }, + "CloudNative.CloudEvents.Kafka/2.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gUBUPv6xxr1COZUsiD6LNHSJWAbSKpt7V+T+VD1k4TNGSUz/GovMDdaRt97MojNzX9Lgb5fSFXNOz+3RkhE01w==", + "path": "cloudnative.cloudevents.kafka/2.5.1", + "hashPath": "cloudnative.cloudevents.kafka.2.5.1.nupkg.sha512" + }, + "CloudNative.CloudEvents.NewtonsoftJson/2.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Mumx+HYKGGe2/KBwqMHRDDvvaIw1lqlezFInqXloYg++uMT4VzHY0LFvG51gaVMtUS2Te8Rj57SePWx3oBM6Ug==", + "path": "cloudnative.cloudevents.newtonsoftjson/2.5.1", + "hashPath": "cloudnative.cloudevents.newtonsoftjson.2.5.1.nupkg.sha512" + }, + "Confluent.Kafka/1.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xdol/eagNz6hdldqcm7ctjRuRGENJyctFyNmNAX+lgqJ7xXIVQa9c0L9jPaYWeMYg0gSMihtaH950HzDPKnmbg==", + "path": "confluent.kafka/1.9.3", + "hashPath": "confluent.kafka.1.9.3.nupkg.sha512" + }, + "CsvHelper/30.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-rcZtgbWR+As4G3Vpgx0AMNmShGuQLFjkHAPIIflzrfkJCx8/AOd4m96ZRmiU1Wi39qS5UVjV0P8qdgqOo5Cwyg==", + "path": "csvhelper/30.0.1", + "hashPath": "csvhelper.30.0.1.nupkg.sha512" + }, + "DasMulli.Win32.ServiceUtils.Signed/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+j7vXKo+WoQU2LcoKaDePD/lsgVa6hW8BRCAq0UffTrfXSPb5HIEzl+Pvjke98kmoGj9VRUtWIHicyk4a0c4rQ==", + "path": "dasmulli.win32.serviceutils.signed/1.1.0", + "hashPath": "dasmulli.win32.serviceutils.signed.1.1.0.nupkg.sha512" + }, + "Elasticsearch.Net/7.17.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-orChsQi1Ceho/NyIylNOn6y4vuGcsbCfMZnCueNN0fzqYEGQmQdPfcVmsR5+3fwpXTgxCdjTUVmqOwvHpCSB+Q==", + "path": "elasticsearch.net/7.17.5", + "hashPath": "elasticsearch.net.7.17.5.nupkg.sha512" + }, + "Esprima/2.0.0-beta-1338": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JQa2vQxXxVXRxHeDHFu1M1cky64pnHDyNLADdpuuiaC/KrJlE7HtUozfqoeEb17b3LQSSH/g7oAyeL1xxD1ogw==", + "path": "esprima/2.0.0-beta-1338", + "hashPath": "esprima.2.0.0-beta-1338.nupkg.sha512" + }, + "GeoAPI/1.7.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LAHPEztEGuR3LGtnNYOqg2JvUaw449gcACYqmy1pr129R2cWaV+Q9Lne8YgEwCnksHCVoXyQmuKY+CvsgPYmng==", + "path": "geoapi/1.7.5", + "hashPath": "geoapi.1.7.5.nupkg.sha512" + }, + "GeoAPI.CoordinateSystems/1.7.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JBcvkeQFjCW9NTfkII5WiJNmnv0ZtYA/VTVljbIqDFWBJ8kHwu2UHd2MVStD/VVHVnLoyNcDIapsuTENdlyF3g==", + "path": "geoapi.coordinatesystems/1.7.5", + "hashPath": "geoapi.coordinatesystems.1.7.5.nupkg.sha512" + }, + "GeoAPI.Core/1.7.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Dy/YkgZ1szgx+xbVWqMi+4++Fm6v3szbVdei1LKPRZ3meSvgNSMZxqhar5IAeaTj5LcUHLtLGdfyUtkjnYbg3A==", + "path": "geoapi.core/1.7.5", + "hashPath": "geoapi.core.1.7.5.nupkg.sha512" + }, + "Google.Api.Gax/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gLJt1aHvLtU9jXlAavEUqF5RaobdgYXA+0b+gkhc0/pIylSztv5dK9Q7Uq+IyMXFzLMFkSEI++4DFeyYjuR1Bg==", + "path": "google.api.gax/4.3.0", + "hashPath": "google.api.gax.4.3.0.nupkg.sha512" + }, + "Google.Api.Gax.Rest/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-7oNr9ZgovpbNyXFWayzFSWkWgcm3QfRh1smHMxQ5srf4ZPSu72U24mWpRVo2i1Ub5Y/vjg1na+EFBjIz3NPmtQ==", + "path": "google.api.gax.rest/4.3.0", + "hashPath": "google.api.gax.rest.4.3.0.nupkg.sha512" + }, + "Google.Apis/1.58.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OFIWLMbxL096T6L3b0cQLSQGAxRZWIZLNkjZtaYUQ5exz67aW7+Sd+OQnzdFGrV0yyTNlMOy+j6AqmdsenJHXA==", + "path": "google.apis/1.58.0", + "hashPath": "google.apis.1.58.0.nupkg.sha512" + }, + "Google.Apis.Auth/1.58.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-8HAVH23c/O6ODdpedkw/2B3VqG4YKEMk0v0Sb6tEz7GRaiqGwdMntytr7iez0iFvCFDA5SkHnYDCNCIztnSMhA==", + "path": "google.apis.auth/1.58.0", + "hashPath": "google.apis.auth.1.58.0.nupkg.sha512" + }, + "Google.Apis.Core/1.58.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-e1QpJz6hMuxN7Whm9ORl98dV9/6kM4UC+zNHGFO/S7OVV4wglFkix9DMidzdEmo3AGrs9KZSk69N+rYHJKqn+A==", + "path": "google.apis.core/1.58.0", + "hashPath": "google.apis.core.1.58.0.nupkg.sha512" + }, + "Google.Apis.Storage.v1/1.57.0.2742": { + "type": "package", + "serviceable": true, + "sha512": "sha512-pQigIarHnG+ahQprulXXOCCWYSyVawMfaRjwkSKCmdgsvBsxvm/L2HckSsYNM4XEGeljBahO2u8u64KyWCopEQ==", + "path": "google.apis.storage.v1/1.57.0.2742", + "hashPath": "google.apis.storage.v1.1.57.0.2742.nupkg.sha512" + }, + "Google.Cloud.Storage.V1/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ngGafYPmNuHDrnGbUB99Lv4489F1buaMLoZl7ZzhynA4M5/t1KP9ar5hmN62aX8kyea7Kg9ucSbKSQFsAS+tlg==", + "path": "google.cloud.storage.v1/4.1.0", + "hashPath": "google.cloud.storage.v1.4.1.0.nupkg.sha512" + }, + "Google.Protobuf/3.19.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fd07/ykL4O4FhqrZIELm5lmiyOHfdPg9+o+hWr6tcfRdS7tHXnImg/2wtogLzlW2eEmr0J7j6ZrZvaWOLiJbxQ==", + "path": "google.protobuf/3.19.4", + "hashPath": "google.protobuf.3.19.4.nupkg.sha512" + }, + "Humanizer.Core/2.14.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-lQKvtaTDOXnoVJ20ibTuSIOf2i0uO0MPbDhd1jm238I+U/2ZnRENj0cktKZhtchBMtCUSRQ5v4xBCUbKNmyVMw==", + "path": "humanizer.core/2.14.1", + "hashPath": "humanizer.core.2.14.1.nupkg.sha512" + }, + "IronSnappy/1.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-EFkwQ8C0RlQHM1UraPL6Yaino+JbPlj5NOVlX4PbnAW8YcN6uEFqfxZAkkIuTZTVKyc9IIpUAt+nZv1Tp4PGiA==", + "path": "ironsnappy/1.3.0", + "hashPath": "ironsnappy.1.3.0.nupkg.sha512" + }, + "JetBrains.Annotations/2022.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw==", + "path": "jetbrains.annotations/2022.3.1", + "hashPath": "jetbrains.annotations.2022.3.1.nupkg.sha512" + }, + "Jint/3.0.30-ravendb": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Pxl7qhN0h+d/5fuLrMW2iHhQhrJtMJBluxOCrFkJNJIyBcEtXZN3tcUJNQHvKq7lwgZiWe/Q+U3TYFIr8Z7y6Q==", + "path": "jint/3.0.30-ravendb", + "hashPath": "jint.3.0.30-ravendb.nupkg.sha512" + }, + "K4os.Compression.LZ4/1.2.6": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4EN8EE6bZG2U8dFfeqn+Om3UNajK3cPYHvyQROCFm4jNFVLuRB7Nl5bDkjBSAjfctS6konm+ay3u5RafBzltDA==", + "path": "k4os.compression.lz4/1.2.6", + "hashPath": "k4os.compression.lz4.1.2.6.nupkg.sha512" + }, + "K4os.Compression.LZ4.Streams/1.2.6": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5KMcNFRHeRrnJ9c8k5fZcfAJJEY0FndMiDiHIYa35Mx5KCMkeSNo/PEXu7YmtCoVczJagx+Vt7J/F+//S1PcJQ==", + "path": "k4os.compression.lz4.streams/1.2.6", + "hashPath": "k4os.compression.lz4.streams.1.2.6.nupkg.sha512" + }, + "K4os.Hash.xxHash/1.0.6": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jCfNP0inx1sGcP3KSbpiDEH3km2e1sVBjMfKo+V92jr1dL4ZYgA1uhRMl1wAtdGZcbObXIikKqtVlgx3j/CW6g==", + "path": "k4os.hash.xxhash/1.0.6", + "hashPath": "k4os.hash.xxhash.1.0.6.nupkg.sha512" + }, + "Lambda2Js.Signed/3.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Ryzu7T7ZzjQxTGxCSInAe0ZO3gbskW09qizdnrTUbZeNOyJzbdcQ39ylj4mJEYFeOUO1DQ1RqtBhQdiaMTSC6g==", + "path": "lambda2js.signed/3.1.4", + "hashPath": "lambda2js.signed.3.1.4.nupkg.sha512" + }, + "Lextm.SharpSnmpLib.Engine/11.3.102": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ugwslhG3vydXkeUGuWbvNAT9L2TlFQKUyVTwbScBpOBu1r41LMUC+qNzKWVWqBMPxIYh1CgsfXKukBVtcecysQ==", + "path": "lextm.sharpsnmplib.engine/11.3.102", + "hashPath": "lextm.sharpsnmplib.engine.11.3.102.nupkg.sha512" + }, + "librdkafka.redist/1.9.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ljLtyamiEq7Ky36LAv8gAz69YfpLBw2P/y1eDuqwAm9RiDINtWrkg/hqIBTK2Gc7ydJaKlySa1BxMG7RHVD26A==", + "path": "librdkafka.redist/1.9.2", + "hashPath": "librdkafka.redist.1.9.2.nupkg.sha512" + }, + "Lucene.Net/3.0.54004": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SYEZFlHmcJk8EVvNpSzI3aepQpQJobO3qJ8eNIuvQ9LKgLufF21EcRosMeoNlpsKr2HEqvLTYl4fZ8oTG3JIig==", + "path": "lucene.net/3.0.54004", + "hashPath": "lucene.net.3.0.54004.nupkg.sha512" + }, + "Lucene.Net.Contrib.Spatial.NTS/3.0.54004": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3hS2bRVwY/eVmVLX+p330sWXr4JXdn3b7UEbxWRyG30YeaLgKdDOUF9pE0X+wxu/OJhJVCT2te6ESs3TUsk+2Q==", + "path": "lucene.net.contrib.spatial.nts/3.0.54004", + "hashPath": "lucene.net.contrib.spatial.nts.3.0.54004.nupkg.sha512" + }, + "McMaster.Extensions.CommandLineUtils/4.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/M/p9fPUfu1dtIa+/xJS3hdp4aNIVr3c0reLFP4ZKo1vZy1sXeWeyaSapoVk8dmT79OxJTpLUGDdv0ReBd8d8A==", + "path": "mcmaster.extensions.commandlineutils/4.0.2", + "hashPath": "mcmaster.extensions.commandlineutils.4.0.2.nupkg.sha512" + }, + "Microsoft.AspNetCore.JsonPatch/7.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qgYuyXUPD37cBcOlN3XydBXn1LpIYUp4ZimzLn70GhqFSKtyLWl4ym76CVv0AuzUaNT1ZePRLGUzVG2xTggyrw==", + "path": "microsoft.aspnetcore.jsonpatch/7.0.2", + "hashPath": "microsoft.aspnetcore.jsonpatch.7.0.2.nupkg.sha512" + }, + "Microsoft.Bcl.AsyncInterfaces/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3aeMZ1N0lJoSyzqiP03hqemtb1BijhsJADdobn/4nsMJ8V1H+CrpuduUe4hlRdx+ikBQju1VGjMD1GJ3Sk05Eg==", + "path": "microsoft.bcl.asyncinterfaces/7.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.7.0.0.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.Analyzers/3.3.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j/rOZtLMVJjrfLRlAMckJLPW/1rze9MT1yfWqSIbUPGRu1m1P0fuo9PmqapwsmePfGB5PJrudQLvmUOAMF0DqQ==", + "path": "microsoft.codeanalysis.analyzers/3.3.3", + "hashPath": "microsoft.codeanalysis.analyzers.3.3.3.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.Common/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JfHupS/B7Jb5MZoYkFFABn3mux0wQgxi2D8F/rJYZeRBK2ZOyk7TjQ2Kq9rh6W/DCh0KNbbSbn5qoFar+ueHqw==", + "path": "microsoft.codeanalysis.common/4.4.0", + "hashPath": "microsoft.codeanalysis.common.4.4.0.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.CSharp/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eD2w0xHRoaqK07hjlOKGR9eLNy3nimiGNeCClNax1NDgS/+DBtBqCjXelOa+TNy99kIB3nHhUqDmr46nDXy/RQ==", + "path": "microsoft.codeanalysis.csharp/4.4.0", + "hashPath": "microsoft.codeanalysis.csharp.4.4.0.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.CSharp.Workspaces/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ADmI2jcwJP9GgBsVx2l0Bo0v3Hn4hHBg1uJ5zHd230mkO8rUJBLZu2h3tCbpwJMkpAIRtrxuZDD5uNfiyz0Q5Q==", + "path": "microsoft.codeanalysis.csharp.workspaces/4.4.0", + "hashPath": "microsoft.codeanalysis.csharp.workspaces.4.4.0.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.Workspaces.Common/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6KzmmTIUU7qInQldcSPaW0nkrO71zlFPhoiabFBhkokEit49rLx4Kr/G3agBchYzirScrXibqgTRQkvx9WcJTw==", + "path": "microsoft.codeanalysis.workspaces.common/4.4.0", + "hashPath": "microsoft.codeanalysis.workspaces.common.4.4.0.nupkg.sha512" + }, + "Microsoft.CSharp/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==", + "path": "microsoft.csharp/4.7.0", + "hashPath": "microsoft.csharp.4.7.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-tldQUBWt/xeH2K7/hMPPo5g8zuLc3Ro9I5d4o/XrxvxOCA2EZBtW7bCHHTc49fcBtvB8tLAb/Qsmfrq+2SJ4vA==", + "path": "microsoft.extensions.configuration/7.0.0", + "hashPath": "microsoft.extensions.configuration.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-f34u2eaqIjNO9YLHBz8rozVZ+TcFiFs0F3r7nUJd7FRkVSxk8u4OpoK226mi49MwexHOR2ibP9MFvRUaLilcQQ==", + "path": "microsoft.extensions.configuration.abstractions/7.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.CommandLine/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-a8Iq8SCw5m8W5pZJcPCgBpBO4E89+NaObPng+ApIhrGSv9X4JPrcFAaGM4sDgR0X83uhLgsNJq8VnGP/wqhr8A==", + "path": "microsoft.extensions.configuration.commandline/7.0.0", + "hashPath": "microsoft.extensions.configuration.commandline.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-RIkfqCkvrAogirjsqSrG1E1FxgrLsOZU2nhRbl07lrajnxzSU2isj2lwQah0CtCbLWo/pOIukQzM1GfneBUnxA==", + "path": "microsoft.extensions.configuration.environmentvariables/7.0.0", + "hashPath": "microsoft.extensions.configuration.environmentvariables.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.FileExtensions/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xk2lRJ1RDuqe57BmgvRPyCt6zyePKUmvT6iuXqiHR+/OIIgWVR8Ff5k2p6DwmqY8a17hx/OnrekEhziEIeQP6Q==", + "path": "microsoft.extensions.configuration.fileextensions/7.0.0", + "hashPath": "microsoft.extensions.configuration.fileextensions.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Json/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LDNYe3uw76W35Jci+be4LDf2lkQZe0A7EEYQVChFbc509CpZ4Iupod8li4PUXPBhEUOFI/rlQNf5xkzJRQGvtA==", + "path": "microsoft.extensions.configuration.json/7.0.0", + "hashPath": "microsoft.extensions.configuration.json.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.UserSecrets/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-33HPW1PmB2RS0ietBQyvOxjp4O3wlt+4tIs8KPyMn1kqp04goiZGa7+3mc69NRLv6bphkLDy0YR7Uw3aZyf8Zw==", + "path": "microsoft.extensions.configuration.usersecrets/7.0.0", + "hashPath": "microsoft.extensions.configuration.usersecrets.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.FileProviders.Abstractions/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NyawiW9ZT/liQb34k9YqBSNPLuuPkrjMgQZ24Y/xXX1RoiBkLUdPMaQTmxhZ5TYu8ZKZ9qayzil75JX95vGQUg==", + "path": "microsoft.extensions.fileproviders.abstractions/7.0.0", + "hashPath": "microsoft.extensions.fileproviders.abstractions.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.FileProviders.Physical/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-K8D2MTR+EtzkbZ8z80LrG7Ur64R7ZZdRLt1J5cgpc/pUWl0C6IkAUapPuK28oionHueCPELUqq0oYEvZfalNdg==", + "path": "microsoft.extensions.fileproviders.physical/7.0.0", + "hashPath": "microsoft.extensions.fileproviders.physical.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.FileSystemGlobbing/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-2jONjKHiF+E92ynz2ZFcr9OvxIw+rTGMPEH+UZGeHTEComVav93jQUWGkso8yWwVBcEJGcNcZAaqY01FFJcj7w==", + "path": "microsoft.extensions.filesystemglobbing/7.0.0", + "hashPath": "microsoft.extensions.filesystemglobbing.7.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.ObjectPool/2.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gA8H7uQOnM5gb+L0uTNjViHYr+hRDqCdfugheGo/MxQnuHzmhhzCBTIPm19qL1z1Xe0NEMabfcOBGv9QghlZ8g==", + "path": "microsoft.extensions.objectpool/2.2.0", + "hashPath": "microsoft.extensions.objectpool.2.2.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-um1KU5kxcRp3CNuI8o/GrZtD4AIOXDk+RLsytjZ9QPok3ttLUelLKpilVPuaFT3TFjOhSibUAso0odbOaCDj3Q==", + "path": "microsoft.extensions.primitives/7.0.0", + "hashPath": "microsoft.extensions.primitives.7.0.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/5.0.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-S/AHu+d3Fk/yoWHIXNAs8N030bCf22GlXoMqLC/zK24i+VfhG0kWYtFeEv6s07b05qchNEGabwOcq49zzR8MPA==", + "path": "microsoft.netcore.platforms/5.0.4", + "hashPath": "microsoft.netcore.platforms.5.0.4.nupkg.sha512" + }, + "Microsoft.NETCore.Targets/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==", + "path": "microsoft.netcore.targets/1.1.0", + "hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512" + }, + "Microsoft.Web.Xdt/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-O8T930V2+8hgC3gUnp4IFA+6b7o9PsQIvCuBOigOdz7B0ZbX0clckPsCxsPAxNC3zcaYb4ShtTimeZoA1EZpoQ==", + "path": "microsoft.web.xdt/3.0.0", + "hashPath": "microsoft.web.xdt.3.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", + "path": "microsoft.win32.primitives/4.3.0", + "hashPath": "microsoft.win32.primitives.4.3.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", + "path": "microsoft.win32.registry/5.0.0", + "hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hqTM5628jSsQiv+HGpiq3WKBl2c8v1KZfby2J6Pr7pEPlK9waPdgEO6b8A/+/xn/yZ9ulv8HuqK71ONy2tg67A==", + "path": "microsoft.win32.systemevents/6.0.0", + "hashPath": "microsoft.win32.systemevents.6.0.0.nupkg.sha512" + }, + "Mono.Posix.NETStandard/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vSN/L1uaVwKsiLa95bYu2SGkF0iY3xMblTfxc8alSziPuVfJpj3geVqHGAA75J7cZkMuKpFVikz82Lo6y6LLdA==", + "path": "mono.posix.netstandard/1.0.0", + "hashPath": "mono.posix.netstandard.1.0.0.nupkg.sha512" + }, + "MySql.Data/8.0.31": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZVcctmag6cX0DtDxWh3fhBlSdZfGHKIUIodl7QtjZKupSgbCT0X+bO1Faw/NfUR2VfoxB/L9WzLfeCvki65qVg==", + "path": "mysql.data/8.0.31", + "hashPath": "mysql.data.8.0.31.nupkg.sha512" + }, + "NCrontab.Advanced/1.3.28": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4jQgtg44Zgn0N3TNsCifGwuNGB3J8wEOuyz3aQQD5+BBfI9emlVWU5/C+VWutquklc8UkuCfmlw+QdGwMxWwUA==", + "path": "ncrontab.advanced/1.3.28", + "hashPath": "ncrontab.advanced.1.3.28.nupkg.sha512" + }, + "NEST/7.17.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bo9UyuIoVRx4IUQiuC8ZrlZuvAXKIccernC7UUKukQCEmRq2eVIk+gubHlnMQljrP51q0mN4cjgy9vv5uZPkoA==", + "path": "nest/7.17.5", + "hashPath": "nest.7.17.5.nupkg.sha512" + }, + "NETStandard.Library/1.6.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ypsCvIdCZ4IoYASJHt6tF2fMo7N30NLgV1EbmC+snO490OMl9FvVxmumw14rhReWU3j3g7BYudG6YCrchwHJlA==", + "path": "netstandard.library/1.6.0", + "hashPath": "netstandard.library.1.6.0.nupkg.sha512" + }, + "NetTopologySuite/1.15.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-UMqlZgOdR9w24BaBh2K70LRK9KMVeuUPQv/70O93Kcta9XPpKSfN8bDCmXMXsQLQfDpRPimLe0asFEp1Mm7h0A==", + "path": "nettopologysuite/1.15.0", + "hashPath": "nettopologysuite.1.15.0.nupkg.sha512" + }, + "NetTopologySuite.CoordinateSystems/1.15.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-p9AiFHHPcpSW+JzN+/t4L/45l1h3e9Tnsb/7TzGVkoIABd8CwfbGfg/xPxRmjhiXTUvDr/ERQK77/abthL0UcQ==", + "path": "nettopologysuite.coordinatesystems/1.15.0", + "hashPath": "nettopologysuite.coordinatesystems.1.15.0.nupkg.sha512" + }, + "NetTopologySuite.Core/1.15.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SMhtTQYfpgHq9+0X9cwcLfUZlUWkmzK2OODHLMjX5KbSLP99xvCAF95CfZ4hnsI7K6qvezOQXbIKJpYdr7yKmg==", + "path": "nettopologysuite.core/1.15.0", + "hashPath": "nettopologysuite.core.1.15.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==", + "path": "newtonsoft.json/13.0.2", + "hashPath": "newtonsoft.json.13.0.2.nupkg.sha512" + }, + "Nito.AsyncEx.Coordination/5.1.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QMyUfsaxov//0ZMbOHWr9hJaBFteZd66DV1ay4J5wRODDb8+K/uHC7+3VsOflo6SVw/29mu8OWZp8vMDSuzc0w==", + "path": "nito.asyncex.coordination/5.1.2", + "hashPath": "nito.asyncex.coordination.5.1.2.nupkg.sha512" + }, + "Nito.AsyncEx.Tasks/5.1.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jEkCfR2/M26OK/U4G7SEN063EU/F4LiVA06TtpZILMdX/quIHCg+wn31Zerl2LC+u1cyFancjTY3cNAr2/89PA==", + "path": "nito.asyncex.tasks/5.1.2", + "hashPath": "nito.asyncex.tasks.5.1.2.nupkg.sha512" + }, + "Nito.Collections.Deque/1.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CU0/Iuv5VDynK8I8pDLwkgF0rZhbQoZahtodfL0M3x2gFkpBRApKs8RyMyNlAi1mwExE4gsmqQXk4aFVvW9a4Q==", + "path": "nito.collections.deque/1.1.1", + "hashPath": "nito.collections.deque.1.1.1.nupkg.sha512" + }, + "Nito.Disposables/2.2.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6sZ5uynQeAE9dPWBQGKebNmxbY4xsvcc5VplB5WkYEESUS7oy4AwnFp0FhqxTSKm/PaFrFqLrYr696CYN8cugg==", + "path": "nito.disposables/2.2.1", + "hashPath": "nito.disposables.2.2.1.nupkg.sha512" + }, + "Npgsql/5.0.15": { + "type": "package", + "serviceable": true, + "sha512": "sha512-rWW9qi/ZgV0cvTWiIEQ6XWKoniPqzZIdiail4XYt7TDavt+LLYh9SYMNR9abH39DWooI45Hxt9SAq7LkTejoPg==", + "path": "npgsql/5.0.15", + "hashPath": "npgsql.5.0.15.nupkg.sha512" + }, + "NuGet.Commands/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j3ma45boGZADsHpJcu3Y2yq+n2luicC6ezd61TXTTzbOzA452oAPaSsFGUB1stIsuP/DVoqkTzjHXjaCHuJKPQ==", + "path": "nuget.commands/6.4.0", + "hashPath": "nuget.commands.6.4.0.nupkg.sha512" + }, + "NuGet.Common/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-srECugLk+LB1bXelDCDhHoi6do/EYTXzuntKhjHraS4roVB3NfWohEdCSiAPdpSV9M40Q6jo6MV2Srml9e+jHQ==", + "path": "nuget.common/6.4.0", + "hashPath": "nuget.common.6.4.0.nupkg.sha512" + }, + "NuGet.Configuration/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vPjauG9AoacEjiZWGIs+d11FCRVmseqAw78FIApfLvZrYMEbbwc9vc0LdC3PpoW5FxYkktyZSiiXVKXGLu+gXw==", + "path": "nuget.configuration/6.4.0", + "hashPath": "nuget.configuration.6.4.0.nupkg.sha512" + }, + "NuGet.Credentials/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-tebsxclknVz3D4FrvE2MzVcsOyf6PffjGNQ77X9Yvbj9x5YpVWfumVPetqETcdsNEgiN0bBzfMre33lhrY7Itw==", + "path": "nuget.credentials/6.4.0", + "hashPath": "nuget.credentials.6.4.0.nupkg.sha512" + }, + "NuGet.DependencyResolver.Core/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-AKomZEKuhQlshujuiHbKvwl2cZNGq3SHsXFbpjCfCjMFMLwwA8saJGQQZp1lzsqQWcQWa6hLOcPtm7T3rd0SVg==", + "path": "nuget.dependencyresolver.core/6.4.0", + "hashPath": "nuget.dependencyresolver.core.6.4.0.nupkg.sha512" + }, + "NuGet.Frameworks/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qcufbjJIDtyY/Hah7JJfcRVpRYM3scgPqYBnukjO9kfADCFGr2azvVBozuwzljA6w/cR3w8bXLq6vW5xGrsmHw==", + "path": "nuget.frameworks/6.4.0", + "hashPath": "nuget.frameworks.6.4.0.nupkg.sha512" + }, + "NuGet.LibraryModel/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-K6ROQpWr34Aje81G0HfipiznLTB8vD4BO8sF6FEwx1KjJVdFkSmGZPmAhc6L1vZPs8TKY5BqoH72zG13zVzW2w==", + "path": "nuget.librarymodel/6.4.0", + "hashPath": "nuget.librarymodel.6.4.0.nupkg.sha512" + }, + "NuGet.PackageManagement/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7AA4vwHBNYV9H/UAk67p+0L7pnAcdbWz2+FXq+/oDOA4pAW1xehWkFLVU2NI5LOW9Lk3el0IBGv37ftIV8Nww==", + "path": "nuget.packagemanagement/6.4.0", + "hashPath": "nuget.packagemanagement.6.4.0.nupkg.sha512" + }, + "NuGet.Packaging/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aR10aYqcUMGC2mwMGH5rls/MGaz3EVH8DKTTHQ/EC91hXNtrCTTAQonaRR+v1EItcoxtQeZ/WQOorv4z270Tgg==", + "path": "nuget.packaging/6.4.0", + "hashPath": "nuget.packaging.6.4.0.nupkg.sha512" + }, + "NuGet.ProjectModel/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eW9Q7vPk8cpXDd5b+vtIPkl8dSDCPkPJPrjXPTfZGxhstldnhJrj1XPaonsDZLQ24YY7LrYCzC0BiHh3iO5zUA==", + "path": "nuget.projectmodel/6.4.0", + "hashPath": "nuget.projectmodel.6.4.0.nupkg.sha512" + }, + "NuGet.Protocol/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KIPjsWP0P3EMsDsXaa6YBCTvYKur/zI0luS1kO5G37ci8mHs2kJFsuG5qaMhGvgyHASu54sxlic1n1oza2Pcbw==", + "path": "nuget.protocol/6.4.0", + "hashPath": "nuget.protocol.6.4.0.nupkg.sha512" + }, + "NuGet.Resolver/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v7KQsEVfZZisWoCrwLogvkvp/d1d0DKJfTcgiYFVer+KQCyAjHLr7ZSWM8Oa49sum8mdlTeQKHTTF/LzqgiIvQ==", + "path": "nuget.resolver/6.4.0", + "hashPath": "nuget.resolver.6.4.0.nupkg.sha512" + }, + "NuGet.Versioning/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YE8p3TpX4jIw+Gb24maE8YRDoqWA4imLmCbdOj5IvslLrZJXQ8akeFOGOplxICNVevON1g1SFYT2+cq4yy0nQQ==", + "path": "nuget.versioning/6.4.0", + "hashPath": "nuget.versioning.6.4.0.nupkg.sha512" + }, + "Oracle.ManagedDataAccess.Core/3.21.80": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NBy3qenkUo3PJBmKc6/SOyNCWPCJijtRqWZ4gImdfeS5hhXs60L1dAeDLiF6N15IfQT2ExRe/0W3+xbxJ6VQ/Q==", + "path": "oracle.manageddataaccess.core/3.21.80", + "hashPath": "oracle.manageddataaccess.core.3.21.80.nupkg.sha512" + }, + "Parquet.Net/3.10.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-sWzf0SUv/bfjZz8CDNPWk7FJ2RVyASVa91txk1citAfpjRqS8hpXu4uKdfPhZmExd//jJRqeGqdFr15zsu2bYg==", + "path": "parquet.net/3.10.0", + "hashPath": "parquet.net.3.10.0.nupkg.sha512" + }, + "Portable.BouncyCastle/1.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eZZBCABzVOek+id9Xy04HhmgykF0wZg9wpByzrWN7q8qEI0Qen9b7tfd7w8VA3dOeesumMG7C5ZPy0jk7PSRHw==", + "path": "portable.bouncycastle/1.9.0", + "hashPath": "portable.bouncycastle.1.9.0.nupkg.sha512" + }, + "RabbitMQ.Client/6.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1znR1gGU+xYVSpO5z8nQolcUKA/yydnxQn7Ug9+RUXxTSLMm/eE58VKGwahPBjELXvDnX0k/kBrAitFLRjx9LA==", + "path": "rabbitmq.client/6.4.0", + "hashPath": "rabbitmq.client.6.4.0.nupkg.sha512" + }, + "Raven.CodeAnalysis/1.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-EcKvocs2NPIbJ0rec48mw3pIBHTC/os347XRyzOEfw6i5JLgQzJuFT0cG/VGOBHbWWVW2cDocipALKm1KTvHBQ==", + "path": "raven.codeanalysis/1.0.11", + "hashPath": "raven.codeanalysis.1.0.11.nupkg.sha512" + }, + "runtime.native.System/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "path": "runtime.native.system/4.3.0", + "hashPath": "runtime.native.system.4.3.0.nupkg.sha512" + }, + "runtime.native.System.Data.SqlClient.sni/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==", + "path": "runtime.native.system.data.sqlclient.sni/4.7.0", + "hashPath": "runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512" + }, + "runtime.native.System.IO.Compression/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Ob7nvnJBox1aaB222zSVZSkf4WrebPG4qFscfK7vmD7P7NxoSxACQLtO7ytWpqXDn2wcd/+45+EAZ7xjaPip8A==", + "path": "runtime.native.system.io.compression/4.1.0", + "hashPath": "runtime.native.system.io.compression.4.1.0.nupkg.sha512" + }, + "runtime.native.System.Net.Http/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nh0UPZx2Vifh8r+J+H2jxifZUD3sBrmolgiFWJd2yiNrxO0xTa6bAw3YwRn1VOiSen/tUXMS31ttNItCZ6lKuA==", + "path": "runtime.native.system.net.http/4.0.1", + "hashPath": "runtime.native.system.net.http.4.0.1.nupkg.sha512" + }, + "runtime.native.System.Security.Cryptography/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-2CQK0jmO6Eu7ZeMgD+LOFbNJSXHFVQbCJJkEyEwowh1SCgYnrn9W9RykMfpeeVGw7h4IBvYikzpGUlmZTUafJw==", + "path": "runtime.native.system.security.cryptography/4.0.0", + "hashPath": "runtime.native.system.security.cryptography.4.0.0.nupkg.sha512" + }, + "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", + "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", + "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", + "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", + "hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512" + }, + "SourceLink.Create.CommandLine/2.8.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-IG9yWuEwkGDC94Be8U7XC/YwzGPGUhH7cF2/AzN3DeyJwo9Epp0kiwT8UGNg1lNkH1mXyjOTS7oN0DZSqMmoBQ==", + "path": "sourcelink.create.commandline/2.8.3", + "hashPath": "sourcelink.create.commandline.2.8.3.nupkg.sha512" + }, + "Spatial4n/0.4.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-lDFTOtyOJVgYsi9AEBOWVuRyzkj4cZGd3DRiRFgQcOAIceOWGTTHCMPKbqhtwdQ+y9gf7FOe4TnahWPStpT6ZA==", + "path": "spatial4n/0.4.1.1", + "hashPath": "spatial4n.0.4.1.1.nupkg.sha512" + }, + "System.AppContext/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3QjO4jNV7PdKkmQAVp9atA+usVnKRwI3Kx1nMwJ93T0LcQfx7pKAYk0nKz5wn1oP5iqlhZuy6RXOFdhr7rDwow==", + "path": "system.appcontext/4.1.0", + "hashPath": "system.appcontext.4.1.0.nupkg.sha512" + }, + "System.Buffers/4.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", + "path": "system.buffers/4.5.1", + "hashPath": "system.buffers.4.5.1.nupkg.sha512" + }, + "System.Collections/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", + "path": "system.collections/4.3.0", + "hashPath": "system.collections.4.3.0.nupkg.sha512" + }, + "System.Collections.Concurrent/4.0.12": { + "type": "package", + "serviceable": true, + "sha512": "sha512-2gBcbb3drMLgxlI0fBfxMA31ec6AEyYCHygGse4vxceJan8mRIWeKJ24BFzN7+bi/NFTgdIgufzb94LWO5EERQ==", + "path": "system.collections.concurrent/4.0.12", + "hashPath": "system.collections.concurrent.4.0.12.nupkg.sha512" + }, + "System.Collections.Immutable/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "path": "system.collections.immutable/7.0.0", + "hashPath": "system.collections.immutable.7.0.0.nupkg.sha512" + }, + "System.Collections.NonGeneric/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-prtjIEMhGUnQq6RnPEYLpFt8AtLbp9yq2zxOSrY7KJJZrw25Fi97IzBqY7iqssbM61Ek5b8f3MG/sG1N2sN5KA==", + "path": "system.collections.nongeneric/4.3.0", + "hashPath": "system.collections.nongeneric.4.3.0.nupkg.sha512" + }, + "System.Collections.Specialized/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Epx8PoVZR0iuOnJJDzp7pWvdfMMOAvpUo95pC4ScH2mJuXkKA2Y4aR3cG9qt2klHgSons1WFh4kcGW7cSXvrxg==", + "path": "system.collections.specialized/4.3.0", + "hashPath": "system.collections.specialized.4.3.0.nupkg.sha512" + }, + "System.ComponentModel/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VyGn1jGRZVfxnh8EdvDCi71v3bMXrsu8aYJOwoV7SNDLVhiEqwP86pPMyRGsDsxhXAm2b3o9OIqeETfN5qfezw==", + "path": "system.componentmodel/4.3.0", + "hashPath": "system.componentmodel.4.3.0.nupkg.sha512" + }, + "System.ComponentModel.Annotations/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dMkqfy2el8A8/I76n2Hi1oBFEbG1SfxD2l5nhwXV3XjlnOmwxJlQbYpJH4W51odnU9sARCSAgv7S3CyAFMkpYg==", + "path": "system.componentmodel.annotations/5.0.0", + "hashPath": "system.componentmodel.annotations.5.0.0.nupkg.sha512" + }, + "System.ComponentModel.Composition/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+iB9FoZnfdqMEGq6np28X6YNSUrse16CakmIhV3h6PxEWt7jYxUN3Txs1D8MZhhf4QmyvK0F/EcIN0f4gGN0dA==", + "path": "system.componentmodel.composition/4.5.0", + "hashPath": "system.componentmodel.composition.4.5.0.nupkg.sha512" + }, + "System.ComponentModel.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-j8GUkCpM8V4d4vhLIIoBLGey2Z5bCkMVNjEZseyAlm4n5arcsJOeI3zkUP+zvZgzsbLTYh4lYeP/ZD/gdIAPrw==", + "path": "system.componentmodel.primitives/4.3.0", + "hashPath": "system.componentmodel.primitives.4.3.0.nupkg.sha512" + }, + "System.ComponentModel.TypeConverter/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-16pQ6P+EdhcXzPiEK4kbA953Fu0MNG2ovxTZU81/qsCd1zPRsKc3uif5NgvllCY598k6bI0KUyKW8fanlfaDQg==", + "path": "system.componentmodel.typeconverter/4.3.0", + "hashPath": "system.componentmodel.typeconverter.4.3.0.nupkg.sha512" + }, + "System.Composition/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-d7wMuKQtfsxUa7S13tITC8n1cQzewuhD5iDjZtK2prwFfKVzdYtgrTHgjaV03Zq7feGQ5gkP85tJJntXwInsJA==", + "path": "system.composition/6.0.0", + "hashPath": "system.composition.6.0.0.nupkg.sha512" + }, + "System.Composition.AttributedModel/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WK1nSDLByK/4VoC7fkNiFuTVEiperuCN/Hyn+VN30R+W2ijO1d0Z2Qm0ScEl9xkSn1G2MyapJi8xpf4R8WRa/w==", + "path": "system.composition.attributedmodel/6.0.0", + "hashPath": "system.composition.attributedmodel.6.0.0.nupkg.sha512" + }, + "System.Composition.Convention/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-XYi4lPRdu5bM4JVJ3/UIHAiG6V6lWWUlkhB9ab4IOq0FrRsp0F4wTyV4Dj+Ds+efoXJ3qbLqlvaUozDO7OLeXA==", + "path": "system.composition.convention/6.0.0", + "hashPath": "system.composition.convention.6.0.0.nupkg.sha512" + }, + "System.Composition.Hosting/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-w/wXjj7kvxuHPLdzZ0PAUt++qJl03t7lENmb2Oev0n3zbxyNULbWBlnd5J5WUMMv15kg5o+/TCZFb6lSwfaUUQ==", + "path": "system.composition.hosting/6.0.0", + "hashPath": "system.composition.hosting.6.0.0.nupkg.sha512" + }, + "System.Composition.Runtime/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qkRH/YBaMPTnzxrS5RDk1juvqed4A6HOD/CwRcDGyPpYps1J27waBddiiq1y93jk2ZZ9wuA/kynM+NO0kb3PKg==", + "path": "system.composition.runtime/6.0.0", + "hashPath": "system.composition.runtime.6.0.0.nupkg.sha512" + }, + "System.Composition.TypedParts/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-iUR1eHrL8Cwd82neQCJ00MpwNIBs4NZgXzrPqx8NJf/k4+mwBO0XCRmHYJT4OLSwDDqh5nBLJWkz5cROnrGhRA==", + "path": "system.composition.typedparts/6.0.0", + "hashPath": "system.composition.typedparts.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-7T+m0kDSlIPTHIkPMIu6m6tV6qsMqJpvQWW2jIc2qi7sn40qxFo0q+7mEQAhMPXZHMKnWrnv47ntGlM/ejvw3g==", + "path": "system.configuration.configurationmanager/6.0.0", + "hashPath": "system.configuration.configurationmanager.6.0.0.nupkg.sha512" + }, + "System.Console/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qSKUSOIiYA/a0g5XXdxFcUFmv1hNICBD7QZ0QhGYVipPIhvpiydY8VZqr1thmCXvmn8aipMg64zuanB4eotK9A==", + "path": "system.console/4.0.0", + "hashPath": "system.console.4.0.0.nupkg.sha512" + }, + "System.Data.SqlClient/4.8.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fRqxut4lrndPHrXD+ht1XRmCL3obuKldm4XjCRYS9p5f7FSR7shBxAwTkDrpFMsHC9BhNgjjmUtiIjvehn5zkg==", + "path": "system.data.sqlclient/4.8.5", + "hashPath": "system.data.sqlclient.4.8.5.nupkg.sha512" + }, + "System.Diagnostics.Debug/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", + "path": "system.diagnostics.debug/4.3.0", + "hashPath": "system.diagnostics.debug.4.3.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-tCQTzPsGZh/A9LhhA6zrqCRV4hOHsK90/G7q3Khxmn6tnB1PuNU0cRaKANP2AWcF9bn0zsuOoZOSrHuJk6oNBA==", + "path": "system.diagnostics.diagnosticsource/5.0.0", + "hashPath": "system.diagnostics.diagnosticsource.5.0.0.nupkg.sha512" + }, + "System.Diagnostics.PerformanceCounter/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gbeE5tNp/oB7O8kTTLh3wPPJCxpNOphXPTWVs1BsYuFOYapFijWuh0LYw1qnDo4gwDUYPXOmpTIhvtxisGsYOQ==", + "path": "system.diagnostics.performancecounter/6.0.0", + "hashPath": "system.diagnostics.performancecounter.6.0.0.nupkg.sha512" + }, + "System.Diagnostics.Tools/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xBfJ8pnd4C17dWaC9FM6aShzbJcRNMChUMD42I6772KGGrqaFdumwhn9OdM68erj1ueNo3xdQ1EwiFjK5k8p0g==", + "path": "system.diagnostics.tools/4.0.1", + "hashPath": "system.diagnostics.tools.4.0.1.nupkg.sha512" + }, + "System.Diagnostics.Tracing/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", + "path": "system.diagnostics.tracing/4.3.0", + "hashPath": "system.diagnostics.tracing.4.3.0.nupkg.sha512" + }, + "System.DirectoryServices/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-lAS54Y3KO1XV68akGa0/GJeddkkuuiv2CtcSkMiTmLHQ6o6kFbKpw4DmJZADF7a6KjPwYxmZnH4D3eGicrJdcg==", + "path": "system.directoryservices/5.0.0", + "hashPath": "system.directoryservices.5.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/5.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-rqSmdHgoYL8RghMsYcwtzNWKbXdT9wHwYDIDcd9TQkRLO/ptF1Op/BTiBc/AbducFCS/PMcqpttXuzw2hp4Iyg==", + "path": "system.directoryservices.protocols/5.0.1", + "hashPath": "system.directoryservices.protocols.5.0.1.nupkg.sha512" + }, + "System.Drawing.Common/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==", + "path": "system.drawing.common/6.0.0", + "hashPath": "system.drawing.common.6.0.0.nupkg.sha512" + }, + "System.Formats.Asn1/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-MTvUIktmemNB+El0Fgw9egyqT9AYSIk6DTJeoDSpc3GIHxHCMo8COqkWT1mptX5tZ1SlQ6HJZ0OsSvMth1c12w==", + "path": "system.formats.asn1/5.0.0", + "hashPath": "system.formats.asn1.5.0.0.nupkg.sha512" + }, + "System.Globalization/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", + "path": "system.globalization/4.3.0", + "hashPath": "system.globalization.4.3.0.nupkg.sha512" + }, + "System.Globalization.Calendars/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-L1c6IqeQ88vuzC1P81JeHmHA8mxq8a18NUBNXnIY/BVb+TCyAaGIFbhpZt60h9FJNmisymoQkHEFSE9Vslja1Q==", + "path": "system.globalization.calendars/4.0.1", + "hashPath": "system.globalization.calendars.4.0.1.nupkg.sha512" + }, + "System.Globalization.Extensions/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", + "path": "system.globalization.extensions/4.3.0", + "hashPath": "system.globalization.extensions.4.3.0.nupkg.sha512" + }, + "System.IO/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "path": "system.io/4.3.0", + "hashPath": "system.io.4.3.0.nupkg.sha512" + }, + "System.IO.Compression/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-TjnBS6eztThSzeSib+WyVbLzEdLKUcEHN69VtS3u8aAsSc18FU6xCZlNWWsEd8SKcXAE+y1sOu7VbU8sUeM0sg==", + "path": "system.io.compression/4.1.0", + "hashPath": "system.io.compression.4.1.0.nupkg.sha512" + }, + "System.IO.Compression.ZipFile/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hBQYJzfTbQURF10nLhd+az2NHxsU6MU7AB8RUf4IolBP5lOAm4Luho851xl+CqslmhI5ZH/el8BlngEk4lBkaQ==", + "path": "system.io.compression.zipfile/4.0.1", + "hashPath": "system.io.compression.zipfile.4.0.1.nupkg.sha512" + }, + "System.IO.FileSystem/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", + "path": "system.io.filesystem/4.3.0", + "hashPath": "system.io.filesystem.4.3.0.nupkg.sha512" + }, + "System.IO.FileSystem.AccessControl/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-SxHB3nuNrpptVk+vZ/F+7OHEpoHUIKKMl02bUmYHQr1r+glbZQxs7pRtsf4ENO29TVm2TH3AEeep2fJcy92oYw==", + "path": "system.io.filesystem.accesscontrol/5.0.0", + "hashPath": "system.io.filesystem.accesscontrol.5.0.0.nupkg.sha512" + }, + "System.IO.FileSystem.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", + "path": "system.io.filesystem.primitives/4.3.0", + "hashPath": "system.io.filesystem.primitives.4.3.0.nupkg.sha512" + }, + "System.IO.Hashing/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfm2jYCaUeGysFEZjDe7j1R4x6Z6BzumS/vUT5a1AA/AWJuGX71PoGB0RmpyX3VmrGqVnAwtfMn39OHR8Y/5+g==", + "path": "system.io.hashing/6.0.0", + "hashPath": "system.io.hashing.6.0.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Linq/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", + "path": "system.linq/4.3.0", + "hashPath": "system.linq.4.3.0.nupkg.sha512" + }, + "System.Linq.Async/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0YhHcaroWpQ9UCot3Pizah7ryAzQhNvobLMSxeDIGmnXfkQn8u5owvpOH0K6EVB+z9L7u6Cc4W17Br/+jyttEQ==", + "path": "system.linq.async/6.0.1", + "hashPath": "system.linq.async.6.0.1.nupkg.sha512" + }, + "System.Linq.Expressions/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-I+y02iqkgmCAyfbqOmSDOgqdZQ5tTj80Akm5BPSS8EeB0VGWdy6X1KCoYe8Pk6pwDoAKZUOdLVxnTJcExiv5zw==", + "path": "system.linq.expressions/4.1.0", + "hashPath": "system.linq.expressions.4.1.0.nupkg.sha512" + }, + "System.Memory/4.5.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "path": "system.memory/4.5.5", + "hashPath": "system.memory.4.5.5.nupkg.sha512" + }, + "System.Memory.Data/1.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", + "path": "system.memory.data/1.0.2", + "hashPath": "system.memory.data.1.0.2.nupkg.sha512" + }, + "System.Net.Http/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ULq9g3SOPVuupt+Y3U+A37coXzdNisB1neFCSKzBwo182u0RDddKJF8I5+HfyXqK6OhJPgeoAwWXrbiUXuRDsg==", + "path": "system.net.http/4.1.0", + "hashPath": "system.net.http.4.1.0.nupkg.sha512" + }, + "System.Net.NetworkInformation/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNVmWVry0pAu7lcrRBhwwU96WUdbsrGL3azyzsbXmVNptae1+Za+UgOe9Z6s8iaWhPn7/l4wQqhC56HZWq7tkg==", + "path": "system.net.networkinformation/4.3.0", + "hashPath": "system.net.networkinformation.4.3.0.nupkg.sha512" + }, + "System.Net.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", + "path": "system.net.primitives/4.3.0", + "hashPath": "system.net.primitives.4.3.0.nupkg.sha512" + }, + "System.Net.Sockets/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", + "path": "system.net.sockets/4.3.0", + "hashPath": "system.net.sockets.4.3.0.nupkg.sha512" + }, + "System.Numerics.Vectors/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==", + "path": "system.numerics.vectors/4.5.0", + "hashPath": "system.numerics.vectors.4.5.0.nupkg.sha512" + }, + "System.ObjectModel/4.0.12": { + "type": "package", + "serviceable": true, + "sha512": "sha512-tAgJM1xt3ytyMoW4qn4wIqgJYm7L7TShRZG4+Q4Qsi2PCcj96pXN7nRywS9KkB3p/xDUjc2HSwP9SROyPYDYKQ==", + "path": "system.objectmodel/4.0.12", + "hashPath": "system.objectmodel.4.0.12.nupkg.sha512" + }, + "System.Reflection/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "path": "system.reflection/4.3.0", + "hashPath": "system.reflection.4.3.0.nupkg.sha512" + }, + "System.Reflection.Emit/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-P2wqAj72fFjpP6wb9nSfDqNBMab+2ovzSDzUZK7MVIm54tBJEPr9jWfSjjoTpPwj1LeKcmX3vr0ttyjSSFM47g==", + "path": "system.reflection.emit/4.0.1", + "hashPath": "system.reflection.emit.4.0.1.nupkg.sha512" + }, + "System.Reflection.Emit.ILGeneration/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Ov6dU8Bu15Bc7zuqttgHF12J5lwSWyTf1S+FJouUXVMSqImLZzYaQ+vRr1rQ0OZ0HqsrwWl4dsKHELckQkVpgA==", + "path": "system.reflection.emit.ilgeneration/4.0.1", + "hashPath": "system.reflection.emit.ilgeneration.4.0.1.nupkg.sha512" + }, + "System.Reflection.Emit.Lightweight/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==", + "path": "system.reflection.emit.lightweight/4.0.1", + "hashPath": "system.reflection.emit.lightweight.4.0.1.nupkg.sha512" + }, + "System.Reflection.Extensions/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", + "path": "system.reflection.extensions/4.3.0", + "hashPath": "system.reflection.extensions.4.3.0.nupkg.sha512" + }, + "System.Reflection.Metadata/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-MclTG61lsD9sYdpNz9xsKBzjsmsfCtcMZYXz/IUr2zlhaTaABonlr1ESeompTgM+Xk+IwtGYU7/voh3YWB/fWw==", + "path": "system.reflection.metadata/7.0.0", + "hashPath": "system.reflection.metadata.7.0.0.nupkg.sha512" + }, + "System.Reflection.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "path": "system.reflection.primitives/4.3.0", + "hashPath": "system.reflection.primitives.4.3.0.nupkg.sha512" + }, + "System.Reflection.TypeExtensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VybpaOQQhqE6siHppMktjfGBw1GCwvCqiufqmP8F1nj7fTUNtW35LOEt3UZTEsECfo+ELAl/9o9nJx3U91i7vA==", + "path": "system.reflection.typeextensions/4.7.0", + "hashPath": "system.reflection.typeextensions.4.7.0.nupkg.sha512" + }, + "System.Resources.ResourceManager/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "path": "system.resources.resourcemanager/4.3.0", + "hashPath": "system.resources.resourcemanager.4.3.0.nupkg.sha512" + }, + "System.Runtime/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "path": "system.runtime/4.3.0", + "hashPath": "system.runtime.4.3.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Runtime.Extensions/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", + "path": "system.runtime.extensions/4.3.0", + "hashPath": "system.runtime.extensions.4.3.0.nupkg.sha512" + }, + "System.Runtime.Handles/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", + "path": "system.runtime.handles/4.3.0", + "hashPath": "system.runtime.handles.4.3.0.nupkg.sha512" + }, + "System.Runtime.InteropServices/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", + "path": "system.runtime.interopservices/4.3.0", + "hashPath": "system.runtime.interopservices.4.3.0.nupkg.sha512" + }, + "System.Runtime.InteropServices.RuntimeInformation/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", + "path": "system.runtime.interopservices.runtimeinformation/4.0.0", + "hashPath": "system.runtime.interopservices.runtimeinformation.4.0.0.nupkg.sha512" + }, + "System.Runtime.Numerics/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+XbKFuzdmLP3d1o9pdHu2nxjNr2OEPqGzKeegPLCUMM71a0t50A/rOcIRmGs9wR7a8KuHX6hYs/7/TymIGLNqg==", + "path": "system.runtime.numerics/4.0.1", + "hashPath": "system.runtime.numerics.4.0.1.nupkg.sha512" + }, + "System.Runtime.Serialization.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Wz+0KOukJGAlXjtKr+5Xpuxf8+c8739RI1C+A2BoQZT+wMCCoMDDdO8/4IRHfaVINqL78GO8dW8G2lW/e45Mcw==", + "path": "system.runtime.serialization.primitives/4.3.0", + "hashPath": "system.runtime.serialization.primitives.4.3.0.nupkg.sha512" + }, + "System.Security.AccessControl/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-AUADIc0LIEQe7MzC+I0cl0rAT8RrTAKFHl53yHjEUzNVIaUlhFY11vc2ebiVJzVBuOzun6F7FBA+8KAbGTTedQ==", + "path": "system.security.accesscontrol/6.0.0", + "hashPath": "system.security.accesscontrol.6.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.Algorithms/4.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-8JQFxbLVdrtIOKMDN38Fn0GWnqYZw/oMlwOUG/qz1jqChvyZlnUmu+0s7wLx7JYua/nAXoESpHA3iw11QFWhXg==", + "path": "system.security.cryptography.algorithms/4.2.0", + "hashPath": "system.security.cryptography.algorithms.4.2.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jIMXsKn94T9JY7PvPq/tMfqa6GAaHpElRDpmG+SuL+D3+sTw2M8VhnibKnN8Tq+4JqbPJ/f+BwtLeDMEnzAvRg==", + "path": "system.security.cryptography.cng/5.0.0", + "hashPath": "system.security.cryptography.cng.5.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.Csp/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/i1Usuo4PgAqgbPNC0NjbO3jPW//BoBlTpcWFD1EHVbidH21y4c1ap5bbEMSGAXjAShhMH4abi/K8fILrnu4BQ==", + "path": "system.security.cryptography.csp/4.0.0", + "hashPath": "system.security.cryptography.csp.4.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.Encoding/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FbKgE5MbxSQMPcSVRgwM6bXN3GtyAh04NkV8E5zKCBE26X0vYW0UtTa2FIgkH33WVqBVxRgxljlVYumWtU+HcQ==", + "path": "system.security.cryptography.encoding/4.0.0", + "hashPath": "system.security.cryptography.encoding.4.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.OpenSsl/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HUG/zNUJwEiLkoURDixzkzZdB5yGA5pQhDP93ArOpDPQMteURIGERRNzzoJlmTreLBWr5lkFSjjMSk8ySEpQMw==", + "path": "system.security.cryptography.openssl/4.0.0", + "hashPath": "system.security.cryptography.openssl.4.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.Pkcs/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9TPLGjBCGKmNvG8pjwPeuYy0SMVmGZRwlTZvyPHDbYv/DRkoeumJdfumaaDNQzVGMEmbWtg07zUpSW9q70IlDQ==", + "path": "system.security.cryptography.pkcs/5.0.0", + "hashPath": "system.security.cryptography.pkcs.5.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.Primitives/4.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Wkd7QryWYjkQclX0bngpntW5HSlMzeJU24UaLJQ7YTfI8ydAVAaU2J+HXLLABOVJlKTVvAeL0Aj39VeTe7L+oA==", + "path": "system.security.cryptography.primitives/4.0.0", + "hashPath": "system.security.cryptography.primitives.4.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xSPiLNlHT6wAHtugASbKAJwV5GVqQK351crnILAucUioFqqieDN79evO1rku1ckt/GfjIn+b17UaSskoY03JuA==", + "path": "system.security.cryptography.protecteddata/7.0.0", + "hashPath": "system.security.cryptography.protecteddata.7.0.0.nupkg.sha512" + }, + "System.Security.Cryptography.X509Certificates/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4HEfsQIKAhA1+ApNn729Gi09zh+lYWwyIuViihoMDWp1vQnEkL2ct7mAbhBlLYm+x/L4Rr/pyGge1lIY635e0w==", + "path": "system.security.cryptography.x509certificates/4.1.0", + "hashPath": "system.security.cryptography.x509certificates.4.1.0.nupkg.sha512" + }, + "System.Security.Permissions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-T/uuc7AklkDoxmcJ7LGkyX1CcSviZuLCa4jg3PekfJ7SU0niF0IVTXwUiNVP9DSpzou2PpxJ+eNY2IfDM90ZCg==", + "path": "system.security.permissions/6.0.0", + "hashPath": "system.security.permissions.6.0.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==", + "path": "system.security.principal.windows/5.0.0", + "hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512" + }, + "System.Text.Encoding/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "path": "system.text.encoding/4.3.0", + "hashPath": "system.text.encoding.4.3.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZFCILZuOvtKPauZ/j/swhvw68ZRi9ATCfvGbk1QfydmcXBkIWecWKn/250UH7rahZ5OoDBaiAudJtPvLwzw85A==", + "path": "system.text.encoding.codepages/6.0.0", + "hashPath": "system.text.encoding.codepages.6.0.0.nupkg.sha512" + }, + "System.Text.Encoding.Extensions/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jtbiTDtvfLYgXn8PTfWI+SiBs51rrmO4AAckx4KR6vFK9Wzf6tI8kcRdsYQNwriUeQ1+CtQbM1W4cMbLXnj/OQ==", + "path": "system.text.encoding.extensions/4.0.11", + "hashPath": "system.text.encoding.extensions.4.0.11.nupkg.sha512" + }, + "System.Text.Encodings.Web/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OP6umVGxc0Z0MvZQBVigj4/U31Pw72ITihDWP9WiWDm+q5aoe0GaJivsfYGq53o6dxH7DcXWiCTl7+0o2CGdmg==", + "path": "system.text.encodings.web/7.0.0", + "hashPath": "system.text.encodings.web.7.0.0.nupkg.sha512" + }, + "System.Text.Json/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DaGSsVqKsn/ia6RG8frjwmJonfos0srquhw09TlT8KRw5I43E+4gs+/bZj4K0vShJ5H9imCuXupb4RmS+dBy3w==", + "path": "system.text.json/7.0.0", + "hashPath": "system.text.json.7.0.0.nupkg.sha512" + }, + "System.Text.RegularExpressions/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-i88YCXpRTjCnoSQZtdlHkAOx4KNNik4hMy83n0+Ftlb7jvV6ZiZWMpnEZHhjBp6hQVh8gWd/iKNPzlPF7iyA2g==", + "path": "system.text.regularexpressions/4.1.0", + "hashPath": "system.text.regularexpressions.4.1.0.nupkg.sha512" + }, + "System.Threading/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "path": "system.threading/4.3.0", + "hashPath": "system.threading.4.3.0.nupkg.sha512" + }, + "System.Threading.Channels/4.7.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6akRtHK/wab3246t4p5v3HQrtQk8LboOt5T4dtpNgsp3zvDeM4/Gx8V12t0h+c/W9/enUrilk8n6EQqdQorZAA==", + "path": "system.threading.channels/4.7.1", + "hashPath": "system.threading.channels.4.7.1.nupkg.sha512" + }, + "System.Threading.Overlapped/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-m3HQ2dPiX/DSTpf+yJt8B0c+SRvzfqAJKx+QDWi+VLhz8svLT23MVjEOHPF/KiSLeArKU/iHescrbLd3yVgyNg==", + "path": "system.threading.overlapped/4.3.0", + "hashPath": "system.threading.overlapped.4.3.0.nupkg.sha512" + }, + "System.Threading.Tasks/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "path": "system.threading.tasks/4.3.0", + "hashPath": "system.threading.tasks.4.3.0.nupkg.sha512" + }, + "System.Threading.Tasks.Extensions/4.5.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", + "path": "system.threading.tasks.extensions/4.5.4", + "hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512" + }, + "System.Threading.Thread/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", + "path": "system.threading.thread/4.3.0", + "hashPath": "system.threading.thread.4.3.0.nupkg.sha512" + }, + "System.Threading.ThreadPool/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", + "path": "system.threading.threadpool/4.3.0", + "hashPath": "system.threading.threadpool.4.3.0.nupkg.sha512" + }, + "System.Threading.Timer/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-saGfUV8uqVW6LeURiqxcGhZ24PzuRNaUBtbhVeuUAvky1naH395A/1nY0P2bWvrw/BreRtIB/EzTDkGBpqCwEw==", + "path": "system.threading.timer/4.0.1", + "hashPath": "system.threading.timer.4.0.1.nupkg.sha512" + }, + "System.Windows.Extensions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-IXoJOXIqc39AIe+CIR7koBtRGMiCt/LPM3lI+PELtDIy9XdyeSrwXFdWV9dzJ2Awl0paLWUaknLxFQ5HpHZUog==", + "path": "system.windows.extensions/6.0.0", + "hashPath": "system.windows.extensions.6.0.0.nupkg.sha512" + }, + "System.Xml.ReaderWriter/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZIiLPsf67YZ9zgr31vzrFaYQqxRPX9cVHjtPSnmx4eN6lbS/yEyYNr2vs1doGDEscF0tjCZFsk9yUg1sC9e8tg==", + "path": "system.xml.readerwriter/4.0.11", + "hashPath": "system.xml.readerwriter.4.0.11.nupkg.sha512" + }, + "System.Xml.XDocument/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Mk2mKmPi0nWaoiYeotq1dgeNK1fqWh61+EK+w4Wu8SWuTYLzpUnschb59bJtGywaPq7SmTuPf44wrXRwbIrukg==", + "path": "system.xml.xdocument/4.0.11", + "hashPath": "system.xml.xdocument.4.0.11.nupkg.sha512" + }, + "Corax/5.4.101": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "RavenDB.Client/5.4.101": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Sparrow/5.4.101": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Sparrow.Server/5.4.101": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Voron/5.4.101": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.dll new file mode 100644 index 000000000..3ab665faf Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.runtimeconfig.json b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.runtimeconfig.json new file mode 100644 index 000000000..3028b214c --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Server.runtimeconfig.json @@ -0,0 +1,21 @@ +{ + "runtimeOptions": { + "tfm": "net7.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "7.0.2" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "7.0.2" + } + ], + "configProperties": { + "System.GC.Concurrent": true, + "System.GC.Server": true, + "System.GC.RetainVM": true, + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false + } + } +} \ No newline at end of file diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Studio.zip b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Studio.zip new file mode 100644 index 000000000..2b7ed4710 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Raven.Studio.zip differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/SharpSnmpLib.Engine.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/SharpSnmpLib.Engine.dll new file mode 100644 index 000000000..ee4481bed Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/SharpSnmpLib.Engine.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/SharpSnmpLib.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/SharpSnmpLib.dll new file mode 100644 index 000000000..241dd833f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/SharpSnmpLib.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Sparrow.Server.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Sparrow.Server.dll new file mode 100644 index 000000000..517a755de Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Sparrow.Server.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Sparrow.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Sparrow.dll new file mode 100644 index 000000000..0f78d1981 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Sparrow.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Spatial4n.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Spatial4n.dll new file mode 100644 index 000000000..17271a049 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Spatial4n.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.ComponentModel.Composition.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.ComponentModel.Composition.dll new file mode 100644 index 000000000..209b06f18 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.ComponentModel.Composition.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.AttributedModel.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.AttributedModel.dll new file mode 100644 index 000000000..d37283b16 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.AttributedModel.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Convention.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Convention.dll new file mode 100644 index 000000000..b6fa4ab0b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Convention.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Hosting.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Hosting.dll new file mode 100644 index 000000000..c67f1c02f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Hosting.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Runtime.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Runtime.dll new file mode 100644 index 000000000..2a4b38c9c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.Runtime.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.TypedParts.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.TypedParts.dll new file mode 100644 index 000000000..7c0c780d6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Composition.TypedParts.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Configuration.ConfigurationManager.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Configuration.ConfigurationManager.dll new file mode 100644 index 000000000..d67c8a8a4 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Configuration.ConfigurationManager.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Data.SqlClient.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Data.SqlClient.dll new file mode 100644 index 000000000..596000008 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Data.SqlClient.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Diagnostics.PerformanceCounter.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Diagnostics.PerformanceCounter.dll new file mode 100644 index 000000000..e9092d7fa Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Diagnostics.PerformanceCounter.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.DirectoryServices.Protocols.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.DirectoryServices.Protocols.dll new file mode 100644 index 000000000..48f7d74a3 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.DirectoryServices.Protocols.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.DirectoryServices.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.DirectoryServices.dll new file mode 100644 index 000000000..65d58a114 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.DirectoryServices.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Drawing.Common.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Drawing.Common.dll new file mode 100644 index 000000000..be6915e54 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Drawing.Common.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.IO.Hashing.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.IO.Hashing.dll new file mode 100644 index 000000000..911ef9b31 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.IO.Hashing.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Linq.Async.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Linq.Async.dll new file mode 100644 index 000000000..7ae9527ee Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Linq.Async.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Memory.Data.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Memory.Data.dll new file mode 100644 index 000000000..6f2a3e0ad Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Memory.Data.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Security.Cryptography.ProtectedData.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 000000000..93e0dd020 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Security.Cryptography.ProtectedData.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Security.Permissions.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Security.Permissions.dll new file mode 100644 index 000000000..39dd4df91 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Security.Permissions.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Windows.Extensions.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Windows.Extensions.dll new file mode 100644 index 000000000..c3e8844fa Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/System.Windows.Extensions.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Voron.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Voron.dll new file mode 100644 index 000000000..89be0d2b7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/Voron.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ZstdNet.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ZstdNet.dll new file mode 100644 index 000000000..bc6078816 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ZstdNet.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..6e642b56f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..160cb796d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..1c4018b71 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..1662edf32 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/cs/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..7d8f563ea Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..d647fbf23 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..d2b2ebe74 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..41818f409 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/de/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..d91150f3f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..2b1d73e93 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..472b0bb53 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..66145cb59 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/es/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..cc8b864ec Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..a98d0ecbf Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..474cc079c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..e6c12b598 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/fr/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..23f646372 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..dd024d901 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..798de46f7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..a3540256a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/it/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..70682dbde Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..0a8ac29ac Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..d02270ae5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..8ee12730b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ja/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..510165489 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..15249dd12 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..32b471df4 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..7881c82c0 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ko/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libcrypto-1_1-x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libcrypto-1_1-x64.dll new file mode 100644 index 000000000..f14a0dd13 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libcrypto-1_1-x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libcurl.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libcurl.dll new file mode 100644 index 000000000..74e963b37 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libcurl.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/librdkafka.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/librdkafka.dll new file mode 100644 index 000000000..0678b67c5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/librdkafka.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/librdkafkacpp.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/librdkafkacpp.dll new file mode 100644 index 000000000..d7bff2652 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/librdkafkacpp.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libssl-1_1-x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libssl-1_1-x64.dll new file mode 100644 index 000000000..6dd633f0b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/libssl-1_1-x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/msvcp140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/msvcp140.dll new file mode 100644 index 000000000..aace6c2c8 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/msvcp140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/vcruntime140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/vcruntime140.dll new file mode 100644 index 000000000..dfc38b36e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/vcruntime140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/zlib1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/zlib1.dll new file mode 100644 index 000000000..27d6a956e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/zlib1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/zstd.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/zstd.dll new file mode 100644 index 000000000..45ee5d7e0 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x64/zstd.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libcrypto-1_1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libcrypto-1_1.dll new file mode 100644 index 000000000..27a793b91 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libcrypto-1_1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libcurl.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libcurl.dll new file mode 100644 index 000000000..ddba9ef74 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libcurl.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/librdkafka.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/librdkafka.dll new file mode 100644 index 000000000..c910a4324 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/librdkafka.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/librdkafkacpp.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/librdkafkacpp.dll new file mode 100644 index 000000000..8bad4d964 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/librdkafkacpp.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libssl-1_1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libssl-1_1.dll new file mode 100644 index 000000000..e87125610 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/libssl-1_1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/msvcp140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/msvcp140.dll new file mode 100644 index 000000000..5baaab200 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/msvcp140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/vcruntime140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/vcruntime140.dll new file mode 100644 index 000000000..c10229c78 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/vcruntime140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/zlib1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/zlib1.dll new file mode 100644 index 000000000..2cd7e6c02 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/zlib1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/zstd.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/zstd.dll new file mode 100644 index 000000000..0c489fe7b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librdkafka/x86/zstd.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.arm.32.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.arm.32.so new file mode 100644 index 000000000..183767f46 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.arm.32.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.arm.64.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.arm.64.so new file mode 100644 index 000000000..aa31def4a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.arm.64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.linux.x64.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.linux.x64.so new file mode 100644 index 000000000..4ae2327ee Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.linux.x64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.mac.arm64.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.mac.arm64.dylib new file mode 100644 index 000000000..73236b7d1 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.mac.arm64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.mac.x64.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.mac.x64.dylib new file mode 100644 index 000000000..0626fb539 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.mac.x64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win.x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win.x64.dll new file mode 100644 index 000000000..6583c4ac5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win.x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win.x86.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win.x86.dll new file mode 100644 index 000000000..15a76d3fe Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win.x86.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win7.x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win7.x64.dll new file mode 100644 index 000000000..c75a560a7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win7.x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win7.x86.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win7.x86.dll new file mode 100644 index 000000000..950515850 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/librvnpal.win7.x86.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.arm.32.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.arm.32.so new file mode 100644 index 000000000..00d090b89 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.arm.32.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.arm.64.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.arm.64.so new file mode 100644 index 000000000..3c0540679 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.arm.64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.linux.x64.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.linux.x64.so new file mode 100644 index 000000000..735f961bc Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.linux.x64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.mac.arm64.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.mac.arm64.dylib new file mode 100644 index 000000000..a0f3166ce Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.mac.arm64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.mac.x64.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.mac.x64.dylib new file mode 100644 index 000000000..069f2a350 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.mac.x64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.win.x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.win.x64.dll new file mode 100644 index 000000000..24d9e35ac Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.win.x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.win.x86.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.win.x86.dll new file mode 100644 index 000000000..b22dfeb1f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libsodium.win.x86.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.arm.32.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.arm.32.so new file mode 100644 index 000000000..2fa69b2f6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.arm.32.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.arm.64.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.arm.64.so new file mode 100644 index 000000000..6d316f2e2 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.arm.64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.linux.x64.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.linux.x64.so new file mode 100644 index 000000000..f65e9dc17 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.linux.x64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.mac.arm64.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.mac.arm64.dylib new file mode 100644 index 000000000..176a8c979 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.mac.arm64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.mac.x64.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.mac.x64.dylib new file mode 100644 index 000000000..048692298 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.mac.x64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.win.x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.win.x64.dll new file mode 100644 index 000000000..75045c593 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.win.x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.win.x86.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.win.x86.dll new file mode 100644 index 000000000..5353e2cb9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/libzstd.win.x86.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..ab1f415fa Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..f6565e0c1 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..d1b15d93d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..03b64a3c4 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pl/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..d6ffabe1d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..b179fd5a8 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..44a8a4a20 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..186108a4e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/pt-BR/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..ca6f13ad5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..4b1c65a25 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..ff641b165 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..55cd313e9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/ru/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..cdf94be9c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm/native/libMonoPosixHelper.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm/native/libMonoPosixHelper.so new file mode 100644 index 000000000..3e38f111f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm/native/libMonoPosixHelper.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..31b7e6410 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/native/libMonoPosixHelper.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/native/libMonoPosixHelper.so new file mode 100644 index 000000000..2c566f60a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/native/libMonoPosixHelper.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/native/librdkafka.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/native/librdkafka.so new file mode 100644 index 000000000..cfbf1ad2d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-arm64/native/librdkafka.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-armel/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-armel/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..9141d6f64 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-armel/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-armel/native/libMonoPosixHelper.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-armel/native/libMonoPosixHelper.so new file mode 100644 index 000000000..466b45499 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-armel/native/libMonoPosixHelper.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..5cae3cc6e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/alpine-librdkafka.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/alpine-librdkafka.so new file mode 100644 index 000000000..19892a8d0 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/alpine-librdkafka.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/centos6-librdkafka.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/centos6-librdkafka.so new file mode 100644 index 000000000..d1639afe2 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/centos6-librdkafka.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/centos7-librdkafka.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/centos7-librdkafka.so new file mode 100644 index 000000000..5a1a69f73 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/centos7-librdkafka.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/libMonoPosixHelper.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/libMonoPosixHelper.so new file mode 100644 index 000000000..be2459c01 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/libMonoPosixHelper.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/librdkafka.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/librdkafka.so new file mode 100644 index 000000000..fc42aff31 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x64/native/librdkafka.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..9693ece82 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x86/native/libMonoPosixHelper.so b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x86/native/libMonoPosixHelper.so new file mode 100644 index 000000000..0a1df7d44 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux-x86/native/libMonoPosixHelper.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 000000000..35379e916 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/linux/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx-arm64/native/librdkafka.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx-arm64/native/librdkafka.dylib new file mode 100644 index 000000000..99f11b195 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx-arm64/native/librdkafka.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx-x64/native/librdkafka.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx-x64/native/librdkafka.dylib new file mode 100644 index 000000000..8ebd6be2d Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx-x64/native/librdkafka.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 000000000..53c0a0e7b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..49825db74 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/native/libMonoPosixHelper.dylib b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/native/libMonoPosixHelper.dylib new file mode 100644 index 000000000..3ceaaf59c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/osx/native/libMonoPosixHelper.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/unix/lib/net6.0/System.Drawing.Common.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/unix/lib/net6.0/System.Drawing.Common.dll new file mode 100644 index 000000000..9e26473d1 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/unix/lib/net6.0/System.Drawing.Common.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll new file mode 100644 index 000000000..bd51de0f2 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-arm64/native/sni.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-arm64/native/sni.dll new file mode 100644 index 000000000..7b8f9d86c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-arm64/native/sni.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..0dabbba85 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/MonoPosixHelper.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/MonoPosixHelper.dll new file mode 100644 index 000000000..99cc062e6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/MonoPosixHelper.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libMonoPosixHelper.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libMonoPosixHelper.dll new file mode 100644 index 000000000..31177cf5e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libMonoPosixHelper.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libcrypto-1_1-x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libcrypto-1_1-x64.dll new file mode 100644 index 000000000..f14a0dd13 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libcrypto-1_1-x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libcurl.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libcurl.dll new file mode 100644 index 000000000..74e963b37 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libcurl.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/librdkafka.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/librdkafka.dll new file mode 100644 index 000000000..0678b67c5 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/librdkafka.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/librdkafkacpp.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/librdkafkacpp.dll new file mode 100644 index 000000000..d7bff2652 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/librdkafkacpp.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libssl-1_1-x64.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libssl-1_1-x64.dll new file mode 100644 index 000000000..6dd633f0b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/libssl-1_1-x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/msvcp140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/msvcp140.dll new file mode 100644 index 000000000..aace6c2c8 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/msvcp140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/sni.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/sni.dll new file mode 100644 index 000000000..c1a05a5bc Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/sni.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/vcruntime140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/vcruntime140.dll new file mode 100644 index 000000000..dfc38b36e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/vcruntime140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/zlib1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/zlib1.dll new file mode 100644 index 000000000..27d6a956e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/zlib1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/zstd.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/zstd.dll new file mode 100644 index 000000000..45ee5d7e0 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x64/native/zstd.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll new file mode 100644 index 000000000..fb13dba7e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/lib/netstandard2.0/Mono.Posix.NETStandard.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/MonoPosixHelper.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/MonoPosixHelper.dll new file mode 100644 index 000000000..a3c470f9c Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/MonoPosixHelper.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libMonoPosixHelper.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libMonoPosixHelper.dll new file mode 100644 index 000000000..1b361c092 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libMonoPosixHelper.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libcrypto-1_1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libcrypto-1_1.dll new file mode 100644 index 000000000..27a793b91 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libcrypto-1_1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libcurl.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libcurl.dll new file mode 100644 index 000000000..ddba9ef74 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libcurl.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/librdkafka.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/librdkafka.dll new file mode 100644 index 000000000..c910a4324 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/librdkafka.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/librdkafkacpp.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/librdkafkacpp.dll new file mode 100644 index 000000000..8bad4d964 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/librdkafkacpp.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libssl-1_1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libssl-1_1.dll new file mode 100644 index 000000000..e87125610 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/libssl-1_1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/msvcp140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/msvcp140.dll new file mode 100644 index 000000000..5baaab200 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/msvcp140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/sni.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/sni.dll new file mode 100644 index 000000000..5fc21acbf Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/sni.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/vcruntime140.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/vcruntime140.dll new file mode 100644 index 000000000..c10229c78 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/vcruntime140.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/zlib1.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/zlib1.dll new file mode 100644 index 000000000..2cd7e6c02 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/zlib1.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/zstd.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/zstd.dll new file mode 100644 index 000000000..0c489fe7b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win-x86/native/zstd.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 000000000..66af19821 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Diagnostics.PerformanceCounter.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Diagnostics.PerformanceCounter.dll new file mode 100644 index 000000000..235a22f3f Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Diagnostics.PerformanceCounter.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Drawing.Common.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Drawing.Common.dll new file mode 100644 index 000000000..7c9e87b4e Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Drawing.Common.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Windows.Extensions.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Windows.Extensions.dll new file mode 100644 index 000000000..69f0d1b74 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net6.0/System.Windows.Extensions.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net7.0/System.Security.Cryptography.ProtectedData.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net7.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 000000000..a441e3859 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/net7.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 000000000..04e5f41f7 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.Protocols.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.dll new file mode 100644 index 000000000..e43577d59 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.0/System.DirectoryServices.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll new file mode 100644 index 000000000..63fcfeb91 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..b87068560 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..d3514a454 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..6110c607b Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..edfdcf4ce Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/tr/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..a0877d24a Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..1c4359b47 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..6eaa45c44 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..007dee6a4 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hans/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll new file mode 100644 index 000000000..8b76c0659 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll new file mode 100644 index 000000000..dfe812984 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll new file mode 100644 index 000000000..bf9204d26 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.resources.dll b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.resources.dll new file mode 100644 index 000000000..f5308ff29 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/RavenDBServer/zh-Hant/Microsoft.CodeAnalysis.resources.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Sparrow.dll b/build/src/docker/publish/apps/be/Gateway/Sparrow.dll new file mode 100644 index 000000000..c56c41ba9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Sparrow.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/System.IO.Hashing.dll b/build/src/docker/publish/apps/be/Gateway/System.IO.Hashing.dll new file mode 100644 index 000000000..5e50fecb8 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/System.IO.Hashing.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Web.Gateway.deps.json b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.deps.json new file mode 100644 index 000000000..5d9bcf6f8 --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.deps.json @@ -0,0 +1,410 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "Web.Gateway/1.0.0": { + "dependencies": { + "RavenDB.Embedded": "5.4.101", + "Yarp.ReverseProxy": "2.0.0" + }, + "runtime": { + "Web.Gateway.dll": {} + } + }, + "Lambda2Js.Signed/3.1.4": { + "runtime": { + "lib/netstandard2.0/Lambda2Js.Signed.dll": { + "assemblyVersion": "3.1.4.0", + "fileVersion": "3.1.4.0" + } + } + }, + "Microsoft.AspNetCore.JsonPatch/7.0.2": { + "dependencies": { + "Microsoft.CSharp": "4.7.0", + "Newtonsoft.Json": "13.0.2" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": { + "assemblyVersion": "7.0.2.0", + "fileVersion": "7.0.222.60606" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/7.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.0.22.51805" + } + } + }, + "Microsoft.CSharp/4.7.0": {}, + "Microsoft.NETCore.Platforms/1.1.0": {}, + "Microsoft.NETCore.Targets/1.1.0": {}, + "Newtonsoft.Json/13.0.2": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.2.27524" + } + } + }, + "Nito.AsyncEx.Coordination/5.1.2": { + "dependencies": { + "Nito.AsyncEx.Tasks": "5.1.2", + "Nito.Collections.Deque": "1.1.1" + }, + "runtime": { + "lib/netstandard2.0/Nito.AsyncEx.Coordination.dll": { + "assemblyVersion": "5.1.2.0", + "fileVersion": "5.1.2.0" + } + } + }, + "Nito.AsyncEx.Tasks/5.1.2": { + "dependencies": { + "Nito.Disposables": "2.2.1" + }, + "runtime": { + "lib/netstandard2.0/Nito.AsyncEx.Tasks.dll": { + "assemblyVersion": "5.1.2.0", + "fileVersion": "5.1.2.0" + } + } + }, + "Nito.Collections.Deque/1.1.1": { + "runtime": { + "lib/netstandard2.0/Nito.Collections.Deque.dll": { + "assemblyVersion": "1.1.1.0", + "fileVersion": "1.1.1.0" + } + } + }, + "Nito.Disposables/2.2.1": { + "dependencies": { + "System.Collections.Immutable": "1.7.1" + }, + "runtime": { + "lib/netstandard2.1/Nito.Disposables.dll": { + "assemblyVersion": "2.2.1.0", + "fileVersion": "2.2.1.0" + } + } + }, + "RavenDB.Client/5.4.101": { + "dependencies": { + "Lambda2Js.Signed": "3.1.4", + "Microsoft.AspNetCore.JsonPatch": "7.0.2", + "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "Microsoft.CSharp": "4.7.0", + "Newtonsoft.Json": "13.0.2", + "Nito.AsyncEx.Coordination": "5.1.2" + }, + "runtime": { + "lib/net6.0/Raven.Client.dll": { + "assemblyVersion": "5.4.101.0", + "fileVersion": "5.4.101.54032" + }, + "lib/net6.0/Sparrow.dll": { + "assemblyVersion": "5.4.101.0", + "fileVersion": "5.4.101.54032" + } + }, + "runtimeTargets": { + "runtimes/linux-arm/native/libzstd.arm.32.so": { + "rid": "linux-arm", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-arm64/native/libzstd.arm.64.so": { + "rid": "linux-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/linux-x64/native/libzstd.linux.x64.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx-arm64/native/libzstd.mac.arm64.dylib": { + "rid": "osx-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx-x64/native/libzstd.mac.x64.dylib": { + "rid": "osx-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/libzstd.win.x64.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/libzstd.win.x86.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "RavenDB.Embedded/5.4.101": { + "dependencies": { + "RavenDB.Client": "5.4.101", + "System.Runtime.Loader": "4.3.0" + }, + "runtime": { + "lib/netstandard2.0/Raven.Embedded.dll": { + "assemblyVersion": "5.4.101.0", + "fileVersion": "5.4.101.54032" + } + } + }, + "System.Collections.Immutable/1.7.1": {}, + "System.IO/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.IO.Hashing/7.0.0": { + "runtime": { + "lib/net6.0/System.IO.Hashing.dll": { + "assemblyVersion": "7.0.0.0", + "fileVersion": "7.0.22.51805" + } + } + }, + "System.Reflection/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Reflection.Primitives/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Runtime/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Runtime.Loader/4.3.0": { + "dependencies": { + "System.IO": "4.3.0", + "System.Reflection": "4.3.0", + "System.Runtime": "4.3.0" + } + }, + "System.Text.Encoding/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "Yarp.ReverseProxy/2.0.0": { + "dependencies": { + "System.IO.Hashing": "7.0.0" + }, + "runtime": { + "lib/net6.0/Yarp.ReverseProxy.dll": { + "assemblyVersion": "2.0.0.0", + "fileVersion": "2.0.23.11306" + } + } + } + } + }, + "libraries": { + "Web.Gateway/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Lambda2Js.Signed/3.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Ryzu7T7ZzjQxTGxCSInAe0ZO3gbskW09qizdnrTUbZeNOyJzbdcQ39ylj4mJEYFeOUO1DQ1RqtBhQdiaMTSC6g==", + "path": "lambda2js.signed/3.1.4", + "hashPath": "lambda2js.signed.3.1.4.nupkg.sha512" + }, + "Microsoft.AspNetCore.JsonPatch/7.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qgYuyXUPD37cBcOlN3XydBXn1LpIYUp4ZimzLn70GhqFSKtyLWl4ym76CVv0AuzUaNT1ZePRLGUzVG2xTggyrw==", + "path": "microsoft.aspnetcore.jsonpatch/7.0.2", + "hashPath": "microsoft.aspnetcore.jsonpatch.7.0.2.nupkg.sha512" + }, + "Microsoft.Bcl.AsyncInterfaces/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3aeMZ1N0lJoSyzqiP03hqemtb1BijhsJADdobn/4nsMJ8V1H+CrpuduUe4hlRdx+ikBQju1VGjMD1GJ3Sk05Eg==", + "path": "microsoft.bcl.asyncinterfaces/7.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.7.0.0.nupkg.sha512" + }, + "Microsoft.CSharp/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==", + "path": "microsoft.csharp/4.7.0", + "hashPath": "microsoft.csharp.4.7.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "path": "microsoft.netcore.platforms/1.1.0", + "hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" + }, + "Microsoft.NETCore.Targets/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==", + "path": "microsoft.netcore.targets/1.1.0", + "hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==", + "path": "newtonsoft.json/13.0.2", + "hashPath": "newtonsoft.json.13.0.2.nupkg.sha512" + }, + "Nito.AsyncEx.Coordination/5.1.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QMyUfsaxov//0ZMbOHWr9hJaBFteZd66DV1ay4J5wRODDb8+K/uHC7+3VsOflo6SVw/29mu8OWZp8vMDSuzc0w==", + "path": "nito.asyncex.coordination/5.1.2", + "hashPath": "nito.asyncex.coordination.5.1.2.nupkg.sha512" + }, + "Nito.AsyncEx.Tasks/5.1.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jEkCfR2/M26OK/U4G7SEN063EU/F4LiVA06TtpZILMdX/quIHCg+wn31Zerl2LC+u1cyFancjTY3cNAr2/89PA==", + "path": "nito.asyncex.tasks/5.1.2", + "hashPath": "nito.asyncex.tasks.5.1.2.nupkg.sha512" + }, + "Nito.Collections.Deque/1.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CU0/Iuv5VDynK8I8pDLwkgF0rZhbQoZahtodfL0M3x2gFkpBRApKs8RyMyNlAi1mwExE4gsmqQXk4aFVvW9a4Q==", + "path": "nito.collections.deque/1.1.1", + "hashPath": "nito.collections.deque.1.1.1.nupkg.sha512" + }, + "Nito.Disposables/2.2.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6sZ5uynQeAE9dPWBQGKebNmxbY4xsvcc5VplB5WkYEESUS7oy4AwnFp0FhqxTSKm/PaFrFqLrYr696CYN8cugg==", + "path": "nito.disposables/2.2.1", + "hashPath": "nito.disposables.2.2.1.nupkg.sha512" + }, + "RavenDB.Client/5.4.101": { + "type": "package", + "serviceable": true, + "sha512": "sha512-TC4JxTTtt4JpVUjZK6zYwsos303CI2iUPWgr86CYOXfZonFMWbr+UyjSY+xJmA+2ySkjHGgX5QNyesnY0mPXQg==", + "path": "ravendb.client/5.4.101", + "hashPath": "ravendb.client.5.4.101.nupkg.sha512" + }, + "RavenDB.Embedded/5.4.101": { + "type": "package", + "serviceable": true, + "sha512": "sha512-d+XwTK9EQh6RU5hJFfBdRnM0rg+xzweLjUYGRmc8/8dmLfTOozWZ6GTqvRaupSiApFk6qMDYliGd6WL9xjGyoQ==", + "path": "ravendb.embedded/5.4.101", + "hashPath": "ravendb.embedded.5.4.101.nupkg.sha512" + }, + "System.Collections.Immutable/1.7.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B43Zsz5EfMwyEbnObwRxW5u85fzJma3lrDeGcSAV1qkhSRTNY5uXAByTn9h9ddNdhM+4/YoLc/CI43umjwIl9Q==", + "path": "system.collections.immutable/1.7.1", + "hashPath": "system.collections.immutable.1.7.1.nupkg.sha512" + }, + "System.IO/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "path": "system.io/4.3.0", + "hashPath": "system.io.4.3.0.nupkg.sha512" + }, + "System.IO.Hashing/7.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-sDnWM0N3AMCa86LrKTWeF3BZLD2sgWyYUc7HL6z4+xyDZNQRwzmxbo4qP2rX2MqC+Sy1/gOSRDah5ltxY5jPxw==", + "path": "system.io.hashing/7.0.0", + "hashPath": "system.io.hashing.7.0.0.nupkg.sha512" + }, + "System.Reflection/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "path": "system.reflection/4.3.0", + "hashPath": "system.reflection.4.3.0.nupkg.sha512" + }, + "System.Reflection.Primitives/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "path": "system.reflection.primitives/4.3.0", + "hashPath": "system.reflection.primitives.4.3.0.nupkg.sha512" + }, + "System.Runtime/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "path": "system.runtime/4.3.0", + "hashPath": "system.runtime.4.3.0.nupkg.sha512" + }, + "System.Runtime.Loader/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DHMaRn8D8YCK2GG2pw+UzNxn/OHVfaWx7OTLBD/hPegHZZgcZh3H6seWegrC4BYwsfuGrywIuT+MQs+rPqRLTQ==", + "path": "system.runtime.loader/4.3.0", + "hashPath": "system.runtime.loader.4.3.0.nupkg.sha512" + }, + "System.Text.Encoding/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "path": "system.text.encoding/4.3.0", + "hashPath": "system.text.encoding.4.3.0.nupkg.sha512" + }, + "System.Threading.Tasks/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "path": "system.threading.tasks/4.3.0", + "hashPath": "system.threading.tasks.4.3.0.nupkg.sha512" + }, + "Yarp.ReverseProxy/2.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9yMPNkJRPn/hHssKKf7eucF5o1f0nIrQ9QlSybR2RPdO4+Ws3aDd8qAg40YFZMbZKIIqtE3u4fCkXO8vNwm0yQ==", + "path": "yarp.reverseproxy/2.0.0", + "hashPath": "yarp.reverseproxy.2.0.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/build/src/docker/publish/apps/be/Gateway/Web.Gateway.dll b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.dll new file mode 100644 index 000000000..2085c05f9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/Web.Gateway.exe b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.exe new file mode 100644 index 000000000..80ab2dc71 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.exe differ diff --git a/build/src/docker/publish/apps/be/Gateway/Web.Gateway.pdb b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.pdb new file mode 100644 index 000000000..3130c5335 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.pdb differ diff --git a/build/src/docker/publish/apps/be/Gateway/Web.Gateway.runtimeconfig.json b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.runtimeconfig.json new file mode 100644 index 000000000..80d034712 --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/Web.Gateway.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "6.0.0" + } + ], + "configProperties": { + "System.GC.Server": true, + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/build/src/docker/publish/apps/be/Gateway/Yarp.ReverseProxy.dll b/build/src/docker/publish/apps/be/Gateway/Yarp.ReverseProxy.dll new file mode 100644 index 000000000..00dfc2a90 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/Yarp.ReverseProxy.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/appsettings.Development.json b/build/src/docker/publish/apps/be/Gateway/appsettings.Development.json new file mode 100644 index 000000000..ef941a063 --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/appsettings.Development.json @@ -0,0 +1,74 @@ +{ + "ReverseProxy": { + "Routes": { + "ids4": { + "ClusterId": "ids4", + "Match": { + "Path": "/api/connect/{**catch-all}" + }, + "Transforms": [ { "PathRemovePrefix": "/api" } ] + }, + "auth": { + "ClusterId": "auth", + "Match": { + "Path": "/api/auth/{**catch-all}" + } + }, + "core": { + "ClusterId": "core", + "Match": { + "Path": "/api/{regex((label|filestore|reporting|message))}/{**catch-all}" + } + }, + "basedata": { + "ClusterId": "basedata", + "Match": { + "Path": "/api/basedata/{**catch-all}" + } + }, + "wms": { + "ClusterId": "wms", + "Match": { + "Path": "/api/wms/{**catch-all}" + } + } + }, + "Clusters": { + "ids4": { + "Destinations": { + "dest": { + "Address": "http://sfs-auth-web:59093/" + } + } + }, + "auth": { + "Destinations": { + "dest": { + "Address": "http://sfs-auth-web:59093/" + } + } + }, + "core": { + "Destinations": { + "dest": { + "Address": "http://sfs-core-host:59092/" + } + } + }, + "basedata": { + "Destinations": { + "dest": { + "Address": "http://sfs-basedata-host:59094/" + } + } + }, + "wms": { + "Destinations": { + "dest": { + "Address": "http://sfs-wms-host:59095/" + } + } + } + } + } +} diff --git a/build/src/docker/publish/apps/be/Gateway/appsettings.json b/build/src/docker/publish/apps/be/Gateway/appsettings.json new file mode 100644 index 000000000..b8c2f34a4 --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/appsettings.json @@ -0,0 +1,74 @@ +{ + "ReverseProxy": { + "Routes": { + "ids4": { + "ClusterId": "ids4", + "Match": { + "Path": "/api/connect/{**catch-all}" + }, + "Transforms": [ { "PathRemovePrefix": "/api" } ] + }, + "auth": { + "ClusterId": "auth", + "Match": { + "Path": "/api/auth/{**catch-all}" + } + }, + "core": { + "ClusterId": "core", + "Match": { + "Path": "/api/{regex((label|filestore|reporting|message))}/{**catch-all}" + } + }, + "basedata": { + "ClusterId": "basedata", + "Match": { + "Path": "/api/basedata/{**catch-all}" + } + }, + "wms": { + "ClusterId": "wms", + "Match": { + "Path": "/api/wms/{**catch-all}" + } + } + }, + "Clusters": { + "ids4": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59093/" + } + } + }, + "auth": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59093/" + } + } + }, + "core": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59092/" + } + } + }, + "basedata": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59094/" + } + } + }, + "wms": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59095/" + } + } + } + } + } +} diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/linux-arm/native/libzstd.arm.32.so b/build/src/docker/publish/apps/be/Gateway/runtimes/linux-arm/native/libzstd.arm.32.so new file mode 100644 index 000000000..2fa69b2f6 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/linux-arm/native/libzstd.arm.32.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/linux-arm64/native/libzstd.arm.64.so b/build/src/docker/publish/apps/be/Gateway/runtimes/linux-arm64/native/libzstd.arm.64.so new file mode 100644 index 000000000..6d316f2e2 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/linux-arm64/native/libzstd.arm.64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/linux-x64/native/libzstd.linux.x64.so b/build/src/docker/publish/apps/be/Gateway/runtimes/linux-x64/native/libzstd.linux.x64.so new file mode 100644 index 000000000..f65e9dc17 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/linux-x64/native/libzstd.linux.x64.so differ diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/osx-arm64/native/libzstd.mac.arm64.dylib b/build/src/docker/publish/apps/be/Gateway/runtimes/osx-arm64/native/libzstd.mac.arm64.dylib new file mode 100644 index 000000000..176a8c979 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/osx-arm64/native/libzstd.mac.arm64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/osx-x64/native/libzstd.mac.x64.dylib b/build/src/docker/publish/apps/be/Gateway/runtimes/osx-x64/native/libzstd.mac.x64.dylib new file mode 100644 index 000000000..048692298 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/osx-x64/native/libzstd.mac.x64.dylib differ diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/win-x64/native/libzstd.win.x64.dll b/build/src/docker/publish/apps/be/Gateway/runtimes/win-x64/native/libzstd.win.x64.dll new file mode 100644 index 000000000..75045c593 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/win-x64/native/libzstd.win.x64.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/runtimes/win-x86/native/libzstd.win.x86.dll b/build/src/docker/publish/apps/be/Gateway/runtimes/win-x86/native/libzstd.win.x86.dll new file mode 100644 index 000000000..5353e2cb9 Binary files /dev/null and b/build/src/docker/publish/apps/be/Gateway/runtimes/win-x86/native/libzstd.win.x86.dll differ diff --git a/build/src/docker/publish/apps/be/Gateway/web.config b/build/src/docker/publish/apps/be/Gateway/web.config new file mode 100644 index 000000000..89199953b --- /dev/null +++ b/build/src/docker/publish/apps/be/Gateway/web.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/build/src/docker/publish/conf/gateway/Caddyfile b/build/src/docker/publish/conf/gateway/Caddyfile index 58bee536c..3d367af0b 100644 --- a/build/src/docker/publish/conf/gateway/Caddyfile +++ b/build/src/docker/publish/conf/gateway/Caddyfile @@ -8,7 +8,7 @@ reverse_proxy @sfs-core-host /api/* sfs-core-host:59092 @sfs-auth-web { - path_regexp ^/api/(abp|identity|base|multi-tenancy|permission-management)/* + path_regexp ^/api/(abp|identity|base|multi-tenancy|permission-management|token|connect)/* } reverse_proxy @sfs-auth-web /api/* sfs-auth-web:59093 diff --git a/build/src/docker/publish/conf/gateway/Caddyfile.dev b/build/src/docker/publish/conf/gateway/Caddyfile.dev index ca9bfc271..b3fd72ce1 100644 --- a/build/src/docker/publish/conf/gateway/Caddyfile.dev +++ b/build/src/docker/publish/conf/gateway/Caddyfile.dev @@ -8,7 +8,7 @@ reverse_proxy @sfs-core-host /api/* host.docker.internal:59092 @sfs-auth-web { - path_regexp ^/api/(abp|identity|base|multi-tenancy|permission-management)/* + path_regexp ^/api/(abp|identity|base|multi-tenancy|permission-management|token|connect)/* } reverse_proxy @sfs-auth-web /api/* host.docker.internal:59093 diff --git a/build/src/docker/publish/conf/gateway/appsettings.Development.json b/build/src/docker/publish/conf/gateway/appsettings.Development.json new file mode 100644 index 000000000..cc9146ebe --- /dev/null +++ b/build/src/docker/publish/conf/gateway/appsettings.Development.json @@ -0,0 +1,89 @@ +{ + "ReverseProxy": { + "Routes": { + "abp": { + "ClusterId": "abp", + "Match": { + "Path": "/api/auth/{regex((abp|identity|base|multi-tenancy|permission-management))}/{**catch-all}" + }, + "Transforms": [ + { + "PathRemovePrefix": "/api/auth" + } + ] + }, + "ids4": { + "ClusterId": "auth", + "Match": { + "Path": "/api/auth/connect/{**catch-all}" + }, + "Transforms": [ + { + "PathRemovePrefix": "/api/auth" + } + ] + }, + "auth": { + "ClusterId": "auth", + "Match": { + "Path": "/api/auth/{**catch-all}" + } + }, + "core": { + "ClusterId": "core", + "Match": { + "Path": "/api/{regex((label|filestore|reporting|message))}/{**catch-all}" + } + }, + "basedata": { + "ClusterId": "basedata", + "Match": { + "Path": "/api/basedata/{**catch-all}" + } + }, + "wms": { + "ClusterId": "wms", + "Match": { + "Path": "/api/wms/{**catch-all}" + } + } + }, + "Clusters": { + "abp": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59093/api/" + } + } + }, + "auth": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59093/" + } + } + }, + "core": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59092/" + } + } + }, + "basedata": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59094/" + } + } + }, + "wms": { + "Destinations": { + "dest": { + "Address": "http://host.docker.internal:59095/" + } + } + } + } + } +} \ No newline at end of file diff --git a/build/src/docker/publish/conf/gateway/appsettings.json b/build/src/docker/publish/conf/gateway/appsettings.json new file mode 100644 index 000000000..6a7fb2e61 --- /dev/null +++ b/build/src/docker/publish/conf/gateway/appsettings.json @@ -0,0 +1,89 @@ +{ + "ReverseProxy": { + "Routes": { + "abp": { + "ClusterId": "abp", + "Match": { + "Path": "/api/auth/{regex((abp|identity|base|multi-tenancy|permission-management))}/{**catch-all}" + }, + "Transforms": [ + { + "PathRemovePrefix": "/api/auth" + } + ] + }, + "ids4": { + "ClusterId": "auth", + "Match": { + "Path": "/api/auth/connect/{**catch-all}" + }, + "Transforms": [ + { + "PathRemovePrefix": "/api/auth" + } + ] + }, + "auth": { + "ClusterId": "auth", + "Match": { + "Path": "/api/auth/{**catch-all}" + } + }, + "core": { + "ClusterId": "core", + "Match": { + "Path": "/api/{regex((label|filestore|reporting|message))}/{**catch-all}" + } + }, + "basedata": { + "ClusterId": "basedata", + "Match": { + "Path": "/api/basedata/{**catch-all}" + } + }, + "wms": { + "ClusterId": "wms", + "Match": { + "Path": "/api/wms/{**catch-all}" + } + } + }, + "Clusters": { + "abp": { + "Destinations": { + "dest": { + "Address": "http://sfs-auth-web:59093/api/" + } + } + }, + "auth": { + "Destinations": { + "dest": { + "Address": "http://sfs-auth-web:59093/" + } + } + }, + "core": { + "Destinations": { + "dest": { + "Address": "http://sfs-core-host:59092/" + } + } + }, + "basedata": { + "Destinations": { + "dest": { + "Address": "http://sfs-basedata-host:59094/" + } + } + }, + "wms": { + "Destinations": { + "dest": { + "Address": "http://sfs-wms-host:59095/" + } + } + } + } + } +} \ No newline at end of file diff --git a/build/src/docker/publish/conf/gateway/traefik-config.development.yml b/build/src/docker/publish/conf/gateway/traefik-config.development.yml index a8d13a55e..a13e128b6 100644 --- a/build/src/docker/publish/conf/gateway/traefik-config.development.yml +++ b/build/src/docker/publish/conf/gateway/traefik-config.development.yml @@ -4,7 +4,7 @@ http: rule: "PathPrefix(`/api/{service:(label|filestore|reporting|message)}/`)" service: sfs-core-host sfs-auth-web: - rule: "PathPrefix(`/api/{service:(abp|identity|base|multi-tenancy|permission-management)}/`)" + rule: "PathPrefix(`/api/auth/{service:(abp|identity|base|multi-tenancy|permission-management)}/`)" service: sfs-auth-web sfs-basedata-host: rule: "PathPrefix(`/api/basedata/`)" diff --git a/build/src/docker/publish/docker-compose.development.yml b/build/src/docker/publish/docker-compose.development.yml index 532957434..4b30f0185 100644 --- a/build/src/docker/publish/docker-compose.development.yml +++ b/build/src/docker/publish/docker-compose.development.yml @@ -1,34 +1,57 @@ version: "3.8" services: - sqlserver: - image: mcr.microsoft.com/mssql/server:${SQLSERVER_VERSION} - environment: - - ACCEPT_EULA=Y - - MSSQL_SA_PASSWORD=aA123456! - ports: - - ${SQLSERVER_PORT}:1433 - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro - - ./data/sqlserver:/var/opt/mssql/data - - ./logs/sqlserver:/var/opt/mssql/log - postgres: - image: postgres:15.2 - environment: - - POSTGRES_USER=root - - POSTGRES_PASSWORD=aA123456! - ports: - - ${POSTGRES_PORT}:5432 - volumes: - - ./data/postgres:/var/lib/postgresql/data + # database: + # container_name: mysql-101 + # image: mysql:${MYSQL_VERSION} + # restart: always + # environment: + # - TZ=Asia/Shanghai + # - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} + # ports: + # - ${MYSQL_PORT1}:3306 + # volumes: + # - /etc/localtime:/etc/localtime:ro + # - ./data/mysql/mysql-101:/var/lib/mysql + # - ./conf/mysql/mysql-101/my.cnf:/etc/mysql/conf.d/my.cnf + # - ./conf/mysql/mysql-101/initdb.d:/docker-entrypoint-initdb.d + # command: bash -c "chmod 644 /etc/mysql/conf.d/my.cnf && docker-entrypoint.sh --default-authentication-plugin=mysql_native_password" + # healthcheck: + # test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ] + # interval: 10s + # timeout: 10s + # retries: 10 + # phpmyadmin: + # image: phpmyadmin:${PHPMYADMIN_VERSION} + # restart: always + # environment: + # - PMA_ARBITRARY=1 + # ports: + # - ${PHPMYADMIN_PORT}:80 + # depends_on: + # - database + # postgres: + # image: postgres:${POSTGRES_VERSION} + # environment: + # - POSTGRES_USER=root + # - POSTGRES_PASSWORD=aA123456! + # ports: + # - ${POSTGRES_PORT}:5432 + # volumes: + # - ./data/postgres:/var/lib/postgresql/data + # gateway: + # volumes: + # - ./conf/gateway/traefik-config.development.yml:/etc/traefik/config/traefik-config.yml + # #- ./conf/gateway/Caddyfile.dev:/etc/caddy/Caddyfile + # # nacos: + # # volumes: + # # - ./settings:/home/nacos/settings + # gateway: + # volumes: + # - ./conf/gateway/Caddyfile.dev:/etc/caddy/Caddyfile gateway: volumes: - - ./conf/gateway/traefik-config.development.yml:/etc/traefik/config/traefik-config.yml - #- ./conf/gateway/Caddyfile.dev:/etc/caddy/Caddyfile - # nacos: - # volumes: - # - ./settings:/home/nacos/settings + - ./conf/gateway/appsettings.Development.json:/app/appsettings.json fe-pc: image: node:16.19.1 privileged: true diff --git a/build/src/docker/publish/docker-compose.production.yml b/build/src/docker/publish/docker-compose.production.yml index babafaac9..b20b992d8 100644 --- a/build/src/docker/publish/docker-compose.production.yml +++ b/build/src/docker/publish/docker-compose.production.yml @@ -1,21 +1,6 @@ version: "3.8" services: - sfs-core-host: - image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} - restart: always - environment: - - ASPNETCORE_URLS=http://0.0.0.0:59092 - ports: - - ${SFS_CORE_PORT}:59092 - volumes: - - /etc/localtime:/etc/localtime:ro - - ./apps/be/Sfs.Core.Host:/app - working_dir: /app - command: bash -c "dotnet Win_in.Sfs.Core.HttpApi.Host.dll" - depends_on: - - redis - - config sfs-auth-web: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always @@ -29,9 +14,9 @@ services: working_dir: /app command: bash -c "dotnet Win_in.Sfs.Auth.Web.dll" depends_on: + - database - redis - - config - - sfs-core-host + - gateway sfs-basedata-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always @@ -45,9 +30,27 @@ services: working_dir: /app command: bash -c "dotnet Win_in.Sfs.Basedata.HttpApi.Host.dll" depends_on: + - database - redis - - config + - gateway - sfs-auth-web + sfs-core-host: + image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} + restart: always + environment: + - ASPNETCORE_URLS=http://0.0.0.0:59092 + ports: + - ${SFS_CORE_PORT}:59092 + volumes: + - /etc/localtime:/etc/localtime:ro + - ./apps/be/Sfs.Core.Host:/app + working_dir: /app + command: bash -c "dotnet Win_in.Sfs.Core.HttpApi.Host.dll" + depends_on: + - database + - redis + - gateway + - sfs-basedata-host sfs-wms-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always @@ -61,9 +64,10 @@ services: working_dir: /app command: bash -c "dotnet Win_in.Sfs.Wms.Store.HttpApi.Host.dll" depends_on: + - database - redis - - config - - sfs-basedata-host + - gateway + - sfs-core-host sfs-pda-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always @@ -77,8 +81,9 @@ services: working_dir: /app command: bash -c "dotnet Win_in.Sfs.Wms.Pda.Host.dll" depends_on: + - database - redis - - config + - gateway - sfs-wms-host sfs-dashboard-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} @@ -93,7 +98,8 @@ services: working_dir: /app command: bash -c "dotnet Win_in.Sfs.Wms.Dashboard.Host.dll" depends_on: + - database - redis - - config + - gateway - sfs-wms-host diff --git a/build/src/docker/publish/docker-compose.yml b/build/src/docker/publish/docker-compose.yml index 17057f6c7..a747ec9a9 100644 --- a/build/src/docker/publish/docker-compose.yml +++ b/build/src/docker/publish/docker-compose.yml @@ -22,42 +22,45 @@ services: volumes: - /etc/localtime:/etc/localtime:ro - ./data/seq/data:/data - config: - image: kklldog/agile_config:mysqlconnector - restart: always - environment: - - urls=http://*:8848 - - adminConsole=true - - db__provider=mysql - - db__conn=Server=mysql-101;Port=3306;Database=configcenter;Uid=root;Pwd=aA123456! - ports: - - ${CONFIG_PORT}:8848 - volumes: - - /etc/localtime:/etc/localtime - - ./conf/agile/appsettings.Production.json:/app/appsetting.Production.json - - ./data/agile:/app/data - depends_on: - - mysql-101 + # config: + # image: kklldog/agile_config:mysqlconnector + # restart: always + # environment: + # - urls=http://*:8848 + # - adminConsole=true + # - db__provider=sqlite + # - db__conn="Server=Data Source=config.db" + # ports: + # - ${CONFIG_PORT}:8848 + # volumes: + # - /etc/localtime:/etc/localtime + # - ./conf/agile/appsettings.Production.json:/app/appsetting.Production.json + # - ./data/agile:/app/data + # gateway: + # image: traefik:${TRAEFIK_VERSION} + # restart: always + # ports: + # - ${GATEWAY_PORT}:80 + # - 8280:8080 + # volumes: + # - /etc/localtime:/etc/localtime:ro + # - ./conf/gateway/traefik.yml:/etc/traefik/traefik.yml + # - ./conf/gateway/traefik-config.yml:/etc/traefik/config/traefik-config.yml gateway: - image: traefik:${TRAEFIK_VERSION} - restart: always + image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} + environment: + - ASPNETCORE_URLS=http://0.0.0.0:80 ports: - ${GATEWAY_PORT}:80 - - 8280:8080 + working_dir: /app volumes: - /etc/localtime:/etc/localtime:ro - - ./conf/gateway/traefik.yml:/etc/traefik/traefik.yml - - ./conf/gateway/traefik-config.yml:/etc/traefik/config/traefik-config.yml - # gateway: - # image: caddy:${CADDY_VERSION} - # ports: - # - 59099:80 - # volumes: - # - /etc/localtime:/etc/localtime:ro - # - ./settings:/usr/share/caddy/settings - # - ./conf/gateway/Caddyfile:/etc/caddy/Caddyfile - # - ./data/caddy:/data - # restart: always + - ./apps/be/Gateway:/app + - ./conf/gateway/appsettings.json:/app/appsettings.json + - ./settings:/app/wwwroot + - ./data/RavenDB:/app/RavenDB + command: bash -c "dotnet Web.Gateway.dll" + restart: always nginx: image: nginx:${NGINX_VERSION} restart: always @@ -78,32 +81,23 @@ services: volumes: - /etc/localtime:/etc/localtime:ro - ./data/redis:/data - mysql-101: - container_name: mysql-101 - image: mysql:${MYSQL_VERSION} - restart: always + database: + image: mcr.microsoft.com/mssql/server:${SQLSERVER_VERSION} environment: - - TZ=Asia/Shanghai - - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} + - ACCEPT_EULA=Y + - MSSQL_SA_PASSWORD=${MSSQL_SA_PASSWORD} ports: - - ${MYSQL_PORT1}:3306 + - ${SQLSERVER_PORT}:1433 volumes: - /etc/localtime:/etc/localtime:ro - - ./data/mysql/mysql-101:/var/lib/mysql - - ./conf/mysql/mysql-101/my.cnf:/etc/mysql/conf.d/my.cnf - - ./conf/mysql/mysql-101/initdb.d:/docker-entrypoint-initdb.d - command: bash -c "chmod 644 /etc/mysql/conf.d/my.cnf && docker-entrypoint.sh --default-authentication-plugin=mysql_native_password" + - ./data/sqlserver:/var/opt/mssql/data + - ./logs/sqlserver:/var/opt/mssql/log healthcheck: - test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ] + test: + [ + "CMD", + "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P ${MSSQL_SA_PASSWORD} -Q 'select 0'||exit 1" + ] interval: 10s timeout: 10s retries: 10 - phpmyadmin: - image: phpmyadmin:${PHPMYADMIN_VERSION} - restart: always - environment: - - PMA_ARBITRARY=1 - ports: - - ${PHPMYADMIN_PORT}:80 - depends_on: - - mysql-101 diff --git a/build/src/docker/publish/settings/appsettings.Development.json b/build/src/docker/publish/settings/appsettings.Development.json index 4c7d31e10..5f8979a00 100644 --- a/build/src/docker/publish/settings/appsettings.Development.json +++ b/build/src/docker/publish/settings/appsettings.Development.json @@ -1,5 +1,5 @@ { - "AlwaysAllowAuthorization": "True", + "AlwaysAllowAuthorization": "False", "App": { "CorsOrigins": [ "http://localhost:59080", @@ -53,51 +53,51 @@ "SwaggerClientSecret": "1q2w3e*", "UseAuth": "true" }, - "ConnectionStrings": { - "AbpAuditLogging": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpBackgroundJobs": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpBlobStoring": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpFeatureManagement": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpIdentity": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpIdentityServer": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpPermissionManagement": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpSettingManagement": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpTenantManagement": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Auth": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Basedata": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "DataExchange": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "FileStorage": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Inventory": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Job": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Label": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Message": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;", - "Store": "Server=localhost;Port=21196;Database=Wms;Uid=root;Pwd=aA123456!;" - }, // "ConnectionStrings": { - // "AbpAuditLogging": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpBackgroundJobs": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpBlobStoring": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpFeatureManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpIdentity": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpIdentityServer": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpPermissionManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpSettingManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "AbpTenantManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Auth": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Basedata": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "DataExchange": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "FileStorage": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Inventory": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Job": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Label": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Message": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;", - // "Store": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=600;" + // "AbpAuditLogging": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpBackgroundJobs": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpBlobStoring": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpFeatureManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpIdentity": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpIdentityServer": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpPermissionManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpSettingManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "AbpTenantManagement": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Auth": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Basedata": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "DataExchange": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "FileStorage": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Inventory": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Job": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Label": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Message": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + // "Store": "Server=localhost,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;" // }, + "ConnectionStrings": { + "AbpAuditLogging": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpBackgroundJobs": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpBlobStoring": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpFeatureManagement": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpIdentity": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpIdentityServer": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpPermissionManagement": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpSettingManagement": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpTenantManagement": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Auth": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Basedata": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "DataExchange": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "FileStorage": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Inventory": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Job": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Label": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Message": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Store": "Server=dev.ccwin-in.com,21195;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;" + }, "IdentityClients": { "Default": { - "Authority": "http://dev.ccwin-in.com:59093", + "Authority": "http://localhost:59093", "ClientId": "Auth_App", - "ClientSecret": "1q2w3e*", + "ClientSecret": "1q2w3E*", "GrantType": "client_credentials", "RequireHttps": "false", "Scope": "Auth" diff --git a/build/src/docker/publish/settings/appsettings.json b/build/src/docker/publish/settings/appsettings.json index b4582aa74..6dd1cb14f 100644 --- a/build/src/docker/publish/settings/appsettings.json +++ b/build/src/docker/publish/settings/appsettings.json @@ -1,155 +1,154 @@ { - "Serilog": { - "MinimumLevel": { - "Default": "Information", - "Override": { - "Microsoft": "Warning", - "System": "Warning" - } - }, - "WriteTo": [ - { - "Name": "Async", - "Args": { - "configure": [ - { - "Name": "File", - "Args": { - "path": "logs/log.txt", - "rollingInterval": "Day", - "retainedFileCountLimit": "30" - } - } - ] - } - }, - { - "Name": "Seq", - "Args": { - "serverUrl": "http://seq:5341" - } - } - ] - }, + //是否绕过权限验证 + "AlwaysAllowAuthorization": "True", + //跨域 "App": { "CorsOrigins": [ - //--------HTTP-------DEV服务器 - "http://localhost:59080", //PC-界面 - "http://localhost:59081", //手持-界面 - "http://localhost:59090", //PC-界面 - "http://localhost:59091", //手持-界面 - "http://localhost:59093", //权限 - "http://localhost:59094", //基础数据-接口 - "http://localhost:59095", //WMS-接口 - "http://localhost:59096", //PDA-接口 - "http://localhost:59097", //数据转换 - "http://localhost:59098", //看板-接口 - "http://localhost:59099", //网关 - //--------HTTP-------本地服务器 - "http://localhost:59090", //PC-界面 - "http://localhost:59091", //手持-界面 - "http://localhost:59093", //权限 - "http://localhost:59094", //基础数据-接口 - "http://localhost:59095", //WMS-接口 - "http://localhost:59096", //PDA-接口 - "http://localhost:59097", //数据转换 - "http://localhost:59098", //看板-接口 - "http://localhost:59099", //网关 - //--------HTTPS-------DEV服务器 - "https://localhost:59090", //PC-界面 - "https://localhost:59091", //手持-界面 - "https://localhost:59093", //权限 - "https://localhost:59094", //基础数据-接口 - "https://localhost:59095", //WMS-接口 - "https://localhost:59096", //PDA-接口 - "https://localhost:59097", //数据转换 - "https://localhost:59098", //看板-接口 - "https://localhost:59099", //网关 - //--------HTTPS-------本地服务器 - "https://localhost:59090", //PC-界面 - "https://localhost:59091", //手持-界面 - "https://localhost:59093", //权限 - "https://localhost:59094", //基础数据-接口 - "https://localhost:59095", //WMS-接口 - "https://localhost:59096", //PDA-接口 - "https://localhost:59097", //数据转换 - "https://localhost:59098", //看板-接口 - "https://localhost:59099" //网关 + "http://localhost:59080", + "http://localhost:59081", + "http://localhost:59090", + "http://localhost:59091", + "http://localhost:59093", + "http://localhost:59094", + "http://localhost:59095", + "http://localhost:59096", + "http://localhost:59097", + "http://localhost:59098", + "http://localhost:59099", + "http://localhost:59090", + "http://localhost:59091", + "http://localhost:59093", + "http://localhost:59094", + "http://localhost:59095", + "http://localhost:59096", + "http://localhost:59097", + "http://localhost:59098", + "http://localhost:59099", + "https://localhost:59090", + "https://localhost:59091", + "https://localhost:59093", + "https://localhost:59094", + "https://localhost:59095", + "https://localhost:59096", + "https://localhost:59097", + "https://localhost:59098", + "https://localhost:59099", + "https://localhost:59090", + "https://localhost:59091", + "https://localhost:59093", + "https://localhost:59094", + "https://localhost:59095", + "https://localhost:59096", + "https://localhost:59097", + "https://localhost:59098", + "https://localhost:59099", + "http://localhost:9527" ] }, - "ConnectionStrings": { - "Auth": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpIdentity": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpIdentityServer": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpPermissionManagement": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpSettingManagement": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpTenantManagement": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpFeatureManagement": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpBackgroundJobs": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpAuditLogging": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "AbpBlobStoring": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "Store": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "Job": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "Basedata": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "Inventory": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "Message": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "Label": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "FileStorage": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;", - "DataExchange": "Server=mysql-101;Port=3306;Database=Wms;Uid=root;Pwd=aA123456!;" - }, - "Redis": { - "Configuration": "redis:6379", - "KeyPrefix": "Wms:" - }, + //ids4的建权服务端配置 "AuthServer": { - "UseAuth": "true", - "Authority": "http://dev.ccwin-in.com:59093/", + "Audience": "Auth", + "Authority": "http://localhost:21093/", + "ClientId": "Auth_App", + "ClientSecret": "1q2w3E*", "RequireHttpsMetadata": "false", "SwaggerClientId": "Auth_App", "SwaggerClientSecret": "1q2w3e*", - "Audience": "Auth", - "ClientId": "Auth_App", - "ClientSecret": "1q2w3e*" + "UseAuth": "true" }, + //ids4的建权客户端配置 配置要和服务端对应 "IdentityClients": { "Default": { - "GrantType": "client_credentials", + "Authority": "http://localhost:59093", "ClientId": "Auth_App", - "ClientSecret": "1q2w3e*", + "ClientSecret": "1q2w3E*", + "GrantType": "client_credentials", "RequireHttps": "false", - "Authority": "http://dev.ccwin-in.com:59093", "Scope": "Auth" } }, + //数据库连接 + "Database": "SQLServer", + "ConnectionStrings": { + "AbpAuditLogging": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpBackgroundJobs": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpBlobStoring": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpFeatureManagement": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpIdentity": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpIdentityServer": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpPermissionManagement": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpSettingManagement": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "AbpTenantManagement": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Auth": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Basedata": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "DataExchange": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "FileStorage": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Inventory": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Job": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Label": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Message": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;", + "Store": "Server=database,1433;Database=Wms;Uid=sa;Pwd=aA123456!;timeout=6000;" + }, + //多租户 + "IsMultiTenancy": "True", + //缓存服务器 + "Redis": { + "Configuration": "redis:6379", + "KeyPrefix": "Wms:" + }, + //转发地址配置 "RemoteServices": { - "Default": { - "BaseUrl": "http://dev.ccwin-in.com:59093" + "Auth": { + "BaseUrl": "http://dev.ccwin-in.com:59093/" }, "BaseData": { "BaseUrl": "http://dev.ccwin-in.com:59094/" }, - "Store": { - "BaseUrl": "http://dev.ccwin-in.com:59095/" + "Default": { + "BaseUrl": "http://dev.ccwin-in.com:59093" }, - "Job": { - "BaseUrl": "http://dev.ccwin-in.com:59095/" + "FileStorage": { + "BaseUrl": "http://dev.ccwin-in.com:59092/" }, "Inventory": { "BaseUrl": "http://dev.ccwin-in.com:59095/" }, - "FileStorage": { - "BaseUrl": "http://dev.ccwin-in.com:59092/" + "Job": { + "BaseUrl": "http://dev.ccwin-in.com:59095/" }, - "Message": { + "Label": { "BaseUrl": "http://dev.ccwin-in.com:59092/" }, - "Label": { + "Message": { "BaseUrl": "http://dev.ccwin-in.com:59092/" }, - "Auth": { - "BaseUrl": "http://dev.ccwin-in.com:59093/" + "Store": { + "BaseUrl": "http://dev.ccwin-in.com:59095/" } }, - "AlwaysAllowAuthorization": true, - "IsMultiTenancy": true -} + "Serilog": { + "WriteTo": [ + { + "Args": { + "configure": [ + { + "Args": { + "path": "logs/log.txt", + "retainedFileCountLimit": "30", + "rollingInterval": "Day" + }, + "Name": "File" + } + ] + }, + "Name": "Async" + }, + { + "Args": { + "serverUrl": "http://seq:5341" + }, + "Name": "Seq" + } + ] + } +} \ No newline at end of file diff --git a/build/src/docker/publish/start.sh.example b/build/src/docker/publish/start.sh.example index ab5f72971..ca998244d 100644 --- a/build/src/docker/publish/start.sh.example +++ b/build/src/docker/publish/start.sh.example @@ -1 +1,3 @@ +chown -R 10001 ./data/sqlserver +chown -R 10001 ./logs/sqlserver docker-compose -f ./docker-compose.yml -f ./docker-compose.production.yml up -d --remove-orphans diff --git a/fe/PC/README.md b/fe/PC/README.md index 63680f9e7..119e7b8d5 100644 --- a/fe/PC/README.md +++ b/fe/PC/README.md @@ -107,8 +107,19 @@ active 步骤控制 pageStatus 结合active控制返回结果 [字段设置:rowDrop] - @radio="rowDrop" 数据更新方法 :tableColumns="tableColumns" 表头数据 :visible="visible" 是否显示 -@closeRowDrop="closeRowDrop" 关闭方法 \ No newline at end of file +@closeRowDrop="closeRowDrop" 关闭方法 + +[表单组件补充:currenForm] +validType type仅等于input时:实时keyUp校验,类型如下: + 1、 number:正整数, + 2、 pointNumber:数字+带小数点(只能输入一个小数点, 小数点后方保留位数见), + 3、 numberLetter: 数字+字母, + 4、 letter:纯字母, + 5、 letterCn:字母+中文 +pointNumberFixed 组合上方validType值仅等于pointNumber时: + 小数点后方保留位数,如不填写默认为100位 ++示例: +{ type:"input", label:"金额", prop:"money", validType:'pointNumber',pointNumberFixed:2}, \ No newline at end of file diff --git a/fe/PC/public/config.js b/fe/PC/public/config.js index bf41df45d..188653b47 100644 --- a/fe/PC/public/config.js +++ b/fe/PC/public/config.js @@ -1,16 +1,6 @@ // dev -window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:21093' -window.SITE_CONFIG['user'] = 'http://dev.ccwin-in.com:21293' -window.SITE_CONFIG['print'] = 'print' -window.SITE_CONFIG['largeScreen'] = 'http://dev.ccwin-in.com:21093' -window.SITE_CONFIG['warehouseCode'] = 'T8' -window.SITE_CONFIG['company'] = 'DongYang' -window.SITE_CONFIG['client_secret'] = '1q2w3e*' -window.SITE_CONFIG['reportsUrl'] = 'http://10.164.0.227:21093/#/reports/' - -// localhost -// window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:59099' -// window.SITE_CONFIG['user'] = 'user' +// window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:21093' +// window.SITE_CONFIG['user'] = 'http://dev.ccwin-in.com:21093/api/auth' // window.SITE_CONFIG['print'] = 'print' // window.SITE_CONFIG['largeScreen'] = 'http://dev.ccwin-in.com:59082' // window.SITE_CONFIG['warehouseCode'] = 'T8' @@ -18,6 +8,26 @@ window.SITE_CONFIG['reportsUrl'] = 'http://10.164.0.227:21093/#/reports/' // window.SITE_CONFIG['client_secret'] = '1q2w3e*' // window.SITE_CONFIG['reportsUrl'] = 'http://10.164.0.227:59091/#/reports/' +// dev-new +// window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:21093' +// window.SITE_CONFIG['user'] = 'http://dev.ccwin-in.com:21293' +// window.SITE_CONFIG['print'] = 'print' +// window.SITE_CONFIG['largeScreen'] = 'http://dev.ccwin-in.com:21093' +// window.SITE_CONFIG['warehouseCode'] = 'T8' +// window.SITE_CONFIG['company'] = 'DongYang' +// window.SITE_CONFIG['client_secret'] = '1q2w3e*' +// window.SITE_CONFIG['reportsUrl'] = 'http://10.164.0.227:21093/#/reports/' + +// localhost +window.SITE_CONFIG['base'] = 'http://localhost:21093' +window.SITE_CONFIG['user'] = 'http://localhost:21093/api/auth' +window.SITE_CONFIG['print'] = 'print' +window.SITE_CONFIG['largeScreen'] = 'http://localhost:59082' +window.SITE_CONFIG['warehouseCode'] = 'T8' +window.SITE_CONFIG['company'] = 'DongYang' +window.SITE_CONFIG['client_secret'] = '1q2w3e*' +window.SITE_CONFIG['reportsUrl'] = 'http://10.164.0.227:59091/#/reports/' + // mock // window.SITE_CONFIG['apifoxToken'] = 'NXHNi5mp0dnUHGt0wkCrjvfcidsFKV33' // window.SITE_CONFIG['base'] = 'https://mock.apifox.cn/m1/1773588-0-default' diff --git a/fe/PC/src/api/wms-api.js b/fe/PC/src/api/wms-api.js index 94f1ba8e7..27ad86c46 100644 --- a/fe/PC/src/api/wms-api.js +++ b/fe/PC/src/api/wms-api.js @@ -81,6 +81,7 @@ export function postExport(data, url, special) { url: _url, method: 'post', data, + responseType: 'blob' }) } //导出(详情内)-获取文件 blobName | 盘点计划 @@ -96,6 +97,7 @@ export function postExportForDetail(data, url,params) { method: 'post', data, params: params, + responseType: 'blob' }) } //导出-文件 @@ -120,6 +122,10 @@ export function postImport(data, url,isSpecial) { return request({ url: baseURL + _url, method: 'post', + headers: { + 'Content-Type': 'multipart/form-data;' + }, + responseType: 'blob', data }) } diff --git a/fe/PC/src/api/wms-auth.js b/fe/PC/src/api/wms-auth.js index 13f5af713..e93410557 100644 --- a/fe/PC/src/api/wms-auth.js +++ b/fe/PC/src/api/wms-auth.js @@ -3,7 +3,7 @@ let baseURL = localStorage.getItem('user') export function login(data) { return request({ - url: baseURL + '/api/account/login', + url: baseURL + '/account/login', method: 'post', data }) @@ -11,21 +11,21 @@ export function login(data) { export function token(data) { return request({ - url: baseURL + '/connect/token', + url: baseURL + '/token', method: 'post', data }) } export function getInfo() { return request({ - url: baseURL + '/api/abp/application-configuration', + url: baseURL + '/abp/application-configuration', method: 'get', }) } export function logout() { return request({ - url: baseURL + '/api/account/logout', + url: baseURL + '/account/logout', method: 'get' }) } @@ -33,7 +33,7 @@ export function logout() { //获取PC菜单 export function getWebMenu(params) { return request({ - url: baseURL + '/api/auth/user-menu/web-menu/' + params.userId, + url: baseURL + '/auth/user-menu/web-menu/' + params.userId, method: 'get', params: params }) @@ -42,7 +42,7 @@ export function getWebMenu(params) { //新建 export function postCreate(data) { return request({ - url: baseURL + '/api/identity/users', + url: baseURL + '/identity/users', method: 'post', data }) @@ -50,21 +50,21 @@ export function postCreate(data) { //获取全部角色 | 用户信息维护 export function usersroles() { return request({ - url: baseURL + '/api/identity/users/assignable-roles', + url: baseURL + '/identity/users/assignable-roles', method: 'get' }) } //获取当前角色 | 用户信息维护 export function getusersID(data) { return request({ - url: baseURL + '/api/identity/users/' + data + '/roles', + url: baseURL + '/identity/users/' + data + '/roles', method: 'get' }) } //编辑 export function postUpdate(data, id) { return request({ - url: baseURL + '/api/identity/users/' + id, + url: baseURL + '/identity/users/' + id, method: 'put', data }) @@ -72,14 +72,14 @@ export function postUpdate(data, id) { //删除 export function postDelete(id) { return request({ - url: baseURL + '/api/identity/users/' + id, + url: baseURL + '/identity/users/' + id, method: 'delete', }) } //分页+筛选 export function getPageList(data) { return request({ - url: baseURL + '/api/identity/users', + url: baseURL + '/identity/users', method: 'get', params: data }) @@ -87,7 +87,7 @@ export function getPageList(data) { //重置密码功能 | 用户信息维护 export function putpassword(id) { return request({ - url: baseURL + '/api/account/reset-password/' + id, + url: baseURL + '/account/reset-password/' + id, method: 'put' }) } @@ -95,7 +95,7 @@ export function putpassword(id) { //获取全部权限(包含PDA+pc) | PC菜单信息维护 | PDA菜单信息维护 | PDA用户权限维护 | PC角色权限维护 export function menuPermissions(data) { return request({ - url: baseURL + '/api/auth/menu/list', + url: baseURL + '/auth/menu/list', method: 'post', data }) @@ -103,7 +103,7 @@ export function menuPermissions(data) { //新建菜单 | PC菜单信息维护 | PDA菜单信息维护 export function postCreateMenu(data) { return request({ - url: baseURL + '/api/auth/menu', + url: baseURL + '/auth/menu', method: 'post', data }) @@ -111,7 +111,7 @@ export function postCreateMenu(data) { //编辑菜单 | PC菜单信息维护 | PDA菜单信息维护 export function postUpdateMenu(data, id) { return request({ - url: baseURL + '/api/auth/menu/' + id, + url: baseURL + '/auth/menu/' + id, method: 'put', data }) @@ -119,21 +119,21 @@ export function postUpdateMenu(data, id) { //删除菜单 | PC菜单信息维护 | PDA菜单信息维护 export function postDeleteMenu(id) { return request({ - url: baseURL + '/api/auth/menu/' + id, + url: baseURL + '/auth/menu/' + id, method: 'delete', }) } //获取菜单详情 | PC菜单信息维护 | PDA菜单信息维护 export function getDetailedMenu(id) { return request({ - url: baseURL + '/api/auth/menu/' + id, + url: baseURL + '/auth/menu/' + id, method: 'get', }) } //获取用户全部工作组 | 用户工作组对应关系 // export function workgroupPermissions() { // return request({ -// url: baseURL + '/api/auth/user-workgroup/get-list', +// url: baseURL + '/auth/user-workgroup/get-list', // method: 'get', // params:{ // SkipCount:0, @@ -144,7 +144,7 @@ export function getDetailedMenu(id) { //获取已有权限 | PDA用户权限维护 export function UserPermissions(id, url) { return request({ - url: baseURL + '/api/' + url + '/' + id.userId, + url: baseURL + '/' + url + '/' + id.userId, method: 'get', params:id }) @@ -153,7 +153,7 @@ export function UserPermissions(id, url) { //保存权限 | PDA用户权限维护 export function SetUserPermissions(data, id, url) { return request({ - url: baseURL + '/api/' + url + '/' + id.userId, + url: baseURL + '/' + url + '/' + id.userId, method: 'put', params:id, data @@ -163,7 +163,7 @@ export function SetUserPermissions(data, id, url) { //获取用户已有工作组 | 用户工作组对应关系 export function userWorkgroupPermissions(id) { return request({ - url: baseURL + '/api/auth/user-workgroup/get-user-work-group-by-user-id', + url: baseURL + '/auth/user-workgroup/get-user-work-group-by-user-id', method: 'get', params:id }) @@ -172,23 +172,23 @@ export function userWorkgroupPermissions(id) { //保存用户与工作组关系 | 用户工作组对应关系 export function SetUserWorkgroupPermissions(data,id) { return request({ - url: baseURL + '/api/auth/user-workgroup/add-many', + url: baseURL + '/auth/user-workgroup/add-many', method: 'post', params:id, data }) } //加载用户登录信息 -export function loadLoginUserInfo() { +export function loadLoginUserInfo(id) { return request({ - url: baseURL + '/api/identity/my-profile', + url: baseURL + '/identity/users/' + id, method: 'get' }) } //修改登录用户基本信息 export function putLoginUserInfo(data) { return request({ - url: baseURL + '/api/identity/my-profile', + url: baseURL + '/identity/my-profile', method: 'put', data }) @@ -196,7 +196,7 @@ export function putLoginUserInfo(data) { //修改登录用户的密码-强密码规则 export function postLoginUserInfo(data) { return request({ - url: baseURL + '/api/identity/my-profile/change-password', + url: baseURL + '/identity/my-profile/change-password', method: 'post', data }) @@ -205,7 +205,7 @@ export function postLoginUserInfo(data) { //获取部门列表 | 用户信息维护 | 部门信息维护 export function departmentList(data) { return request({ - url: baseURL + '/api/auth/department/list', + url: baseURL + '/auth/department/list', method: 'post', data }) @@ -231,7 +231,7 @@ export function authCreate(data, url) { data.worker = store.getters.name.userName } return request({ - url: baseURL + '/api/' + url, + url: baseURL + '/' + url, method: 'post', data }) @@ -239,7 +239,7 @@ export function authCreate(data, url) { //编辑 | 部门信息维护 export function authUpdate(data, id, url) { return request({ - url: baseURL + '/api/' + url + '/' + id, + url: baseURL + '/' + url + '/' + id, method: 'put', data }) @@ -247,7 +247,7 @@ export function authUpdate(data, id, url) { //删除 | 部门信息维护 export function authDelete(id, url) { return request({ - url: baseURL + '/api/' + url + '/' + id, + url: baseURL + '/' + url + '/' + id, method: 'delete', }) } @@ -256,7 +256,7 @@ export function authDelete(id, url) { // 创建 | PC角色权限维护 export function postCreateRoles(data) { return request({ - url: baseURL + '/api/identity/roles', + url: baseURL + '/identity/roles', method: 'post', data }) @@ -264,7 +264,7 @@ export function postCreateRoles(data) { //编辑 | PC角色权限维护 export function postUpdateRoles(data, id) { return request({ - url: baseURL+'/api/identity/roles/' + id, + url: baseURL+'/identity/roles/' + id, method: 'put', data }) @@ -272,14 +272,14 @@ export function postUpdateRoles(data, id) { //删除 | PC角色权限维护 export function postDeleteRoles(id) { return request({ - url: baseURL + '/api/identity/roles/' + id, + url: baseURL + '/identity/roles/' + id, method: 'delete', }) } // 描述修改 | PC角色权限维护 export function saveOrUpdateDescribe(params,id) { return request({ - url: baseURL + '/api/identity/roles/' + id + '/description', + url: baseURL + '/identity/roles/' + id + '/description', method: 'post', params: params }) @@ -287,7 +287,7 @@ export function saveOrUpdateDescribe(params,id) { //分页+筛选 | PC角色权限维护 export function getPageListRoles(data) { return request({ - url: baseURL + '/api/identity/roles', + url: baseURL + '/identity/roles', method: 'get', params: data }) @@ -296,7 +296,7 @@ export function getPageListRoles(data) { //获取权限模板 | PC角色权限维护 export function getpermissionsRoles(data) { return request({ - url: baseURL +'/api/permission-management/permissions', + url: baseURL +'/permission-management/permissions', method: 'get', params: data }) diff --git a/fe/PC/src/components/currenButton/innerButton.vue b/fe/PC/src/components/currenButton/innerButton.vue index f067e9987..f7525c2f5 100644 --- a/fe/PC/src/components/currenButton/innerButton.vue +++ b/fe/PC/src/components/currenButton/innerButton.vue @@ -31,7 +31,25 @@ export default { } }, }, + mounted(){ + window.addEventListener('setItemEvent', (item) => { + this.initButtonType(item) + }) + }, methods:{ + initButtonType(changeItem){ + let _num = 0 + let _new = JSON.parse(changeItem.newValue) + _new.forEach((item) => { + if(item.istrue)_num ++ + }) + this.Butttondata.forEach(item=>{ + // 监听本地缓存【字段配置】缓存,更改按钮type + if(item.name == 'field'){ + return item.type = (_num >= _new.length) ? '' : 'warning'; + } + }) + }, tableButtonClick (val,item) { this.$emit('tableButtonClick', val,item) } diff --git a/fe/PC/src/components/currenDescriptions/index.vue b/fe/PC/src/components/currenDescriptions/index.vue index e9a96eb04..829b3d40a 100644 --- a/fe/PC/src/components/currenDescriptions/index.vue +++ b/fe/PC/src/components/currenDescriptions/index.vue @@ -66,6 +66,7 @@