From 66656c2603ae729bb36b5fd60d93914799d5dd49 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Thu, 18 Jul 2024 17:13:33 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E5=8F=91=E5=B8=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .../Properties/PublishProfiles/FolderProfile.pubxml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 934d3d589..75ffe36fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ **/node_modules/ /be/Hosts/Wms.Host/Win_in.Sfs.Wms.Store.HttpApi.Host/Properties/PublishProfiles/FolderProfile3.pubxml +/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/.config diff --git a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile.pubxml b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile.pubxml index 9923964ab..dc7d24117 100644 --- a/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile.pubxml +++ b/be/Hosts/Auth.Host/src/Win_in.Sfs.Auth.Web/Properties/PublishProfiles/FolderProfile.pubxml @@ -10,11 +10,11 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Release Any CPU FileSystem - .\..\..\..\..\OutPut\Auth\ + D:\发布\WMS\auth FileSystem net6.0 fac54f6e-6418-429e-aceb-4eceaa9f649e false - + \ No newline at end of file From 5af7d8cbe5c600b7be4d9ff45e4ba08f057e362c Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Thu, 18 Jul 2024 17:32:55 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...Dy_ExchangePermissionDefinitionProvider.cs | 5 + .../Permissions/Dy_ExchangePermissions.cs | 10 ++ .../Dtos/ArchivedIncomingToWmDto.cs | 81 ++++++++++++++++ .../CreateUpdateArchivedIncomingToWmDto.cs | 92 +++++++++++++++++++ .../IArchivedIncomingToWmAppService.cs | 21 +++++ ...Dy_ExchangeApplicationAutoMapperProfile.cs | 2 + .../ArchivedIncomingToWmAppService.cs | 30 ++++++ .../Localization/Dy_Exchange/ar.json | 22 ++++- .../IArchivedIncomingToWmRepository.cs | 11 +++ .../Dy_ExchangeDbContext.cs | 14 +++ .../Dy_ExchangeEntityFrameworkCoreModule.cs | 1 + ...vedIncomingToWmEfCoreQuerableExtensions.cs | 22 +++++ .../ArchivedIncomingToWmRepository.cs | 20 ++++ 13 files changed, 330 insertions(+), 1 deletion(-) create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedIncomingToWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedIncomingToWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedIncomingToWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedIncomingToWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedIncomingToWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmRepository.cs diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs index dc2d00dcc..83d599d36 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs @@ -16,6 +16,11 @@ public class Dy_ExchangePermissionDefinitionProvider : PermissionDefinitionProvi dataExchangeInterfaceConfigPermission.AddChild(Dy_ExchangePermissions.DataExchangeInterfaceConfig.Create, L("Permission:Create")); dataExchangeInterfaceConfigPermission.AddChild(Dy_ExchangePermissions.DataExchangeInterfaceConfig.Update, L("Permission:Update")); dataExchangeInterfaceConfigPermission.AddChild(Dy_ExchangePermissions.DataExchangeInterfaceConfig.Delete, L("Permission:Delete")); + + var archivedIncomingToWmPermission = myGroup.AddPermission(Dy_ExchangePermissions.ArchivedIncomingToWm.Default, L("Permission:ArchivedIncomingToWm")); + archivedIncomingToWmPermission.AddChild(Dy_ExchangePermissions.ArchivedIncomingToWm.Create, L("Permission:Create")); + archivedIncomingToWmPermission.AddChild(Dy_ExchangePermissions.ArchivedIncomingToWm.Update, L("Permission:Update")); + archivedIncomingToWmPermission.AddChild(Dy_ExchangePermissions.ArchivedIncomingToWm.Delete, L("Permission:Delete")); } private static LocalizableString L(string name) diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs index 2e756935e..7ed52aa4b 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs @@ -26,4 +26,14 @@ public static class Dy_ExchangePermissions public const string Create = Default + ".Create"; public const string Delete = Default + ".Delete"; } + /// + /// 日志 + /// + public class ArchivedIncomingToWm + { + public const string Default = GroupName + ".ArchivedIncomingToWm"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } } diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedIncomingToWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedIncomingToWmDto.cs new file mode 100644 index 000000000..fa43b77c6 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedIncomingToWmDto.cs @@ -0,0 +1,81 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// 日志 +/// +[Serializable] +public class ArchivedIncomingToWmDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string? DataType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public int Status { get; set; } + + /// + /// + /// + public string? DataIdentityCode { get; set; } + + /// + /// + /// + public string? DataContent { get; set; } + + /// + /// + /// + public string? SourceSystem { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public int ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedIncomingToWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedIncomingToWmDto.cs new file mode 100644 index 000000000..df0f9a623 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedIncomingToWmDto.cs @@ -0,0 +1,92 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateArchivedIncomingToWmDto +{ + /// + /// + /// + [DisplayName("ArchivedIncomingToWmNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmDataType")] + public string? DataType { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmStatus")] + public int Status { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmDataIdentityCode")] + public string? DataIdentityCode { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmDataContent")] + public string? DataContent { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmSourceSystem")] + public string? SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmErrorCode")] + public int ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("ArchivedIncomingToWmRetryTimes")] + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedIncomingToWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedIncomingToWmAppService.cs new file mode 100644 index 000000000..f39eae493 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedIncomingToWmAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// 日志 +/// +public interface IArchivedIncomingToWmAppService : + ICrudAppService< + ArchivedIncomingToWmDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateArchivedIncomingToWmDto, + CreateUpdateArchivedIncomingToWmDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs index 45aad6ede..2fa3c8318 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs @@ -13,5 +13,7 @@ public class Dy_ExchangeApplicationAutoMapperProfile : Profile * into multiple profile classes for a better organization. */ CreateMap(); CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); } } diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedIncomingToWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedIncomingToWmAppService.cs new file mode 100644 index 000000000..bbef309a2 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedIncomingToWmAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// 日志 +/// +public class ArchivedIncomingToWmAppService : ZbxBase, + IArchivedIncomingToWmAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.ArchivedIncomingToWm.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.ArchivedIncomingToWm.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.ArchivedIncomingToWm.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.ArchivedIncomingToWm.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.ArchivedIncomingToWm.Delete; + + private readonly IArchivedIncomingToWmRepository _repository; + + public ArchivedIncomingToWmAppService(IArchivedIncomingToWmRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json index cc2bc09fd..1f57ee66d 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json @@ -25,6 +25,26 @@ "EditDataExchangeInterfaceConfig": "EditDataExchangeInterfaceConfig", "DataExchangeInterfaceConfigDeletionConfirmationMessage": "Are you sure to delete the dataExchangeInterfaceConfig {0}?", "SuccessfullyDeleted": "Successfully deleted", - "TableFilter": "TableFilter" + "TableFilter": "TableFilter", + "Permission:ArchivedIncomingToWm": "ArchivedIncomingToWm", + "Menu:ArchivedIncomingToWm": "MenuArchivedIncomingToWm", + "ArchivedIncomingToWm": "ArchivedIncomingToWm", + "ArchivedIncomingToWmNumber": "ArchivedIncomingToWmNumber", + "ArchivedIncomingToWmRemark": "ArchivedIncomingToWmRemark", + "ArchivedIncomingToWmDataType": "ArchivedIncomingToWmDataType", + "ArchivedIncomingToWmDataAction": "ArchivedIncomingToWmDataAction", + "ArchivedIncomingToWmEffectiveDate": "ArchivedIncomingToWmEffectiveDate", + "ArchivedIncomingToWmStatus": "ArchivedIncomingToWmStatus", + "ArchivedIncomingToWmDataIdentityCode": "ArchivedIncomingToWmDataIdentityCode", + "ArchivedIncomingToWmDataContent": "ArchivedIncomingToWmDataContent", + "ArchivedIncomingToWmSourceSystem": "ArchivedIncomingToWmSourceSystem", + "ArchivedIncomingToWmWriteTime": "ArchivedIncomingToWmWriteTime", + "ArchivedIncomingToWmReadTime": "ArchivedIncomingToWmReadTime", + "ArchivedIncomingToWmErrorCode": "ArchivedIncomingToWmErrorCode", + "ArchivedIncomingToWmErrorMessage": "ArchivedIncomingToWmErrorMessage", + "ArchivedIncomingToWmRetryTimes": "ArchivedIncomingToWmRetryTimes", + "CreateArchivedIncomingToWm": "CreateArchivedIncomingToWm", + "EditArchivedIncomingToWm": "EditArchivedIncomingToWm", + "ArchivedIncomingToWmDeletionConfirmationMessage": "Are you sure to delete the archivedIncomingToWm {0}?" } } \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedIncomingToWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedIncomingToWmRepository.cs new file mode 100644 index 000000000..378db8859 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedIncomingToWmRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// 日志 +/// +public interface IArchivedIncomingToWmRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs index 8f9550708..c00e1bd3d 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs @@ -58,6 +58,10 @@ public class Dy_ExchangeDbContext : /// /// public DbSet DataExchangeInterfaceConfigs { get; set; } + /// + /// 日志 + /// + public DbSet ArchivedIncomingToWms { get; set; } public Dy_ExchangeDbContext(DbContextOptions options) : base(options) @@ -96,6 +100,16 @@ public class Dy_ExchangeDbContext : b.ConfigureByConvention(); + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "ArchivedIncomingToWms", Dy_ExchangeConsts.DbSchema, table => table.HasComment(" 日志")); + b.ConfigureByConvention(); + + /* Configure more properties here */ }); } diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs index fc5136325..277f2eeb2 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs @@ -43,6 +43,7 @@ public class Dy_ExchangeEntityFrameworkCoreModule : AbpModule * default repositories only for aggregate roots */ options.AddDefaultRepositories(includeAllEntities: true); options.AddRepository(); + options.AddRepository(); }); Configure(options => diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..52ae5cf36 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// 日志 +/// +public static class ArchivedIncomingToWmEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmRepository.cs new file mode 100644 index 000000000..f7de32752 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedIncomingToWmRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class ArchivedIncomingToWmRepository : EfCoreRepository, IArchivedIncomingToWmRepository +{ + public ArchivedIncomingToWmRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file From 7de58e62cce09841b520d3e4a8860bcb77045535 Mon Sep 17 00:00:00 2001 From: liuyunfeng Date: Fri, 19 Jul 2024 09:57:49 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=8B=86=E7=AE=B1=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E5=AE=A1=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SplitPackings/SplitPackingRec.cs | 2 + ...20240718051538_BaseData0718-01.Designer.cs | 4354 +++++++++++++++++ .../20240718051538_BaseData0718-01.cs | 102 + .../InventoryLabelAppService.cs | 2 +- 4 files changed, 4459 insertions(+), 1 deletion(-) create mode 100644 be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.Designer.cs create mode 100644 be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.cs diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/SplitPackings/SplitPackingRec.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/SplitPackings/SplitPackingRec.cs index e242354c1..4cbc99de7 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/SplitPackings/SplitPackingRec.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Domain/SplitPackings/SplitPackingRec.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; +using Volo.Abp.Auditing; using Volo.Abp.Domain.Values; using Win_in.Sfs.Basedata.Domain.Shared; using Win_in.Sfs.Shared.Domain; @@ -13,6 +14,7 @@ namespace Win_in.Sfs.Basedata.Domain; /// /// 采购标签 /// +[DisableAuditing] public class SplitPackingRec : SfsBaseDataAggregateRootBase , IHasItem //, IHasPurchaseInfo diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.Designer.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.Designer.cs new file mode 100644 index 000000000..955e0396c --- /dev/null +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.Designer.cs @@ -0,0 +1,4354 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Volo.Abp.EntityFrameworkCore; +using Win_in.Sfs.Basedata.EntityFrameworkCore; + +#nullable disable + +namespace Win_in.Sfs.Basedata.Migrations +{ + [DbContext(typeof(BasedataDbContext))] + [Migration("20240718051538_BaseData0718-01")] + partial class BaseData071801 + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) + .HasAnnotation("ProductVersion", "6.0.13") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.AQL", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AbcClass") + .HasColumnType("nvarchar(max)"); + + b.Property("CeilingQty") + .HasColumnType("decimal(18,6)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("FloorQty") + .HasColumnType("decimal(18,6)"); + + b.Property("IsUsePercent") + .HasColumnType("bit"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("SamplePercent") + .HasColumnType("decimal(18,6)"); + + b.Property("SampleQty") + .HasColumnType("decimal(18,6)"); + + b.Property("SupplierCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("SupplierCode", "ItemCode", "FloorQty") + .IsUnique(); + + b.ToTable("Basedata_AQL", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Area", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AreaType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsFunctional") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Area", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Bom", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BeginTime") + .HasColumnType("datetime2"); + + b.Property("Component") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ComponentQty") + .HasColumnType("decimal(18,6)"); + + b.Property("ComponentUom") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DistributionType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ERPOp") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Layer") + .ValueGeneratedOnAdd() + .HasMaxLength(64) + .HasColumnType("int") + .HasDefaultValue(1); + + b.Property("MFGOp") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PlannedSplitRule") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Product") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TruncType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Product", "Component") + .IsUnique(); + + b.ToTable("Basedata_Bom", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Calendar", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BeginTime") + .HasColumnType("datetime2"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Module") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)"); + + b.Property("Status") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Module") + .IsUnique() + .HasFilter("[Module] IS NOT NULL"); + + b.ToTable("Basedata_Calendar", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Category", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Category", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Currency", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsBasicCurrency") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Currency", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.CurrencyExchange", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BasicCurrencyId") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CurrencyId") + .HasColumnType("uniqueidentifier"); + + b.Property("EfficetiveTime") + .HasColumnType("datetime2"); + + b.Property("ExpireTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Rate") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("CurrencyId", "BasicCurrencyId") + .IsUnique(); + + b.ToTable("Basedata_CurrencyExchange", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Customer", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Address") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("City") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Contacts") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Country") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Currency") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Fax") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Phone") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PostID") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("ShortName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Customer", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.CustomerAddress", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Address") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("City") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Contact") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CustomerCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Desc") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocationCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code", "CustomerCode") + .IsUnique(); + + b.ToTable("Basedata_CustomerAddress", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.CustomerItem", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BeginTime") + .HasColumnType("datetime2"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CustomerCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CustomerItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CustomerPackQty") + .HasColumnType("decimal(18,6)"); + + b.Property("CustomerPackUom") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocationCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Version") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.HasKey("Id"); + + b.HasIndex("CustomerCode", "ItemCode") + .IsUnique(); + + b.ToTable("Basedata_CustomerItem", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Dict", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Dict", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.DictItem", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("Enabled") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MasterId") + .HasColumnType("uniqueidentifier"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Value") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("MasterId"); + + b.ToTable("Basedata_DictItem", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Dock", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DefaultLocationCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WarehouseCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Dock", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.DocumentSetting", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("NumberFormat") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("NumberPrefix") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("NumberSeparator") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("NumberSerialLength") + .HasColumnType("int"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TransactionType") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_DocumentSetting", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Equipment", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreatTime") + .HasColumnType("datetime2"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("Creator") + .HasColumnType("nvarchar(max)"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Model") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("State") + .HasColumnType("int"); + + b.Property("StdQty") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Equipment", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.EquipmentLoc", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("State") + .HasColumnType("int"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code", "LocCode") + .IsUnique(); + + b.ToTable("Basedata_EquipmentLoc", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.EquipmentLocCap", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("PartCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Percent") + .HasColumnType("decimal(18,6)"); + + b.Property("Qty") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("StdQty") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_EquipmentLocCap", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.EquipmentPartCode", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("PartCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("State") + .HasColumnType("int"); + + b.Property("StdQty") + .HasColumnType("decimal(18,2)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Unit") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("Code", "PartCode") + .IsUnique(); + + b.ToTable("Basedata_EquipmentPartCode", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ErpLocation", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_ErpLocation", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ErpLocationItem", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ErpLocationCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode", "ErpLocationCode") + .IsUnique(); + + b.ToTable("Basedata_ErpLocationItem", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.InterfaceCalendar", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BeginTime") + .HasColumnType("datetime2"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("ConvertToTime") + .HasColumnType("datetime2"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Month") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasColumnType("nvarchar(max)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Year") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_InterfaceCalendar", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemBasic", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AbcClass") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("BasicUom") + .HasColumnType("nvarchar(max)"); + + b.Property("CanBuy") + .HasColumnType("bit"); + + b.Property("CanMake") + .HasColumnType("bit"); + + b.Property("CanOutsourcing") + .HasColumnType("bit"); + + b.Property("Category") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Color") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Configuration") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Desc1") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("Desc2") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("Eco") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Elevel") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Group") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("IsPhantom") + .HasColumnType("bit"); + + b.Property("IsRecycled") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ManageType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Project") + .HasColumnType("nvarchar(max)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("Status") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("StdPackQty") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Validity") + .HasColumnType("int"); + + b.Property("ValidityUnit") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Version") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_ItemBasic", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemCategory", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CategoryCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryCode", "ItemCode") + .IsUnique(); + + b.ToTable("Basedata_ItemCategory", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemContainer", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BasicUom") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("ContainerCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ContainerName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Qty") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode") + .IsUnique(); + + b.ToTable("Basedata_ItemContainer", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemGuideBook", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Desc1") + .HasColumnType("nvarchar(max)"); + + b.Property("Desc2") + .HasColumnType("nvarchar(max)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasColumnType("nvarchar(max)"); + + b.Property("PictureBlobName") + .HasColumnType("nvarchar(max)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("Step") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode") + .IsUnique(); + + b.ToTable("Basedata_ItemGuideBook", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemPack", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BasicUom") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("PackCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PackName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PackType") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Qty") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode", "PackCode") + .IsUnique(); + + b.ToTable("Basedata_ItemPack", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemQuality", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("InspectType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("Status") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode", "SupplierCode") + .IsUnique(); + + b.ToTable("Basedata_ItemQuality", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemSafetyStock", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("FeedLine") + .HasColumnType("decimal(18,6)"); + + b.Property("FeedQty") + .HasColumnType("decimal(18,6)"); + + b.Property("FeedUM") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MaxStock") + .HasColumnType("decimal(18,6)"); + + b.Property("MinStock") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("SafetyStock") + .HasColumnType("decimal(18,6)"); + + b.Property("StoreRelationType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("StoreValue") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode", "WarehouseCode", "StoreRelationType", "StoreValue") + .IsUnique() + .HasFilter("[StoreValue] IS NOT NULL"); + + b.ToTable("Basedata_ItemSafetyStock", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ItemStoreRelation", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AltUm") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("AltUmQty") + .HasColumnType("decimal(18,6)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Enabled") + .HasColumnType("bit"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsFixed") + .HasColumnType("bit"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MultiLoc") + .HasColumnType("int"); + + b.Property("PramaryUM") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("StoreRelationType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("StoreUM") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("StoreValue") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("UmQty") + .HasColumnType("decimal(18,6)"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode", "StoreRelationType", "StoreValue") + .IsUnique() + .HasFilter("[StoreValue] IS NOT NULL"); + + b.ToTable("Basedata_ItemStoreRelation", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Kitting", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ChassisQty") + .HasColumnType("decimal(18,2)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Kitting", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.KittingDetail", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Configuration") + .HasColumnType("nvarchar(max)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ItemCode") + .HasColumnType("nvarchar(max)"); + + b.Property("ItemDesc1") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ItemDesc2") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemName") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MasterId") + .HasColumnType("uniqueidentifier"); + + b.Property("Qty") + .HasColumnType("decimal(18,2)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("MasterId"); + + b.ToTable("Basedata_KittingDetail", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Location", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AreaCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ColumnCode") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(1); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DefaultInventoryStatus") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("EnableBreakStore") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableKeepZero") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableMixItem") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableMixLot") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableMixStatus") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableNegative") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableOpportunityCount") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableOverPick") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnablePick") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableReceive") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableReturnFromCustomer") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableReturnToSupplier") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableShip") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableSplitBox") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableSplitPallet") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableWholeStore") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("ErpLocationCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocationGroupCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PickOrder") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(0); + + b.Property("PickPriority") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(0); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("RowCode") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(1); + + b.Property("ShelfCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("WorkGroupCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Location", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.LocationGroup", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AreaCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DefaultInventoryStatus") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("EnableBreakStore") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableKeepZero") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableMixItem") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableMixLot") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableMixStatus") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableNegative") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableOpportunityCount") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableOverPick") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnablePick") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableReceive") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableReturnFromCustomer") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableReturnToSupplier") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableShip") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableSplitBox") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableSplitPallet") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("EnableWholeStore") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("GroupType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("OverflowLocationGroup") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PickPriority") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(0); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_LocationGroup", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Machine", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProdLineId") + .HasColumnType("uniqueidentifier"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("WorkStationId") + .HasColumnType("uniqueidentifier"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Machine", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.PositionCode", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BasicUom") + .HasColumnType("nvarchar(max)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocationCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LocationName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PartCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PartDesc") + .HasColumnType("nvarchar(max)"); + + b.Property("PartName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("StdPackQty") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.HasIndex("Code", "PartCode", "LocationCode") + .IsUnique() + .HasFilter("[PartCode] IS NOT NULL AND [LocationCode] IS NOT NULL"); + + b.ToTable("Basedata_PositionCode", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ProductionLine", b => + { + b.Property("Code") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocationCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProductionLineType") + .HasColumnType("int"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Code"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_ProductionLine", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.ProductionLineItem", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ItemDesc1") + .HasColumnType("nvarchar(max)"); + + b.Property("ItemDesc2") + .HasColumnType("nvarchar(max)"); + + b.Property("ItemName") + .HasColumnType("nvarchar(max)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ProdLineCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ProductLocationCodeListJson") + .HasColumnType("nvarchar(max)"); + + b.Property("RawLocationCodeListJson") + .HasColumnType("nvarchar(max)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WipLocationCodeListJson") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("Basedata_ProductionLineItem", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Project", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BeginTime") + .HasColumnType("datetime2"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CustomerCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Project", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.PurchasePriceSheet", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("PurchasePrice") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("SupplierCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode", "SupplierCode") + .IsUnique() + .HasFilter("[ItemCode] IS NOT NULL AND [SupplierCode] IS NOT NULL"); + + b.ToTable("Basedata_PurchasePriceSheet", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.SalePriceSheet", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CustomerCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("SalePrice") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("CustomerCode", "ItemCode") + .IsUnique() + .HasFilter("[CustomerCode] IS NOT NULL"); + + b.ToTable("Basedata_SalePriceSheet", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Shift", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BeginTime") + .HasColumnType("datetime2"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("EndAtNextDay") + .HasColumnType("bit"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Shift", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.SplitPackingRec", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ArrivalNoticNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ArriveDate") + .HasColumnType("datetime2"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExpireDate") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("FromLot") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FromPackingCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FromQty") + .HasPrecision(18, 6) + .HasColumnType("decimal(18,6)"); + + b.Property("FromStdPackQty") + .HasColumnType("decimal(18,6)"); + + b.Property("FromTopPackingCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FromUom") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FullBarcodeString") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemDesc1") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ItemDesc2") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ItemName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LabelStatus") + .HasColumnType("int"); + + b.Property("LabelType") + .HasColumnType("int"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LocationErpCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("OprType") + .HasColumnType("int"); + + b.Property("PlanArriveDate") + .HasColumnType("datetime2"); + + b.Property("ProduceDate") + .HasColumnType("datetime2"); + + b.Property("PurchaseInfo_AsnNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PurchaseInfo_PoNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PutOnShelfNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ReceiptRecNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("RecommendLocationCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasColumnType("nvarchar(max)"); + + b.Property("RpNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierBatch") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierItemCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierItemName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierSimpleName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TaskOrderNumber") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("ToLot") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ToPackingCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ToQty") + .HasPrecision(18, 6) + .HasColumnType("decimal(18,6)"); + + b.Property("ToStdPackQty") + .HasColumnType("decimal(18,6)"); + + b.Property("ToTopPackingCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ToUom") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("ToPackingCode"); + + b.HasIndex("FromPackingCode", "ToPackingCode"); + + b.ToTable("Basedata_SplitPackingRec", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.StdCostPriceSheet", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("StdCostPrice") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("ItemCode") + .IsUnique(); + + b.ToTable("Basedata_StdCostPriceSheet", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Supplier", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Address") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("Bank") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("City") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Contacts") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Country") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Currency") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Fax") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("IsActive") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Phone") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PostID") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("ShortName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TaxRate") + .HasColumnType("decimal(18,6)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Supplier", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.SupplierItem", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("ItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("QtyPerPallet") + .HasColumnType("decimal(18,6)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("SupplierCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierItemCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierPackQty") + .HasColumnType("decimal(18,6)"); + + b.Property("SupplierPackUom") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierSimpleName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Version") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("SupplierCode", "ItemCode") + .IsUnique(); + + b.ToTable("Basedata_SupplierItem", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.SupplierTimeWindow", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("SupplierCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("SupplierName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TimeSlot") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Week") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("SupplierCode", "TimeSlot", "Week") + .IsUnique(); + + b.ToTable("Basedata_SupplierTimeWindow", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Team", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Members") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Team", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.TransactionType", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AutoAgreeRequest") + .HasColumnType("bit"); + + b.Property("AutoCompleteJob") + .HasColumnType("bit"); + + b.Property("AutoHandleRequest") + .HasColumnType("bit"); + + b.Property("AutoSubmitRequest") + .HasColumnType("bit"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("DirectCreateNote") + .HasColumnType("bit"); + + b.Property("Enabled") + .HasColumnType("bit"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("InInventoryStatuses") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("InLocationAreas") + .HasColumnType("nvarchar(max)"); + + b.Property("InLocationTypes") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemStatuses") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ItemTypes") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("OutInventoryStatuses") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("OutLocationAreas") + .HasColumnType("nvarchar(max)"); + + b.Property("OutLocationTypes") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TransSubType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TransType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("TransType", "TransSubType") + .IsUnique(); + + b.ToTable("Basedata_TransactionType", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Uom", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Uom", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Warehouse", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_Warehouse", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.WorkGroup", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("WarehouseCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_WorkGroup", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.WorkShop", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_WorkShop", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.WorkStation", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProductLocationCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProductionLineCode") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("RawLocationCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Remark") + .HasMaxLength(3072) + .HasColumnType("nvarchar(3072)") + .HasColumnName("Remark"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Type") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.ToTable("Basedata_WorkStation", (string)null); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.DictItem", b => + { + b.HasOne("Win_in.Sfs.Basedata.Domain.Dict", null) + .WithMany("Items") + .HasForeignKey("MasterId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.KittingDetail", b => + { + b.HasOne("Win_in.Sfs.Basedata.Domain.Kitting", null) + .WithMany("Details") + .HasForeignKey("MasterId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Dict", b => + { + b.Navigation("Items"); + }); + + modelBuilder.Entity("Win_in.Sfs.Basedata.Domain.Kitting", b => + { + b.Navigation("Details"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.cs new file mode 100644 index 000000000..9785b1fee --- /dev/null +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/Migrations/20240718051538_BaseData0718-01.cs @@ -0,0 +1,102 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace Win_in.Sfs.Basedata.Migrations +{ + public partial class BaseData071801 : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "ContainerCode", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "ProdLine", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "QLevel", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "QualityFile", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "Shift", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "Specifications", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "Team", + table: "Basedata_SplitPackingRec"); + + migrationBuilder.DropColumn( + name: "Conf", + table: "Basedata_KittingDetail"); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "ContainerCode", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "ProdLine", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "QLevel", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "QualityFile", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "Shift", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "Specifications", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "Team", + table: "Basedata_SplitPackingRec", + type: "nvarchar(64)", + maxLength: 64, + nullable: true); + + migrationBuilder.AddColumn( + name: "Conf", + table: "Basedata_KittingDetail", + type: "nvarchar(max)", + nullable: true); + } + } +} diff --git a/be/Modules/Label/src/Win_in.Sfs.Label.Application/InventoryLabels/InventoryLabelAppService.cs b/be/Modules/Label/src/Win_in.Sfs.Label.Application/InventoryLabels/InventoryLabelAppService.cs index d2098cd56..c7bf037a1 100644 --- a/be/Modules/Label/src/Win_in.Sfs.Label.Application/InventoryLabels/InventoryLabelAppService.cs +++ b/be/Modules/Label/src/Win_in.Sfs.Label.Application/InventoryLabels/InventoryLabelAppService.cs @@ -225,7 +225,7 @@ public class InventoryLabelAppService #endregion recLst.Add(packRec); } - int pageSize = 50; + int pageSize = 2000; int pageTotal = PageHelper.GetTotalPages(recLst.Count, pageSize); for (int i = 1; i <= pageTotal; i++) { From deae61e80c299b700a523cbedb9f509ae77e58ea Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Fri, 19 Jul 2024 10:26:25 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...Dy_ExchangePermissionDefinitionProvider.cs | 40 ++++ .../Permissions/Dy_ExchangePermissions.cs | 80 ++++++++ .../Dtos/ArchivedOutgoingToExternalDto.cs | 126 ++++++++++++ ...eateUpdateArchivedOutgoingToExternalDto.cs | 146 +++++++++++++ ...ExchangeArchivedIncomingFromExternalDto.cs | 140 +++++++++++++ ...teDataExchangeArchivedOutgoingFromWmDto.cs | 98 +++++++++ ...dateDataExchangeIncomingFromExternalDto.cs | 140 +++++++++++++ ...eateUpdateDataExchangeMessageReceiveDto.cs | 56 +++++ ...eateUpdateDataExchangeOutgoingFromWmDto.cs | 104 ++++++++++ .../Dtos/CreateUpdateIncomingToWmDto.cs | 92 +++++++++ .../Dtos/CreateUpdateOutgoingToExternalDto.cs | 146 +++++++++++++ ...ExchangeArchivedIncomingFromExternalDto.cs | 121 +++++++++++ .../DataExchangeArchivedOutgoingFromWmDto.cs | 86 ++++++++ .../DataExchangeIncomingFromExternalDto.cs | 121 +++++++++++ .../Dtos/DataExchangeInterfaceConfigDto.cs | 46 ++--- .../Dtos/DataExchangeMessageReceiveDto.cs | 51 +++++ .../Dtos/DataExchangeOutgoingFromWmDto.cs | 91 +++++++++ .../Z_Business/Dtos/IncomingToWmDto.cs | 81 ++++++++ .../Z_Business/Dtos/OutgoingToExternalDto.cs | 126 ++++++++++++ .../IArchivedOutgoingToExternalAppService.cs | 21 ++ ...eArchivedIncomingFromExternalAppService.cs | 21 ++ ...xchangeArchivedOutgoingFromWmAppService.cs | 21 ++ ...aExchangeIncomingFromExternalAppService.cs | 21 ++ .../IDataExchangeMessageReceiveAppService.cs | 21 ++ .../IDataExchangeOutgoingFromWmAppService.cs | 21 ++ .../Z_Business/IIncomingToWmAppService.cs | 21 ++ .../IOutgoingToExternalAppService.cs | 21 ++ ...Dy_ExchangeApplicationAutoMapperProfile.cs | 16 ++ .../ArchivedOutgoingToExternalAppService.cs | 30 +++ ...eArchivedIncomingFromExternalAppService.cs | 30 +++ ...xchangeArchivedOutgoingFromWmAppService.cs | 30 +++ ...aExchangeIncomingFromExternalAppService.cs | 30 +++ .../DataExchangeMessageReceiveAppService.cs | 30 +++ .../DataExchangeOutgoingFromWmAppService.cs | 30 +++ .../Z_Business/IncomingToWmAppService.cs | 30 +++ .../OutgoingToExternalAppService.cs | 30 +++ .../Localization/Dy_Exchange/ar.json | 193 +++++++++++++++++- .../DataExchangeInterfaceConfig.cs | 2 + .../IArchivedOutgoingToExternalRepository.cs | 11 + ...eArchivedIncomingFromExternalRepository.cs | 11 + ...xchangeArchivedOutgoingFromWmRepository.cs | 11 + ...aExchangeIncomingFromExternalRepository.cs | 11 + .../IDataExchangeMessageReceiveRepository.cs | 11 + .../IDataExchangeOutgoingFromWmRepository.cs | 11 + .../Z_Business/IIncomingToWmRepository.cs | 11 + .../IOutgoingToExternalRepository.cs | 11 + .../Dy_ExchangeDbContext.cs | 112 ++++++++++ .../Dy_ExchangeEntityFrameworkCoreModule.cs | 8 + ...goingToExternalEfCoreQuerableExtensions.cs | 22 ++ .../ArchivedOutgoingToExternalRepository.cs | 20 ++ ...ingFromExternalEfCoreQuerableExtensions.cs | 22 ++ ...eArchivedIncomingFromExternalRepository.cs | 20 ++ ...dOutgoingFromWmEfCoreQuerableExtensions.cs | 22 ++ ...xchangeArchivedOutgoingFromWmRepository.cs | 20 ++ ...ingFromExternalEfCoreQuerableExtensions.cs | 22 ++ ...aExchangeIncomingFromExternalRepository.cs | 20 ++ ...eMessageReceiveEfCoreQuerableExtensions.cs | 22 ++ .../DataExchangeMessageReceiveRepository.cs | 20 ++ ...eOutgoingFromWmEfCoreQuerableExtensions.cs | 22 ++ .../DataExchangeOutgoingFromWmRepository.cs | 20 ++ .../IncomingToWmEfCoreQuerableExtensions.cs | 22 ++ .../Z_Business/IncomingToWmRepository.cs | 20 ++ ...goingToExternalEfCoreQuerableExtensions.cs | 22 ++ .../OutgoingToExternalRepository.cs | 20 ++ .../Dy_Exchange.HttpApi.Host/appsettings.json | 2 +- .../appsettings.json | 3 +- 66 files changed, 3024 insertions(+), 35 deletions(-) create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedOutgoingToExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedOutgoingToExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedIncomingFromExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedOutgoingFromWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeIncomingFromExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeMessageReceiveDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeOutgoingFromWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateIncomingToWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateOutgoingToExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedIncomingFromExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedOutgoingFromWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeIncomingFromExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeMessageReceiveDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeOutgoingFromWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/IncomingToWmDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/OutgoingToExternalDto.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedOutgoingToExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedIncomingFromExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedOutgoingFromWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeIncomingFromExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeMessageReceiveAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeOutgoingFromWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IIncomingToWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IOutgoingToExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedOutgoingToExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedIncomingFromExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedOutgoingFromWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeIncomingFromExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeMessageReceiveAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeOutgoingFromWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/IncomingToWmAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/OutgoingToExternalAppService.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedOutgoingToExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedIncomingFromExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedOutgoingFromWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeIncomingFromExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeMessageReceiveRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeOutgoingFromWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IIncomingToWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IOutgoingToExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmRepository.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalEfCoreQuerableExtensions.cs create mode 100644 InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalRepository.cs diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs index 83d599d36..3eb872fdf 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissionDefinitionProvider.cs @@ -21,6 +21,46 @@ public class Dy_ExchangePermissionDefinitionProvider : PermissionDefinitionProvi archivedIncomingToWmPermission.AddChild(Dy_ExchangePermissions.ArchivedIncomingToWm.Create, L("Permission:Create")); archivedIncomingToWmPermission.AddChild(Dy_ExchangePermissions.ArchivedIncomingToWm.Update, L("Permission:Update")); archivedIncomingToWmPermission.AddChild(Dy_ExchangePermissions.ArchivedIncomingToWm.Delete, L("Permission:Delete")); + + var archivedOutgoingToExternalPermission = myGroup.AddPermission(Dy_ExchangePermissions.ArchivedOutgoingToExternal.Default, L("Permission:ArchivedOutgoingToExternal")); + archivedOutgoingToExternalPermission.AddChild(Dy_ExchangePermissions.ArchivedOutgoingToExternal.Create, L("Permission:Create")); + archivedOutgoingToExternalPermission.AddChild(Dy_ExchangePermissions.ArchivedOutgoingToExternal.Update, L("Permission:Update")); + archivedOutgoingToExternalPermission.AddChild(Dy_ExchangePermissions.ArchivedOutgoingToExternal.Delete, L("Permission:Delete")); + + var dataExchangeArchivedIncomingFromExternalPermission = myGroup.AddPermission(Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Default, L("Permission:DataExchangeArchivedIncomingFromExternal")); + dataExchangeArchivedIncomingFromExternalPermission.AddChild(Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Create, L("Permission:Create")); + dataExchangeArchivedIncomingFromExternalPermission.AddChild(Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Update, L("Permission:Update")); + dataExchangeArchivedIncomingFromExternalPermission.AddChild(Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Delete, L("Permission:Delete")); + + var dataExchangeArchivedOutgoingFromWmPermission = myGroup.AddPermission(Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Default, L("Permission:DataExchangeArchivedOutgoingFromWm")); + dataExchangeArchivedOutgoingFromWmPermission.AddChild(Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Create, L("Permission:Create")); + dataExchangeArchivedOutgoingFromWmPermission.AddChild(Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Update, L("Permission:Update")); + dataExchangeArchivedOutgoingFromWmPermission.AddChild(Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Delete, L("Permission:Delete")); + + var dataExchangeIncomingFromExternalPermission = myGroup.AddPermission(Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Default, L("Permission:DataExchangeIncomingFromExternal")); + dataExchangeIncomingFromExternalPermission.AddChild(Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Create, L("Permission:Create")); + dataExchangeIncomingFromExternalPermission.AddChild(Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Update, L("Permission:Update")); + dataExchangeIncomingFromExternalPermission.AddChild(Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Delete, L("Permission:Delete")); + + var dataExchangeMessageReceivePermission = myGroup.AddPermission(Dy_ExchangePermissions.DataExchangeMessageReceive.Default, L("Permission:DataExchangeMessageReceive")); + dataExchangeMessageReceivePermission.AddChild(Dy_ExchangePermissions.DataExchangeMessageReceive.Create, L("Permission:Create")); + dataExchangeMessageReceivePermission.AddChild(Dy_ExchangePermissions.DataExchangeMessageReceive.Update, L("Permission:Update")); + dataExchangeMessageReceivePermission.AddChild(Dy_ExchangePermissions.DataExchangeMessageReceive.Delete, L("Permission:Delete")); + + var dataExchangeOutgoingFromWmPermission = myGroup.AddPermission(Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Default, L("Permission:DataExchangeOutgoingFromWm")); + dataExchangeOutgoingFromWmPermission.AddChild(Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Create, L("Permission:Create")); + dataExchangeOutgoingFromWmPermission.AddChild(Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Update, L("Permission:Update")); + dataExchangeOutgoingFromWmPermission.AddChild(Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Delete, L("Permission:Delete")); + + var incomingToWmPermission = myGroup.AddPermission(Dy_ExchangePermissions.IncomingToWm.Default, L("Permission:IncomingToWm")); + incomingToWmPermission.AddChild(Dy_ExchangePermissions.IncomingToWm.Create, L("Permission:Create")); + incomingToWmPermission.AddChild(Dy_ExchangePermissions.IncomingToWm.Update, L("Permission:Update")); + incomingToWmPermission.AddChild(Dy_ExchangePermissions.IncomingToWm.Delete, L("Permission:Delete")); + + var outgoingToExternalPermission = myGroup.AddPermission(Dy_ExchangePermissions.OutgoingToExternal.Default, L("Permission:OutgoingToExternal")); + outgoingToExternalPermission.AddChild(Dy_ExchangePermissions.OutgoingToExternal.Create, L("Permission:Create")); + outgoingToExternalPermission.AddChild(Dy_ExchangePermissions.OutgoingToExternal.Update, L("Permission:Update")); + outgoingToExternalPermission.AddChild(Dy_ExchangePermissions.OutgoingToExternal.Delete, L("Permission:Delete")); } private static LocalizableString L(string name) diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs index 7ed52aa4b..af9e69789 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Permissions/Dy_ExchangePermissions.cs @@ -36,4 +36,84 @@ public static class Dy_ExchangePermissions public const string Create = Default + ".Create"; public const string Delete = Default + ".Delete"; } + /// + /// + /// + public class ArchivedOutgoingToExternal + { + public const string Default = GroupName + ".ArchivedOutgoingToExternal"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class DataExchangeArchivedIncomingFromExternal + { + public const string Default = GroupName + ".DataExchangeArchivedIncomingFromExternal"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class DataExchangeArchivedOutgoingFromWm + { + public const string Default = GroupName + ".DataExchangeArchivedOutgoingFromWm"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class DataExchangeIncomingFromExternal + { + public const string Default = GroupName + ".DataExchangeIncomingFromExternal"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class DataExchangeMessageReceive + { + public const string Default = GroupName + ".DataExchangeMessageReceive"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class DataExchangeOutgoingFromWm + { + public const string Default = GroupName + ".DataExchangeOutgoingFromWm"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class IncomingToWm + { + public const string Default = GroupName + ".IncomingToWm"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } + /// + /// + /// + public class OutgoingToExternal + { + public const string Default = GroupName + ".OutgoingToExternal"; + public const string Update = Default + ".Update"; + public const string Create = Default + ".Create"; + public const string Delete = Default + ".Delete"; + } } diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedOutgoingToExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedOutgoingToExternalDto.cs new file mode 100644 index 000000000..a9b2f0224 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/ArchivedOutgoingToExternalDto.cs @@ -0,0 +1,126 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class ArchivedOutgoingToExternalDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string? DataType { get; set; } + + /// + /// + /// + public int TableType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public int Status { get; set; } + + /// + /// + /// + public string? SourceSystem { get; set; } + + /// + /// + /// + public string? SourceDataId { get; set; } + + /// + /// + /// + public string? SourceDataGroupCode { get; set; } + + /// + /// + /// + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + public string? SourceDataContent { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public string? Writer { get; set; } + + /// + /// + /// + public string? DestinationDataId { get; set; } + + /// + /// + /// + public string? DestinationDataContent { get; set; } + + /// + /// + /// + public string? DestinationSystem { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public string? Reader { get; set; } + + /// + /// + /// + public int ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } + + /// + /// + /// + public string? SerialNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedOutgoingToExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedOutgoingToExternalDto.cs new file mode 100644 index 000000000..4969f2069 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateArchivedOutgoingToExternalDto.cs @@ -0,0 +1,146 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateArchivedOutgoingToExternalDto +{ + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalDataType")] + public string? DataType { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalTableType")] + public int TableType { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalStatus")] + public int Status { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalSourceSystem")] + public string? SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalSourceDataId")] + public string? SourceDataId { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalSourceDataGroupCode")] + public string? SourceDataGroupCode { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalSourceDataDetailCode")] + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalSourceDataContent")] + public string? SourceDataContent { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalWriter")] + public string? Writer { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalDestinationDataId")] + public string? DestinationDataId { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalDestinationDataContent")] + public string? DestinationDataContent { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalDestinationSystem")] + public string? DestinationSystem { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalReader")] + public string? Reader { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalErrorCode")] + public int ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalRetryTimes")] + public int RetryTimes { get; set; } + + /// + /// + /// + [DisplayName("ArchivedOutgoingToExternalSerialNumber")] + public string? SerialNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedIncomingFromExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedIncomingFromExternalDto.cs new file mode 100644 index 000000000..cc8507c5a --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedIncomingFromExternalDto.cs @@ -0,0 +1,140 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateDataExchangeArchivedIncomingFromExternalDto +{ + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalDataType")] + public string DataType { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalTableType")] + public int TableType { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalStatus")] + public string Status { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalSourceSystem")] + public string SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalSourceDataId")] + public string SourceDataId { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalSourceDataGroupCode")] + public string SourceDataGroupCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalSourceDataDetailCode")] + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalSourceDataContent")] + public string? SourceDataContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalWriter")] + public string? Writer { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalDestinationDataId")] + public string? DestinationDataId { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalDestinationDataContent")] + public string? DestinationDataContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalDestinationSystem")] + public string DestinationSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalReader")] + public string? Reader { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalErrorCode")] + public string ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedIncomingFromExternalRetryTimes")] + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedOutgoingFromWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedOutgoingFromWmDto.cs new file mode 100644 index 000000000..86503dc05 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeArchivedOutgoingFromWmDto.cs @@ -0,0 +1,98 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateDataExchangeArchivedOutgoingFromWmDto +{ + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmDataType")] + public string DataType { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmStatus")] + public string Status { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmDataIdentityCode")] + public string DataIdentityCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmDataContent")] + public string? DataContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmSourceSystem")] + public string? SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmErrorCode")] + public string ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmRetryTimes")] + public int RetryTimes { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeArchivedOutgoingFromWmTyrpNumber")] + public string? TyrpNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeIncomingFromExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeIncomingFromExternalDto.cs new file mode 100644 index 000000000..6aef7f598 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeIncomingFromExternalDto.cs @@ -0,0 +1,140 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateDataExchangeIncomingFromExternalDto +{ + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalDataType")] + public string DataType { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalTableType")] + public int TableType { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalStatus")] + public string Status { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalSourceSystem")] + public string SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalSourceDataId")] + public string SourceDataId { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalSourceDataGroupCode")] + public string SourceDataGroupCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalSourceDataDetailCode")] + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalSourceDataContent")] + public string? SourceDataContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalWriter")] + public string? Writer { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalDestinationDataId")] + public string? DestinationDataId { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalDestinationDataContent")] + public string? DestinationDataContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalDestinationSystem")] + public string DestinationSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalReader")] + public string? Reader { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalErrorCode")] + public string ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeIncomingFromExternalRetryTimes")] + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeMessageReceiveDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeMessageReceiveDto.cs new file mode 100644 index 000000000..fd54afff0 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeMessageReceiveDto.cs @@ -0,0 +1,56 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateDataExchangeMessageReceiveDto +{ + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveMessageFileName")] + public string? MessageFileName { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveMessageContent")] + public string? MessageContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveReceiveStatus")] + public string ReceiveStatus { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveReceiveTime")] + public DateTime ReceiveTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveLastUpdateTime")] + public DateTime? LastUpdateTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveErrorCount")] + public int? ErrorCount { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeMessageReceiveType")] + public string? Type { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeOutgoingFromWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeOutgoingFromWmDto.cs new file mode 100644 index 000000000..992ad37e0 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateDataExchangeOutgoingFromWmDto.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateDataExchangeOutgoingFromWmDto +{ + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmDestinationSystem")] + public string DestinationSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmDataType")] + public string DataType { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmStatus")] + public string Status { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmDataIdentityCode")] + public string DataIdentityCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmDataContent")] + public string? DataContent { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmSourceSystem")] + public string? SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmErrorCode")] + public string ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmRetryTimes")] + public int RetryTimes { get; set; } + + /// + /// + /// + [DisplayName("DataExchangeOutgoingFromWmTyrpNumber")] + public string? TyrpNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateIncomingToWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateIncomingToWmDto.cs new file mode 100644 index 000000000..742060be6 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateIncomingToWmDto.cs @@ -0,0 +1,92 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateIncomingToWmDto +{ + /// + /// + /// + [DisplayName("IncomingToWmNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmDataType")] + public string? DataType { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmStatus")] + public int Status { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmDataIdentityCode")] + public string? DataIdentityCode { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmDataContent")] + public string? DataContent { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmSourceSystem")] + public string? SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmErrorCode")] + public int ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("IncomingToWmRetryTimes")] + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateOutgoingToExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateOutgoingToExternalDto.cs new file mode 100644 index 000000000..b2f71a8a0 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/CreateUpdateOutgoingToExternalDto.cs @@ -0,0 +1,146 @@ +using System; +using System.ComponentModel; + +namespace Dy_Exchange.Z_Business.Dtos; + +[Serializable] +public class CreateUpdateOutgoingToExternalDto +{ + /// + /// + /// + [DisplayName("OutgoingToExternalNumber")] + public long Number { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalRemark")] + public string? Remark { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalDataType")] + public string? DataType { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalTableType")] + public int TableType { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalDataAction")] + public int DataAction { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalEffectiveDate")] + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalStatus")] + public int Status { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalSourceSystem")] + public string? SourceSystem { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalSourceDataId")] + public string? SourceDataId { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalSourceDataGroupCode")] + public string? SourceDataGroupCode { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalSourceDataDetailCode")] + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalSourceDataContent")] + public string? SourceDataContent { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalWriteTime")] + public DateTime WriteTime { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalWriter")] + public string? Writer { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalDestinationDataId")] + public string? DestinationDataId { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalDestinationDataContent")] + public string? DestinationDataContent { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalDestinationSystem")] + public string? DestinationSystem { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalReadTime")] + public DateTime? ReadTime { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalReader")] + public string? Reader { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalErrorCode")] + public int ErrorCode { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalErrorMessage")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalRetryTimes")] + public int RetryTimes { get; set; } + + /// + /// + /// + [DisplayName("OutgoingToExternalSerialNumber")] + public string? SerialNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedIncomingFromExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedIncomingFromExternalDto.cs new file mode 100644 index 000000000..8c34e577d --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedIncomingFromExternalDto.cs @@ -0,0 +1,121 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class DataExchangeArchivedIncomingFromExternalDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string DataType { get; set; } + + /// + /// + /// + public int TableType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public string Status { get; set; } + + /// + /// + /// + public string SourceSystem { get; set; } + + /// + /// + /// + public string SourceDataId { get; set; } + + /// + /// + /// + public string SourceDataGroupCode { get; set; } + + /// + /// + /// + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + public string? SourceDataContent { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public string? Writer { get; set; } + + /// + /// + /// + public string? DestinationDataId { get; set; } + + /// + /// + /// + public string? DestinationDataContent { get; set; } + + /// + /// + /// + public string DestinationSystem { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public string? Reader { get; set; } + + /// + /// + /// + public string ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedOutgoingFromWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedOutgoingFromWmDto.cs new file mode 100644 index 000000000..f3defcb16 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeArchivedOutgoingFromWmDto.cs @@ -0,0 +1,86 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class DataExchangeArchivedOutgoingFromWmDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string DataType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public string Status { get; set; } + + /// + /// + /// + public string DataIdentityCode { get; set; } + + /// + /// + /// + public string? DataContent { get; set; } + + /// + /// + /// + public string? SourceSystem { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public string ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } + + /// + /// + /// + public string? TyrpNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeIncomingFromExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeIncomingFromExternalDto.cs new file mode 100644 index 000000000..9c0009e7b --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeIncomingFromExternalDto.cs @@ -0,0 +1,121 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class DataExchangeIncomingFromExternalDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string DataType { get; set; } + + /// + /// + /// + public int TableType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public string Status { get; set; } + + /// + /// + /// + public string SourceSystem { get; set; } + + /// + /// + /// + public string SourceDataId { get; set; } + + /// + /// + /// + public string SourceDataGroupCode { get; set; } + + /// + /// + /// + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + public string? SourceDataContent { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public string? Writer { get; set; } + + /// + /// + /// + public string? DestinationDataId { get; set; } + + /// + /// + /// + public string? DestinationDataContent { get; set; } + + /// + /// + /// + public string DestinationSystem { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public string? Reader { get; set; } + + /// + /// + /// + public string ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeInterfaceConfigDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeInterfaceConfigDto.cs index 250d232e0..e78519da3 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeInterfaceConfigDto.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeInterfaceConfigDto.cs @@ -4,45 +4,27 @@ using Volo.Abp.Application.Dtos; namespace Dy_Exchange.Z_Business.Dtos; /// -/// /// [Serializable] public class DataExchangeInterfaceConfigDto : AuditedEntityDto { + /// + /// + public string? Name { get; set; } - /// - /// - /// - public string? Name { get; set; } + /// + /// + public string? Code { get; set; } - /// - /// - /// - public string? Code { get; set; } + /// + /// + public bool Active { get; set; } - /// - /// - /// - public bool Active { get; set; } + /// + /// + public int Level { get; set; } - /// - /// - /// - public int Level { get; set; } + public string? Remark { get; set; } - /// - /// - /// - - - /// - /// - /// - - - - /// - /// - /// - public string? Remark { get; set; } + public int? Status { get; set; } } \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeMessageReceiveDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeMessageReceiveDto.cs new file mode 100644 index 000000000..c5a20b118 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeMessageReceiveDto.cs @@ -0,0 +1,51 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class DataExchangeMessageReceiveDto : AuditedEntityDto +{ + /// + /// + /// + public string? MessageFileName { get; set; } + + /// + /// + /// + public string? MessageContent { get; set; } + + /// + /// + /// + public string ReceiveStatus { get; set; } + + /// + /// + /// + public DateTime ReceiveTime { get; set; } + + /// + /// + /// + public DateTime? LastUpdateTime { get; set; } + + /// + /// + /// + public int? ErrorCount { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public string? Type { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeOutgoingFromWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeOutgoingFromWmDto.cs new file mode 100644 index 000000000..ea7faf764 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/DataExchangeOutgoingFromWmDto.cs @@ -0,0 +1,91 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class DataExchangeOutgoingFromWmDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string DestinationSystem { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string DataType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public string Status { get; set; } + + /// + /// + /// + public string DataIdentityCode { get; set; } + + /// + /// + /// + public string? DataContent { get; set; } + + /// + /// + /// + public string? SourceSystem { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public string ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } + + /// + /// + /// + public string? TyrpNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/IncomingToWmDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/IncomingToWmDto.cs new file mode 100644 index 000000000..ccaccb674 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/IncomingToWmDto.cs @@ -0,0 +1,81 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class IncomingToWmDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string? DataType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public int Status { get; set; } + + /// + /// + /// + public string? DataIdentityCode { get; set; } + + /// + /// + /// + public string? DataContent { get; set; } + + /// + /// + /// + public string? SourceSystem { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public int ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/OutgoingToExternalDto.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/OutgoingToExternalDto.cs new file mode 100644 index 000000000..c6e266074 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/Dtos/OutgoingToExternalDto.cs @@ -0,0 +1,126 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Dy_Exchange.Z_Business.Dtos; + +/// +/// +/// +[Serializable] +public class OutgoingToExternalDto : AuditedEntityDto +{ + /// + /// + /// + public long Number { get; set; } + + /// + /// + /// + public string? Remark { get; set; } + + /// + /// + /// + public string? DataType { get; set; } + + /// + /// + /// + public int TableType { get; set; } + + /// + /// + /// + public int DataAction { get; set; } + + /// + /// + /// + public DateTime EffectiveDate { get; set; } + + /// + /// + /// + public int Status { get; set; } + + /// + /// + /// + public string? SourceSystem { get; set; } + + /// + /// + /// + public string? SourceDataId { get; set; } + + /// + /// + /// + public string? SourceDataGroupCode { get; set; } + + /// + /// + /// + public string? SourceDataDetailCode { get; set; } + + /// + /// + /// + public string? SourceDataContent { get; set; } + + /// + /// + /// + public DateTime WriteTime { get; set; } + + /// + /// + /// + public string? Writer { get; set; } + + /// + /// + /// + public string? DestinationDataId { get; set; } + + /// + /// + /// + public string? DestinationDataContent { get; set; } + + /// + /// + /// + public string? DestinationSystem { get; set; } + + /// + /// + /// + public DateTime? ReadTime { get; set; } + + /// + /// + /// + public string? Reader { get; set; } + + /// + /// + /// + public int ErrorCode { get; set; } + + /// + /// + /// + public string? ErrorMessage { get; set; } + + /// + /// + /// + public int RetryTimes { get; set; } + + /// + /// + /// + public string? SerialNumber { get; set; } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedOutgoingToExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedOutgoingToExternalAppService.cs new file mode 100644 index 000000000..525980578 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IArchivedOutgoingToExternalAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IArchivedOutgoingToExternalAppService : + ICrudAppService< + ArchivedOutgoingToExternalDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateArchivedOutgoingToExternalDto, + CreateUpdateArchivedOutgoingToExternalDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedIncomingFromExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedIncomingFromExternalAppService.cs new file mode 100644 index 000000000..175390f75 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedIncomingFromExternalAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IDataExchangeArchivedIncomingFromExternalAppService : + ICrudAppService< + DataExchangeArchivedIncomingFromExternalDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateDataExchangeArchivedIncomingFromExternalDto, + CreateUpdateDataExchangeArchivedIncomingFromExternalDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedOutgoingFromWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedOutgoingFromWmAppService.cs new file mode 100644 index 000000000..1f8bc5b21 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeArchivedOutgoingFromWmAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IDataExchangeArchivedOutgoingFromWmAppService : + ICrudAppService< + DataExchangeArchivedOutgoingFromWmDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateDataExchangeArchivedOutgoingFromWmDto, + CreateUpdateDataExchangeArchivedOutgoingFromWmDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeIncomingFromExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeIncomingFromExternalAppService.cs new file mode 100644 index 000000000..588cbee72 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeIncomingFromExternalAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IDataExchangeIncomingFromExternalAppService : + ICrudAppService< + DataExchangeIncomingFromExternalDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateDataExchangeIncomingFromExternalDto, + CreateUpdateDataExchangeIncomingFromExternalDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeMessageReceiveAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeMessageReceiveAppService.cs new file mode 100644 index 000000000..78279ce12 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeMessageReceiveAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IDataExchangeMessageReceiveAppService : + ICrudAppService< + DataExchangeMessageReceiveDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateDataExchangeMessageReceiveDto, + CreateUpdateDataExchangeMessageReceiveDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeOutgoingFromWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeOutgoingFromWmAppService.cs new file mode 100644 index 000000000..2d9cdb6fc --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IDataExchangeOutgoingFromWmAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IDataExchangeOutgoingFromWmAppService : + ICrudAppService< + DataExchangeOutgoingFromWmDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateDataExchangeOutgoingFromWmDto, + CreateUpdateDataExchangeOutgoingFromWmDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IIncomingToWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IIncomingToWmAppService.cs new file mode 100644 index 000000000..17053ab80 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IIncomingToWmAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IIncomingToWmAppService : + ICrudAppService< + IncomingToWmDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateIncomingToWmDto, + CreateUpdateIncomingToWmDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IOutgoingToExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IOutgoingToExternalAppService.cs new file mode 100644 index 000000000..a8b192505 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application.Contracts/Z_Business/IOutgoingToExternalAppService.cs @@ -0,0 +1,21 @@ +using System; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public interface IOutgoingToExternalAppService : + ICrudAppService< + OutgoingToExternalDto, + Guid, + PagedAndSortedResultRequestDto, + CreateUpdateOutgoingToExternalDto, + CreateUpdateOutgoingToExternalDto> +{ + +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs index 2fa3c8318..ef0404d53 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Dy_ExchangeApplicationAutoMapperProfile.cs @@ -15,5 +15,21 @@ public class Dy_ExchangeApplicationAutoMapperProfile : Profile CreateMap(MemberList.Source); CreateMap(); CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); + CreateMap(); + CreateMap(MemberList.Source); } } diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedOutgoingToExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedOutgoingToExternalAppService.cs new file mode 100644 index 000000000..d682165b3 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/ArchivedOutgoingToExternalAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class ArchivedOutgoingToExternalAppService : ZbxBase, + IArchivedOutgoingToExternalAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.ArchivedOutgoingToExternal.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.ArchivedOutgoingToExternal.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.ArchivedOutgoingToExternal.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.ArchivedOutgoingToExternal.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.ArchivedOutgoingToExternal.Delete; + + private readonly IArchivedOutgoingToExternalRepository _repository; + + public ArchivedOutgoingToExternalAppService(IArchivedOutgoingToExternalRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedIncomingFromExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedIncomingFromExternalAppService.cs new file mode 100644 index 000000000..e15f39d05 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedIncomingFromExternalAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class DataExchangeArchivedIncomingFromExternalAppService : ZbxBase, + IDataExchangeArchivedIncomingFromExternalAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedIncomingFromExternal.Delete; + + private readonly IDataExchangeArchivedIncomingFromExternalRepository _repository; + + public DataExchangeArchivedIncomingFromExternalAppService(IDataExchangeArchivedIncomingFromExternalRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedOutgoingFromWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedOutgoingFromWmAppService.cs new file mode 100644 index 000000000..13ae10107 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeArchivedOutgoingFromWmAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class DataExchangeArchivedOutgoingFromWmAppService : ZbxBase, + IDataExchangeArchivedOutgoingFromWmAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeArchivedOutgoingFromWm.Delete; + + private readonly IDataExchangeArchivedOutgoingFromWmRepository _repository; + + public DataExchangeArchivedOutgoingFromWmAppService(IDataExchangeArchivedOutgoingFromWmRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeIncomingFromExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeIncomingFromExternalAppService.cs new file mode 100644 index 000000000..710d444d3 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeIncomingFromExternalAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class DataExchangeIncomingFromExternalAppService : ZbxBase, + IDataExchangeIncomingFromExternalAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeIncomingFromExternal.Delete; + + private readonly IDataExchangeIncomingFromExternalRepository _repository; + + public DataExchangeIncomingFromExternalAppService(IDataExchangeIncomingFromExternalRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeMessageReceiveAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeMessageReceiveAppService.cs new file mode 100644 index 000000000..2c8174461 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeMessageReceiveAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class DataExchangeMessageReceiveAppService : ZbxBase, + IDataExchangeMessageReceiveAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeMessageReceive.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeMessageReceive.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeMessageReceive.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeMessageReceive.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeMessageReceive.Delete; + + private readonly IDataExchangeMessageReceiveRepository _repository; + + public DataExchangeMessageReceiveAppService(IDataExchangeMessageReceiveRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeOutgoingFromWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeOutgoingFromWmAppService.cs new file mode 100644 index 000000000..607371698 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/DataExchangeOutgoingFromWmAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class DataExchangeOutgoingFromWmAppService : ZbxBase, + IDataExchangeOutgoingFromWmAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.DataExchangeOutgoingFromWm.Delete; + + private readonly IDataExchangeOutgoingFromWmRepository _repository; + + public DataExchangeOutgoingFromWmAppService(IDataExchangeOutgoingFromWmRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/IncomingToWmAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/IncomingToWmAppService.cs new file mode 100644 index 000000000..3e633c472 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/IncomingToWmAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class IncomingToWmAppService : ZbxBase, + IIncomingToWmAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.IncomingToWm.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.IncomingToWm.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.IncomingToWm.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.IncomingToWm.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.IncomingToWm.Delete; + + private readonly IIncomingToWmRepository _repository; + + public IncomingToWmAppService(IIncomingToWmRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/OutgoingToExternalAppService.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/OutgoingToExternalAppService.cs new file mode 100644 index 000000000..b0e25658c --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Application/Z_Business/OutgoingToExternalAppService.cs @@ -0,0 +1,30 @@ +using System; +using Dy_Exchange.Permissions; +using Dy_Exchange.Z_Business.Dtos; +using Volo.Abp.Application.Dtos; +using Volo.Abp.Application.Services; +using WinIn.FasterZ.Wms.AppBase; + +namespace Dy_Exchange.Z_Business; + + +/// +/// +/// +public class OutgoingToExternalAppService : ZbxBase, + IOutgoingToExternalAppService +{ + protected override string GetPolicyName { get; set; } = Dy_ExchangePermissions.OutgoingToExternal.Default; + protected override string GetListPolicyName { get; set; } = Dy_ExchangePermissions.OutgoingToExternal.Default; + protected override string CreatePolicyName { get; set; } = Dy_ExchangePermissions.OutgoingToExternal.Create; + protected override string UpdatePolicyName { get; set; } = Dy_ExchangePermissions.OutgoingToExternal.Update; + protected override string DeletePolicyName { get; set; } = Dy_ExchangePermissions.OutgoingToExternal.Delete; + + private readonly IOutgoingToExternalRepository _repository; + + public OutgoingToExternalAppService(IOutgoingToExternalRepository repository) : base(repository) + { + _repository = repository; + } + +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json index 1f57ee66d..1a6dc0ca1 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain.Shared/Localization/Dy_Exchange/ar.json @@ -45,6 +45,197 @@ "ArchivedIncomingToWmRetryTimes": "ArchivedIncomingToWmRetryTimes", "CreateArchivedIncomingToWm": "CreateArchivedIncomingToWm", "EditArchivedIncomingToWm": "EditArchivedIncomingToWm", - "ArchivedIncomingToWmDeletionConfirmationMessage": "Are you sure to delete the archivedIncomingToWm {0}?" + "ArchivedIncomingToWmDeletionConfirmationMessage": "Are you sure to delete the archivedIncomingToWm {0}?", + "Permission:ArchivedOutgoingToExternal": "ArchivedOutgoingToExternal", + "Menu:ArchivedOutgoingToExternal": "MenuArchivedOutgoingToExternal", + "ArchivedOutgoingToExternal": "ArchivedOutgoingToExternal", + "ArchivedOutgoingToExternalNumber": "ArchivedOutgoingToExternalNumber", + "ArchivedOutgoingToExternalRemark": "ArchivedOutgoingToExternalRemark", + "ArchivedOutgoingToExternalDataType": "ArchivedOutgoingToExternalDataType", + "ArchivedOutgoingToExternalTableType": "ArchivedOutgoingToExternalTableType", + "ArchivedOutgoingToExternalDataAction": "ArchivedOutgoingToExternalDataAction", + "ArchivedOutgoingToExternalEffectiveDate": "ArchivedOutgoingToExternalEffectiveDate", + "ArchivedOutgoingToExternalStatus": "ArchivedOutgoingToExternalStatus", + "ArchivedOutgoingToExternalSourceSystem": "ArchivedOutgoingToExternalSourceSystem", + "ArchivedOutgoingToExternalSourceDataId": "ArchivedOutgoingToExternalSourceDataId", + "ArchivedOutgoingToExternalSourceDataGroupCode": "ArchivedOutgoingToExternalSourceDataGroupCode", + "ArchivedOutgoingToExternalSourceDataDetailCode": "ArchivedOutgoingToExternalSourceDataDetailCode", + "ArchivedOutgoingToExternalSourceDataContent": "ArchivedOutgoingToExternalSourceDataContent", + "ArchivedOutgoingToExternalWriteTime": "ArchivedOutgoingToExternalWriteTime", + "ArchivedOutgoingToExternalWriter": "ArchivedOutgoingToExternalWriter", + "ArchivedOutgoingToExternalDestinationDataId": "ArchivedOutgoingToExternalDestinationDataId", + "ArchivedOutgoingToExternalDestinationDataContent": "ArchivedOutgoingToExternalDestinationDataContent", + "ArchivedOutgoingToExternalDestinationSystem": "ArchivedOutgoingToExternalDestinationSystem", + "ArchivedOutgoingToExternalReadTime": "ArchivedOutgoingToExternalReadTime", + "ArchivedOutgoingToExternalReader": "ArchivedOutgoingToExternalReader", + "ArchivedOutgoingToExternalErrorCode": "ArchivedOutgoingToExternalErrorCode", + "ArchivedOutgoingToExternalErrorMessage": "ArchivedOutgoingToExternalErrorMessage", + "ArchivedOutgoingToExternalRetryTimes": "ArchivedOutgoingToExternalRetryTimes", + "ArchivedOutgoingToExternalSerialNumber": "ArchivedOutgoingToExternalSerialNumber", + "CreateArchivedOutgoingToExternal": "CreateArchivedOutgoingToExternal", + "EditArchivedOutgoingToExternal": "EditArchivedOutgoingToExternal", + "ArchivedOutgoingToExternalDeletionConfirmationMessage": "Are you sure to delete the archivedOutgoingToExternal {0}?", + "Permission:DataExchangeArchivedIncomingFromExternal": "DataExchangeArchivedIncomingFromExternal", + "Menu:DataExchangeArchivedIncomingFromExternal": "MenuDataExchangeArchivedIncomingFromExternal", + "DataExchangeArchivedIncomingFromExternal": "DataExchangeArchivedIncomingFromExternal", + "DataExchangeArchivedIncomingFromExternalNumber": "DataExchangeArchivedIncomingFromExternalNumber", + "DataExchangeArchivedIncomingFromExternalRemark": "DataExchangeArchivedIncomingFromExternalRemark", + "DataExchangeArchivedIncomingFromExternalDataType": "DataExchangeArchivedIncomingFromExternalDataType", + "DataExchangeArchivedIncomingFromExternalTableType": "DataExchangeArchivedIncomingFromExternalTableType", + "DataExchangeArchivedIncomingFromExternalDataAction": "DataExchangeArchivedIncomingFromExternalDataAction", + "DataExchangeArchivedIncomingFromExternalEffectiveDate": "DataExchangeArchivedIncomingFromExternalEffectiveDate", + "DataExchangeArchivedIncomingFromExternalStatus": "DataExchangeArchivedIncomingFromExternalStatus", + "DataExchangeArchivedIncomingFromExternalSourceSystem": "DataExchangeArchivedIncomingFromExternalSourceSystem", + "DataExchangeArchivedIncomingFromExternalSourceDataId": "DataExchangeArchivedIncomingFromExternalSourceDataId", + "DataExchangeArchivedIncomingFromExternalSourceDataGroupCode": "DataExchangeArchivedIncomingFromExternalSourceDataGroupCode", + "DataExchangeArchivedIncomingFromExternalSourceDataDetailCode": "DataExchangeArchivedIncomingFromExternalSourceDataDetailCode", + "DataExchangeArchivedIncomingFromExternalSourceDataContent": "DataExchangeArchivedIncomingFromExternalSourceDataContent", + "DataExchangeArchivedIncomingFromExternalWriteTime": "DataExchangeArchivedIncomingFromExternalWriteTime", + "DataExchangeArchivedIncomingFromExternalWriter": "DataExchangeArchivedIncomingFromExternalWriter", + "DataExchangeArchivedIncomingFromExternalDestinationDataId": "DataExchangeArchivedIncomingFromExternalDestinationDataId", + "DataExchangeArchivedIncomingFromExternalDestinationDataContent": "DataExchangeArchivedIncomingFromExternalDestinationDataContent", + "DataExchangeArchivedIncomingFromExternalDestinationSystem": "DataExchangeArchivedIncomingFromExternalDestinationSystem", + "DataExchangeArchivedIncomingFromExternalReadTime": "DataExchangeArchivedIncomingFromExternalReadTime", + "DataExchangeArchivedIncomingFromExternalReader": "DataExchangeArchivedIncomingFromExternalReader", + "DataExchangeArchivedIncomingFromExternalErrorCode": "DataExchangeArchivedIncomingFromExternalErrorCode", + "DataExchangeArchivedIncomingFromExternalErrorMessage": "DataExchangeArchivedIncomingFromExternalErrorMessage", + "DataExchangeArchivedIncomingFromExternalRetryTimes": "DataExchangeArchivedIncomingFromExternalRetryTimes", + "CreateDataExchangeArchivedIncomingFromExternal": "CreateDataExchangeArchivedIncomingFromExternal", + "EditDataExchangeArchivedIncomingFromExternal": "EditDataExchangeArchivedIncomingFromExternal", + "DataExchangeArchivedIncomingFromExternalDeletionConfirmationMessage": "Are you sure to delete the dataExchangeArchivedIncomingFromExternal {0}?", + "Permission:DataExchangeArchivedOutgoingFromWm": "DataExchangeArchivedOutgoingFromWm", + "Menu:DataExchangeArchivedOutgoingFromWm": "MenuDataExchangeArchivedOutgoingFromWm", + "DataExchangeArchivedOutgoingFromWm": "DataExchangeArchivedOutgoingFromWm", + "DataExchangeArchivedOutgoingFromWmNumber": "DataExchangeArchivedOutgoingFromWmNumber", + "DataExchangeArchivedOutgoingFromWmRemark": "DataExchangeArchivedOutgoingFromWmRemark", + "DataExchangeArchivedOutgoingFromWmDataType": "DataExchangeArchivedOutgoingFromWmDataType", + "DataExchangeArchivedOutgoingFromWmDataAction": "DataExchangeArchivedOutgoingFromWmDataAction", + "DataExchangeArchivedOutgoingFromWmEffectiveDate": "DataExchangeArchivedOutgoingFromWmEffectiveDate", + "DataExchangeArchivedOutgoingFromWmStatus": "DataExchangeArchivedOutgoingFromWmStatus", + "DataExchangeArchivedOutgoingFromWmDataIdentityCode": "DataExchangeArchivedOutgoingFromWmDataIdentityCode", + "DataExchangeArchivedOutgoingFromWmDataContent": "DataExchangeArchivedOutgoingFromWmDataContent", + "DataExchangeArchivedOutgoingFromWmSourceSystem": "DataExchangeArchivedOutgoingFromWmSourceSystem", + "DataExchangeArchivedOutgoingFromWmWriteTime": "DataExchangeArchivedOutgoingFromWmWriteTime", + "DataExchangeArchivedOutgoingFromWmReadTime": "DataExchangeArchivedOutgoingFromWmReadTime", + "DataExchangeArchivedOutgoingFromWmErrorCode": "DataExchangeArchivedOutgoingFromWmErrorCode", + "DataExchangeArchivedOutgoingFromWmErrorMessage": "DataExchangeArchivedOutgoingFromWmErrorMessage", + "DataExchangeArchivedOutgoingFromWmRetryTimes": "DataExchangeArchivedOutgoingFromWmRetryTimes", + "DataExchangeArchivedOutgoingFromWmTyrpNumber": "DataExchangeArchivedOutgoingFromWmTyrpNumber", + "CreateDataExchangeArchivedOutgoingFromWm": "CreateDataExchangeArchivedOutgoingFromWm", + "EditDataExchangeArchivedOutgoingFromWm": "EditDataExchangeArchivedOutgoingFromWm", + "DataExchangeArchivedOutgoingFromWmDeletionConfirmationMessage": "Are you sure to delete the dataExchangeArchivedOutgoingFromWm {0}?", + "Permission:DataExchangeIncomingFromExternal": "DataExchangeIncomingFromExternal", + "Menu:DataExchangeIncomingFromExternal": "MenuDataExchangeIncomingFromExternal", + "DataExchangeIncomingFromExternal": "DataExchangeIncomingFromExternal", + "DataExchangeIncomingFromExternalNumber": "DataExchangeIncomingFromExternalNumber", + "DataExchangeIncomingFromExternalRemark": "DataExchangeIncomingFromExternalRemark", + "DataExchangeIncomingFromExternalDataType": "DataExchangeIncomingFromExternalDataType", + "DataExchangeIncomingFromExternalTableType": "DataExchangeIncomingFromExternalTableType", + "DataExchangeIncomingFromExternalDataAction": "DataExchangeIncomingFromExternalDataAction", + "DataExchangeIncomingFromExternalEffectiveDate": "DataExchangeIncomingFromExternalEffectiveDate", + "DataExchangeIncomingFromExternalStatus": "DataExchangeIncomingFromExternalStatus", + "DataExchangeIncomingFromExternalSourceSystem": "DataExchangeIncomingFromExternalSourceSystem", + "DataExchangeIncomingFromExternalSourceDataId": "DataExchangeIncomingFromExternalSourceDataId", + "DataExchangeIncomingFromExternalSourceDataGroupCode": "DataExchangeIncomingFromExternalSourceDataGroupCode", + "DataExchangeIncomingFromExternalSourceDataDetailCode": "DataExchangeIncomingFromExternalSourceDataDetailCode", + "DataExchangeIncomingFromExternalSourceDataContent": "DataExchangeIncomingFromExternalSourceDataContent", + "DataExchangeIncomingFromExternalWriteTime": "DataExchangeIncomingFromExternalWriteTime", + "DataExchangeIncomingFromExternalWriter": "DataExchangeIncomingFromExternalWriter", + "DataExchangeIncomingFromExternalDestinationDataId": "DataExchangeIncomingFromExternalDestinationDataId", + "DataExchangeIncomingFromExternalDestinationDataContent": "DataExchangeIncomingFromExternalDestinationDataContent", + "DataExchangeIncomingFromExternalDestinationSystem": "DataExchangeIncomingFromExternalDestinationSystem", + "DataExchangeIncomingFromExternalReadTime": "DataExchangeIncomingFromExternalReadTime", + "DataExchangeIncomingFromExternalReader": "DataExchangeIncomingFromExternalReader", + "DataExchangeIncomingFromExternalErrorCode": "DataExchangeIncomingFromExternalErrorCode", + "DataExchangeIncomingFromExternalErrorMessage": "DataExchangeIncomingFromExternalErrorMessage", + "DataExchangeIncomingFromExternalRetryTimes": "DataExchangeIncomingFromExternalRetryTimes", + "CreateDataExchangeIncomingFromExternal": "CreateDataExchangeIncomingFromExternal", + "EditDataExchangeIncomingFromExternal": "EditDataExchangeIncomingFromExternal", + "DataExchangeIncomingFromExternalDeletionConfirmationMessage": "Are you sure to delete the dataExchangeIncomingFromExternal {0}?", + "Permission:DataExchangeMessageReceive": "DataExchangeMessageReceive", + "Menu:DataExchangeMessageReceive": "MenuDataExchangeMessageReceive", + "DataExchangeMessageReceive": "DataExchangeMessageReceive", + "DataExchangeMessageReceiveMessageFileName": "DataExchangeMessageReceiveMessageFileName", + "DataExchangeMessageReceiveMessageContent": "DataExchangeMessageReceiveMessageContent", + "DataExchangeMessageReceiveReceiveStatus": "DataExchangeMessageReceiveReceiveStatus", + "DataExchangeMessageReceiveReceiveTime": "DataExchangeMessageReceiveReceiveTime", + "DataExchangeMessageReceiveLastUpdateTime": "DataExchangeMessageReceiveLastUpdateTime", + "DataExchangeMessageReceiveErrorCount": "DataExchangeMessageReceiveErrorCount", + "DataExchangeMessageReceiveErrorMessage": "DataExchangeMessageReceiveErrorMessage", + "DataExchangeMessageReceiveType": "DataExchangeMessageReceiveType", + "CreateDataExchangeMessageReceive": "CreateDataExchangeMessageReceive", + "EditDataExchangeMessageReceive": "EditDataExchangeMessageReceive", + "DataExchangeMessageReceiveDeletionConfirmationMessage": "Are you sure to delete the dataExchangeMessageReceive {0}?", + "Permission:DataExchangeOutgoingFromWm": "DataExchangeOutgoingFromWm", + "Menu:DataExchangeOutgoingFromWm": "MenuDataExchangeOutgoingFromWm", + "DataExchangeOutgoingFromWm": "DataExchangeOutgoingFromWm", + "DataExchangeOutgoingFromWmNumber": "DataExchangeOutgoingFromWmNumber", + "DataExchangeOutgoingFromWmDestinationSystem": "DataExchangeOutgoingFromWmDestinationSystem", + "DataExchangeOutgoingFromWmRemark": "DataExchangeOutgoingFromWmRemark", + "DataExchangeOutgoingFromWmDataType": "DataExchangeOutgoingFromWmDataType", + "DataExchangeOutgoingFromWmDataAction": "DataExchangeOutgoingFromWmDataAction", + "DataExchangeOutgoingFromWmEffectiveDate": "DataExchangeOutgoingFromWmEffectiveDate", + "DataExchangeOutgoingFromWmStatus": "DataExchangeOutgoingFromWmStatus", + "DataExchangeOutgoingFromWmDataIdentityCode": "DataExchangeOutgoingFromWmDataIdentityCode", + "DataExchangeOutgoingFromWmDataContent": "DataExchangeOutgoingFromWmDataContent", + "DataExchangeOutgoingFromWmSourceSystem": "DataExchangeOutgoingFromWmSourceSystem", + "DataExchangeOutgoingFromWmWriteTime": "DataExchangeOutgoingFromWmWriteTime", + "DataExchangeOutgoingFromWmReadTime": "DataExchangeOutgoingFromWmReadTime", + "DataExchangeOutgoingFromWmErrorCode": "DataExchangeOutgoingFromWmErrorCode", + "DataExchangeOutgoingFromWmErrorMessage": "DataExchangeOutgoingFromWmErrorMessage", + "DataExchangeOutgoingFromWmRetryTimes": "DataExchangeOutgoingFromWmRetryTimes", + "DataExchangeOutgoingFromWmTyrpNumber": "DataExchangeOutgoingFromWmTyrpNumber", + "CreateDataExchangeOutgoingFromWm": "CreateDataExchangeOutgoingFromWm", + "EditDataExchangeOutgoingFromWm": "EditDataExchangeOutgoingFromWm", + "DataExchangeOutgoingFromWmDeletionConfirmationMessage": "Are you sure to delete the dataExchangeOutgoingFromWm {0}?", + "Permission:IncomingToWm": "IncomingToWm", + "Menu:IncomingToWm": "MenuIncomingToWm", + "IncomingToWm": "IncomingToWm", + "IncomingToWmNumber": "IncomingToWmNumber", + "IncomingToWmRemark": "IncomingToWmRemark", + "IncomingToWmDataType": "IncomingToWmDataType", + "IncomingToWmDataAction": "IncomingToWmDataAction", + "IncomingToWmEffectiveDate": "IncomingToWmEffectiveDate", + "IncomingToWmStatus": "IncomingToWmStatus", + "IncomingToWmDataIdentityCode": "IncomingToWmDataIdentityCode", + "IncomingToWmDataContent": "IncomingToWmDataContent", + "IncomingToWmSourceSystem": "IncomingToWmSourceSystem", + "IncomingToWmWriteTime": "IncomingToWmWriteTime", + "IncomingToWmReadTime": "IncomingToWmReadTime", + "IncomingToWmErrorCode": "IncomingToWmErrorCode", + "IncomingToWmErrorMessage": "IncomingToWmErrorMessage", + "IncomingToWmRetryTimes": "IncomingToWmRetryTimes", + "CreateIncomingToWm": "CreateIncomingToWm", + "EditIncomingToWm": "EditIncomingToWm", + "IncomingToWmDeletionConfirmationMessage": "Are you sure to delete the incomingToWm {0}?", + "Permission:OutgoingToExternal": "OutgoingToExternal", + "Menu:OutgoingToExternal": "MenuOutgoingToExternal", + "OutgoingToExternal": "OutgoingToExternal", + "OutgoingToExternalNumber": "OutgoingToExternalNumber", + "OutgoingToExternalRemark": "OutgoingToExternalRemark", + "OutgoingToExternalDataType": "OutgoingToExternalDataType", + "OutgoingToExternalTableType": "OutgoingToExternalTableType", + "OutgoingToExternalDataAction": "OutgoingToExternalDataAction", + "OutgoingToExternalEffectiveDate": "OutgoingToExternalEffectiveDate", + "OutgoingToExternalStatus": "OutgoingToExternalStatus", + "OutgoingToExternalSourceSystem": "OutgoingToExternalSourceSystem", + "OutgoingToExternalSourceDataId": "OutgoingToExternalSourceDataId", + "OutgoingToExternalSourceDataGroupCode": "OutgoingToExternalSourceDataGroupCode", + "OutgoingToExternalSourceDataDetailCode": "OutgoingToExternalSourceDataDetailCode", + "OutgoingToExternalSourceDataContent": "OutgoingToExternalSourceDataContent", + "OutgoingToExternalWriteTime": "OutgoingToExternalWriteTime", + "OutgoingToExternalWriter": "OutgoingToExternalWriter", + "OutgoingToExternalDestinationDataId": "OutgoingToExternalDestinationDataId", + "OutgoingToExternalDestinationDataContent": "OutgoingToExternalDestinationDataContent", + "OutgoingToExternalDestinationSystem": "OutgoingToExternalDestinationSystem", + "OutgoingToExternalReadTime": "OutgoingToExternalReadTime", + "OutgoingToExternalReader": "OutgoingToExternalReader", + "OutgoingToExternalErrorCode": "OutgoingToExternalErrorCode", + "OutgoingToExternalErrorMessage": "OutgoingToExternalErrorMessage", + "OutgoingToExternalRetryTimes": "OutgoingToExternalRetryTimes", + "OutgoingToExternalSerialNumber": "OutgoingToExternalSerialNumber", + "CreateOutgoingToExternal": "CreateOutgoingToExternal", + "EditOutgoingToExternal": "EditOutgoingToExternal", + "OutgoingToExternalDeletionConfirmationMessage": "Are you sure to delete the outgoingToExternal {0}?" } } \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/DataExchangeInterfaceConfig/DataExchangeInterfaceConfig.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/DataExchangeInterfaceConfig/DataExchangeInterfaceConfig.cs index 31d8eef45..22e7a4acb 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/DataExchangeInterfaceConfig/DataExchangeInterfaceConfig.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/DataExchangeInterfaceConfig/DataExchangeInterfaceConfig.cs @@ -17,4 +17,6 @@ public class DataExchangeInterfaceConfig public Guid? TenantId { get; set; } public string? Remark { get; set; } + + public int? Status { get; set; } } \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedOutgoingToExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedOutgoingToExternalRepository.cs new file mode 100644 index 000000000..589b7960b --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IArchivedOutgoingToExternalRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IArchivedOutgoingToExternalRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedIncomingFromExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedIncomingFromExternalRepository.cs new file mode 100644 index 000000000..d481b9b42 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedIncomingFromExternalRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IDataExchangeArchivedIncomingFromExternalRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedOutgoingFromWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedOutgoingFromWmRepository.cs new file mode 100644 index 000000000..d2d1bc374 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeArchivedOutgoingFromWmRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IDataExchangeArchivedOutgoingFromWmRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeIncomingFromExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeIncomingFromExternalRepository.cs new file mode 100644 index 000000000..fcb144e54 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeIncomingFromExternalRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IDataExchangeIncomingFromExternalRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeMessageReceiveRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeMessageReceiveRepository.cs new file mode 100644 index 000000000..6550b30e5 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeMessageReceiveRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IDataExchangeMessageReceiveRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeOutgoingFromWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeOutgoingFromWmRepository.cs new file mode 100644 index 000000000..d1acb2159 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IDataExchangeOutgoingFromWmRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IDataExchangeOutgoingFromWmRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IIncomingToWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IIncomingToWmRepository.cs new file mode 100644 index 000000000..0774d86db --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IIncomingToWmRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IIncomingToWmRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IOutgoingToExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IOutgoingToExternalRepository.cs new file mode 100644 index 000000000..b465c1a99 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.Domain/Z_Business/IOutgoingToExternalRepository.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Domain.Repositories; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public interface IOutgoingToExternalRepository : IRepository +{ +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs index c00e1bd3d..9f0696d15 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeDbContext.cs @@ -62,6 +62,38 @@ public class Dy_ExchangeDbContext : /// 日志 /// public DbSet ArchivedIncomingToWms { get; set; } + /// + /// + /// + public DbSet ArchivedOutgoingToExternals { get; set; } + /// + /// + /// + public DbSet DataExchangeArchivedIncomingFromExternals { get; set; } + /// + /// + /// + public DbSet DataExchangeArchivedOutgoingFromWms { get; set; } + /// + /// + /// + public DbSet DataExchangeIncomingFromExternals { get; set; } + /// + /// + /// + public DbSet DataExchangeMessageReceives { get; set; } + /// + /// + /// + public DbSet DataExchangeOutgoingFromWms { get; set; } + /// + /// + /// + public DbSet IncomingToWms { get; set; } + /// + /// + /// + public DbSet OutgoingToExternals { get; set; } public Dy_ExchangeDbContext(DbContextOptions options) : base(options) @@ -110,6 +142,86 @@ public class Dy_ExchangeDbContext : b.ConfigureByConvention(); + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "ArchivedOutgoingToExternals", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "DataExchangeArchivedIncomingFromExternals", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "DataExchangeArchivedOutgoingFromWms", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "DataExchangeIncomingFromExternals", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "DataExchangeMessageReceives", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "DataExchangeOutgoingFromWms", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "IncomingToWms", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + + /* Configure more properties here */ + }); + + + builder.Entity(b => + { + b.ToTable(Dy_ExchangeConsts.DbTablePrefix + "OutgoingToExternals", Dy_ExchangeConsts.DbSchema, table => table.HasComment("")); + b.ConfigureByConvention(); + + /* Configure more properties here */ }); } diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs index 277f2eeb2..90ee8df61 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/EntityFrameworkCore/Dy_ExchangeEntityFrameworkCoreModule.cs @@ -44,6 +44,14 @@ public class Dy_ExchangeEntityFrameworkCoreModule : AbpModule options.AddDefaultRepositories(includeAllEntities: true); options.AddRepository(); options.AddRepository(); + options.AddRepository(); + options.AddRepository(); + options.AddRepository(); + options.AddRepository(); + options.AddRepository(); + options.AddRepository(); + options.AddRepository(); + options.AddRepository(); }); Configure(options => diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..99b8dbc7d --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class ArchivedOutgoingToExternalEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalRepository.cs new file mode 100644 index 000000000..a81101215 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/ArchivedOutgoingToExternalRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class ArchivedOutgoingToExternalRepository : EfCoreRepository, IArchivedOutgoingToExternalRepository +{ + public ArchivedOutgoingToExternalRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..93625fa00 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class DataExchangeArchivedIncomingFromExternalEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalRepository.cs new file mode 100644 index 000000000..a89fabf54 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedIncomingFromExternalRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class DataExchangeArchivedIncomingFromExternalRepository : EfCoreRepository, IDataExchangeArchivedIncomingFromExternalRepository +{ + public DataExchangeArchivedIncomingFromExternalRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..27d239bcb --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class DataExchangeArchivedOutgoingFromWmEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmRepository.cs new file mode 100644 index 000000000..3fdf67eae --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeArchivedOutgoingFromWmRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class DataExchangeArchivedOutgoingFromWmRepository : EfCoreRepository, IDataExchangeArchivedOutgoingFromWmRepository +{ + public DataExchangeArchivedOutgoingFromWmRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..89415ed2e --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class DataExchangeIncomingFromExternalEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalRepository.cs new file mode 100644 index 000000000..2298a1578 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeIncomingFromExternalRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class DataExchangeIncomingFromExternalRepository : EfCoreRepository, IDataExchangeIncomingFromExternalRepository +{ + public DataExchangeIncomingFromExternalRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..bcc5485be --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class DataExchangeMessageReceiveEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveRepository.cs new file mode 100644 index 000000000..ac032ee44 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeMessageReceiveRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class DataExchangeMessageReceiveRepository : EfCoreRepository, IDataExchangeMessageReceiveRepository +{ + public DataExchangeMessageReceiveRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..52433d56f --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class DataExchangeOutgoingFromWmEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmRepository.cs new file mode 100644 index 000000000..ffff7c3a5 --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/DataExchangeOutgoingFromWmRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class DataExchangeOutgoingFromWmRepository : EfCoreRepository, IDataExchangeOutgoingFromWmRepository +{ + public DataExchangeOutgoingFromWmRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..617a288bb --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class IncomingToWmEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmRepository.cs new file mode 100644 index 000000000..682b829de --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/IncomingToWmRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class IncomingToWmRepository : EfCoreRepository, IIncomingToWmRepository +{ + public IncomingToWmRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalEfCoreQuerableExtensions.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalEfCoreQuerableExtensions.cs new file mode 100644 index 000000000..3ac4ba9ac --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalEfCoreQuerableExtensions.cs @@ -0,0 +1,22 @@ +using System.Linq; +using Microsoft.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +/// +/// +/// +public static class OutgoingToExternalEfCoreQueryableExtensions +{ + public static IQueryable IncludeDetails(this IQueryable queryable, bool include = true) + { + if (!include) + { + return queryable; + } + + return queryable + // .Include(x => x.xxx) // TODO: AbpHelper generated + ; + } +} diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalRepository.cs b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalRepository.cs new file mode 100644 index 000000000..92919dc3b --- /dev/null +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.EntityFrameworkCore/Z_Business/OutgoingToExternalRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Dy_Exchange.EntityFrameworkCore; +using Volo.Abp.Domain.Repositories.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace Dy_Exchange.Z_Business; + +public class OutgoingToExternalRepository : EfCoreRepository, IOutgoingToExternalRepository +{ + public OutgoingToExternalRepository(IDbContextProvider dbContextProvider) : base(dbContextProvider) + { + } + + public override async Task> WithDetailsAsync() + { + return (await GetQueryableAsync()).IncludeDetails(); + } +} \ No newline at end of file diff --git a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.HttpApi.Host/appsettings.json b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.HttpApi.Host/appsettings.json index 00c757636..ae9e897e7 100644 --- a/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.HttpApi.Host/appsettings.json +++ b/InterFaceContorl/Dy_Exchange/src/Dy_Exchange.HttpApi.Host/appsettings.json @@ -1,6 +1,6 @@ { "App": { - "CorsOrigins": "https://*.Dy_Exchange.com", + "CorsOrigins": "http://192.168.0.146:20033", "Audit": { "IsEnabled": false // 禁用审计功能 // 其他审计相关设置项 diff --git a/InterFaceContorl/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json b/InterFaceContorl/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json index 117d56e2a..8e16e90b5 100644 --- a/InterFaceContorl/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json +++ b/InterFaceContorl/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json @@ -2,7 +2,8 @@ "App": { "SelfUrl": "http://192.168.1.75:60080", "ClientUrl": "http://192.168.1.75:60080,http://192.168.1.75:60081", - "CorsOrigins": "http://192.168.1.75:60080,http://192.168.1.75:60081", + //"CorsOrigins": "http://192.168.1.75:60080,http://192.168.1.75:60081", + "CorsOrigins": "http://192.168.0.146:20033", "RedirectAllowedUrls": "http://192.168.1.75:60080,http://192.168.1.75:60081" }, "ConnectionStrings": {