diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDTO.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDTO.cs
index 4f7c46397..7456dd55e 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDTO.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDTO.cs
@@ -6,7 +6,7 @@ using Win_in.Sfs.Shared.Domain.Shared.Enums.Store;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 非生产领料任务
+/// 非生产领料任务 //??TransferLib实体
///
[Display(Name = "非生产领料任务")]
public class TransferLibJobDTO : SfsJobDTOBase, IHasNumber
@@ -47,4 +47,30 @@ public class TransferLibJobDTO : SfsJobDTOBase, IHasNum
[Display(Name = "确认时间")]
public DateTime? ConfirmTime { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDetailDTO.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDetailDTO.cs
index 140bc8f91..556688977 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDetailDTO.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/DTOs/TransferLibJobDetailDTO.cs
@@ -3,7 +3,9 @@ using Win_in.Sfs.Shared.Domain.Shared;
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibJobDetailDTO : SfsStoreDetailWithFromToDTOBase
{
///
@@ -22,4 +24,30 @@ public class TransferLibJobDetailDTO : SfsStoreDetailWithFromToDTOBase
///
public EnumJobStatus JobStatus { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobCheckInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobCheckInput.cs
index 6b606f80a..6c0da62bb 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobCheckInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobCheckInput.cs
@@ -1,5 +1,7 @@
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibJobCheckInput : SfsJobCheckInputBase
{
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobDetailInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobDetailInput.cs
index c7fc99f54..5a95cf572 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobDetailInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobDetailInput.cs
@@ -5,7 +5,9 @@ using Win_in.Sfs.Shared.Domain.Shared;
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibJobDetailInput : SfsStoreDetailWithFromToInputBase
{
///
@@ -26,4 +28,30 @@ public class TransferLibJobDetailInput : SfsStoreDetailWithFromToInputBase
///
public EnumJobStatus JobStatus { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobEditInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobEditInput.cs
index bcd2cc091..6422ad3dd 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobEditInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Jobs/TransferLibJobs/Inputs/TransferLibJobEditInput.cs
@@ -6,7 +6,9 @@ using Win_in.Sfs.Shared.Domain.Shared;
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibJobEditInput : SfsJobCreateUpdateInputBase, ISfsJobCreateInput
{
#region Base
@@ -59,4 +61,31 @@ public class TransferLibJobEditInput : SfsJobCreateUpdateInputBase, ISfsJobCreat
public string UpStreamJobNumber { get; set; }
public EnumJobType JobType { get; set; }
public bool IsAutoComplete { get; set; }
+
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDTO.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDTO.cs
index ca3b97c07..4c61beb02 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDTO.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDTO.cs
@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 库存转移记录-实体DTO
+/// 库存转移记录-实体DTO //??TransferLib实体
///
public class TransferLibNoteDTO : SfsStoreDTOBase, IHasNumber
{
@@ -43,5 +43,30 @@ public class TransferLibNoteDTO : SfsStoreDTOBase, IHa
///
[Display(Name = "确认时间")]
public DateTime? ConfirmTime { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDetailDTO.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDetailDTO.cs
index 21f1b2f9f..566d56616 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDetailDTO.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/DTOs/TransferLibNoteDetailDTO.cs
@@ -4,7 +4,7 @@ using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 库存转移记录-明细表
+/// 库存转移记录-明细表 //??TransferLib实体
///
public class TransferLibNoteDetailDTO : SfsStoreDetailWithFromToDTOBase
{
@@ -24,5 +24,30 @@ public class TransferLibNoteDetailDTO : SfsStoreDetailWithFromToDTOBase
/// 执行任务状态
///
public EnumJobStatus JobStatus { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/ITransferLibCallback.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/ITransferLibCallback.cs
new file mode 100644
index 000000000..4cabb06d7
--- /dev/null
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/ITransferLibCallback.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Win_in.Sfs.Wms.Store.Notes;
+public interface ITransferLibCallback
+{
+ Tuple DoTransferLibCallback(string businessType, string requestNum, string jobNum);
+}
+
+public class TestTransferLibCallback : ITransferLibCallback
+{
+ public Tuple DoTransferLibCallback(string businessType, string requestNum, string jobNum)
+ {
+ return Tuple.Create(true, "调用新移库回调方法成功!");
+
+ }
+}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteDetailInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteDetailInput.cs
index 81a4bdb89..c6910a6a2 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteDetailInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteDetailInput.cs
@@ -5,7 +5,7 @@ using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 库存转移记录-明细表
+/// 库存转移记录-明细表 //??TransferLib实体
///
public class TransferLibNoteDetailInput : SfsStoreDetailWithFromToInputBase
{
@@ -27,6 +27,31 @@ public class TransferLibNoteDetailInput : SfsStoreDetailWithFromToInputBase
///
public EnumJobStatus JobStatus { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteEditInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteEditInput.cs
index 2e45f8df1..855743968 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteEditInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteEditInput.cs
@@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 新增和更新基础DTO
+/// 新增和更新基础DTO //??TransferLib实体
///
public class TransferLibNoteEditInput : SfsStoreCreateOrUpdateInputBase, IHasNumber
{
@@ -52,4 +52,31 @@ public class TransferLibNoteEditInput : SfsStoreCreateOrUpdateInputBase, IHasNum
[Display(Name = "详情")]
public List Details { get; set; } = new List();
public string Number { get; set; }
+
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteImportInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteImportInput.cs
index 4c3652ac0..3e3b88ed9 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteImportInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferLibNotes/Inputs/TransferLibNoteImportInput.cs
@@ -5,7 +5,9 @@ using Win_in.Sfs.Shared.Application.Contracts;
using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibNoteImportInput : SfsStoreImportInputBase
{
///
@@ -82,4 +84,30 @@ public class TransferLibNoteImportInput : SfsStoreImportInputBase
[Required(ErrorMessage = "{0}是必填项")]
public EnumInventoryStatus Status { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDTO.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDTO.cs
index afe68dced..8f4498af9 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDTO.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDTO.cs
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 库存转移记录-实体DTO
+/// 库存转移记录-实体DTO //??TransferLib实体
///
public class TransferRequestDTO : SfsStoreRequestDTOBase, IHasNumber
{
@@ -20,4 +20,30 @@ public class TransferRequestDTO : SfsStoreRequestDTOBase
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDetailDTO.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDetailDTO.cs
index 33717118d..5e6b17d73 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDetailDTO.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/DTOs/TransferRequestDetailDTO.cs
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 库存转移记录-明细表
+/// 库存转移记录-明细表 //??TransferLib实体
///
public class TransferRequestDetailDTO : SfsStoreDetailWithFromToDTOBase
{
@@ -13,4 +13,31 @@ public class TransferRequestDetailDTO : SfsStoreDetailWithFromToDTOBase
///
[Display(Name = "原因")]
public string Reason { get; set; }
+
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestDetailInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestDetailInput.cs
index 55beb1067..328677908 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestDetailInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestDetailInput.cs
@@ -4,7 +4,7 @@ using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 库存转移记录-明细表
+/// 库存转移记录-明细表 //??TransferLib实体
///
public class TransferRequestDetailInput : SfsStoreDetailWithFromToInputBase
{
@@ -15,4 +15,30 @@ public class TransferRequestDetailInput : SfsStoreDetailWithFromToInputBase
[StringLength(SfsEfCorePropertyConst.RemarkLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string Reason { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestEditInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestEditInput.cs
index aec67bbc1..9fdf1b776 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestEditInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestEditInput.cs
@@ -5,7 +5,7 @@ using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
///
-/// 新增和更新基础DTO
+/// 新增和更新基础DTO //??TransferLib实体
///
public class TransferRequestEditInput : SfsStoreRequestCreateOrUpdateInputBase
{
@@ -37,4 +37,31 @@ public class TransferRequestEditInput : SfsStoreRequestCreateOrUpdateInputBase
[Display(Name = "明细列表")]
public List Details { get; set; }
#endregion
+
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestImportInput.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestImportInput.cs
index ddd82519b..1246dbefd 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestImportInput.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Requests/TransferRequests/Inputs/TransferRequestImportInput.cs
@@ -3,7 +3,9 @@ using Win_in.Sfs.Shared.Application.Contracts;
using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Wms.Store.Application.Contracts;
-
+///
+/// //??TransferLib实体
+///
public class TransferRequestImportInput : SfsStoreImportInputBase
{
@@ -72,4 +74,31 @@ public class TransferRequestImportInput : SfsStoreImportInputBase
[Display(Name = "状态")]
[Required(ErrorMessage = "{0}是必填项")]
public EnumInventoryStatus Status { get; set; }
+
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/TransferLibJobs/TransferLibJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/TransferLibJobs/TransferLibJobAppService.cs
index fd4796d16..917738170 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/TransferLibJobs/TransferLibJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/TransferLibJobs/TransferLibJobAppService.cs
@@ -1,8 +1,13 @@
+using System;
+using System.Reflection;
+using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
+using Volo.Abp;
using Win_in.Sfs.Wms.Store.Application.Contracts;
using Win_in.Sfs.Wms.Store.Domain;
using Win_in.Sfs.Wms.Store.Domain.Shared;
+using Win_in.Sfs.Wms.Store.Notes;
namespace Win_in.Sfs.Wms.Store.Application;
@@ -18,4 +23,59 @@ public class TransferLibJobAppService
) : base(repository, TransferLibJobManager)
{
}
+
+ ///
+ /// 新移库完成任务
+ ///
+ ///
+ ///
+ ///
+ public override async Task CompleteAsync(Guid id, TransferLibJobDTO dto)
+ {
+ string methodPrefix = "TransferLibJobAppService.CompleteAsync - ";
+
+ if (dto.CallServerName.IsNullOrEmpty())
+ {
+ throw new UserFriendlyException($"{methodPrefix}CallServerName 不能为空");
+ }
+ if (dto.CallBusinessType.IsNullOrEmpty())
+ {
+ throw new UserFriendlyException($"{methodPrefix}CallBusinessType 不能为空");
+ }
+ if (dto.CallRequestNumber.IsNullOrEmpty())
+ {
+ throw new UserFriendlyException($"{methodPrefix}CallRequestNumber 不能为空");
+ }
+ if (dto.CallJobNumber.IsNullOrEmpty())
+ {
+ throw new UserFriendlyException($"{methodPrefix}CallJobNumber 不能为空");
+ }
+
+ var ret = await base.CompleteAsync(id, dto).ConfigureAwait(false);
+ if (ret != null)
+ {
+ var assembly = Assembly.GetExecutingAssembly();
+ var ty = assembly.GetType(dto.CallServerName);
+ if (ty == null)
+ {
+ throw new UserFriendlyException($"{methodPrefix}没有找到类型为{dto.CallServerName}的对象");
+ }
+ var instance = Activator.CreateInstance(ty, dto.CallBusinessType, dto.CallRequestNumber, dto.CallJobNumber);
+ if (instance == null)
+ {
+ throw new UserFriendlyException($"{methodPrefix}类型为{dto.CallServerName}的对象创建失败");
+ }
+ ITransferLibCallback transferLibCallback = (ITransferLibCallback)instance;
+ if (transferLibCallback == null)
+ {
+ throw new UserFriendlyException($"{methodPrefix}类型为{dto.CallServerName}的对象没有实现ITransferLibCallback接口");
+ }
+ Tuple callbackRet = transferLibCallback.DoTransferLibCallback(dto.CallServerName, dto.CallRequestNumber, dto.CallJobNumber);
+ if (callbackRet != null && callbackRet.Item1 == false)
+ {
+ throw new UserFriendlyException($"{methodPrefix}执行回调服务{dto.CallServerName}出错,返回错误信息:{callbackRet.Item2}");
+ }
+ }
+ return ret;
+ }
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJob.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJob.cs
index fa4dc9919..18f2fa10a 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJob.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJob.cs
@@ -9,7 +9,7 @@ using Win_in.Sfs.Shared.Domain.Shared.Enums.Store;
namespace Win_in.Sfs.Wms.Store.Domain;
///
-/// 计划外出库任务
+/// 计划外出库任务 //??TransferLib实体
///
[Display(Name = "计划外出库任务")]
public class TransferLibJob : SfsJobAggregateRootBase
@@ -57,5 +57,30 @@ public class TransferLibJob : SfsJobAggregateRootBase
///
[IgnoreUpdate]
public override List Details { get; set; } = new List();
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJobDetail.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJobDetail.cs
index 287480739..616b6f3da 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJobDetail.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Jobs/TransferLibJobs/TransferLibJobDetail.cs
@@ -4,7 +4,9 @@ using Win_in.Sfs.Shared.Domain.Shared;
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store;
namespace Win_in.Sfs.Wms.Store.Domain;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibJobDetail : SfsStoreDetailWithFromToEntityBase
{
///
@@ -21,5 +23,26 @@ public class TransferLibJobDetail : SfsStoreDetailWithFromToEntityBase
/// 执行任务状态
///
public EnumJobStatus JobStatus { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNote.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNote.cs
index 9776cc17a..f6f502b94 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNote.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNote.cs
@@ -7,7 +7,7 @@ using Win_in.Sfs.Shared.Domain.Entities;
namespace Win_in.Sfs.Wms.Store.Domain;
///
-/// 调拨转移记录
+/// 调拨转移记录 //??TransferLib实体
///
public class TransferLibNote : SfsStoreAggregateRootBase, IHasJobNumber
{
@@ -72,4 +72,31 @@ public class TransferLibNote : SfsStoreAggregateRootBase,
}
}
+
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
+
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNoteDetail.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNoteDetail.cs
index 12c31ba6f..bdd64ec93 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNoteDetail.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/TransferLibNotes/TransferLibNoteDetail.cs
@@ -3,7 +3,7 @@ using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Wms.Store.Domain;
///
-/// 库存转移记录-明细表
+/// 库存转移记录-明细表 //??TransferLib实体
///
public class TransferLibNoteDetail : SfsStoreDetailWithFromToEntityBase
{
@@ -22,5 +22,26 @@ public class TransferLibNoteDetail : SfsStoreDetailWithFromToEntityBase
/// 执行任务状态
///
public EnumJobStatus JobStatus { get; set; }
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequest.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequest.cs
index 18b1eabe3..191e6e2fb 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequest.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequest.cs
@@ -5,7 +5,7 @@ using Win_in.Sfs.Shared.Domain.Entities;
namespace Win_in.Sfs.Wms.Store.Domain;
///
-/// 调拨申请
+/// 调拨申请 //??TransferLib实体
///
public class TransferLibRequest : SfsStoreRequestAggregateRootBase
{
@@ -28,4 +28,30 @@ public class TransferLibRequest : SfsStoreRequestAggregateRootBase Details { get; set; } = new List();
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ [Display(Name = "回调服务名称")]
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ [Display(Name = "回调业务类型")]
+ public string CallBusinessType { get; set; }
+
+ ///
+ /// 调用者传入申请单号
+ ///
+ [Display(Name = "传入申请单号")]
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ [Display(Name = "传入任务单号")]
+ public string CallJobNumber { get; set; }
+ #endregion
}
+
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequestDetail.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequestDetail.cs
index 16637ceaa..c20c252b2 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequestDetail.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Requests/TransferLibRequests/TransferLibRequestDetail.cs
@@ -2,7 +2,9 @@ using System.Text.Json;
using Win_in.Sfs.Shared.Domain.Shared;
namespace Win_in.Sfs.Wms.Store.Domain;
-
+///
+/// //??TransferLib实体
+///
public class TransferLibRequestDetail : SfsStoreDetailWithFromToEntityBase
{
@@ -20,5 +22,25 @@ public class TransferLibRequestDetail : SfsStoreDetailWithFromToEntityBase
{
return JsonSerializer.Serialize(this);
}
+ #region 回调服务相关
+ ///
+ /// 回调服务名称
+ ///
+ public string CallServerName { get; set; }
+
+ ///
+ /// 回调业务类型
+ ///
+ public string CallBusinessType { get; set; }
+ ///
+ /// 调用者传入申请单号
+ ///
+ public string CallRequestNumber { get; set; }
+
+ ///
+ /// 调用者传入任务单号
+ ///
+ public string CallJobNumber { get; set; }
+ #endregion
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Migrations/20240329030632_transferLib2.Designer.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Migrations/20240329030632_transferLib2.Designer.cs
new file mode 100644
index 000000000..d1347abfc
--- /dev/null
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Migrations/20240329030632_transferLib2.Designer.cs
@@ -0,0 +1,26267 @@
+//
+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.Wms.Store.EntityFrameworkCore;
+
+#nullable disable
+
+namespace Win_in.Sfs.Wms.Store.Migrations
+{
+ [DbContext(typeof(StoreDbContext))]
+ [Migration("20240329030632_transferLib2")]
+ partial class transferLib2
+ {
+ 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.Wms.Store.Domain.BackFlushNote", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActiveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("ArriveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("CompleteTime")
+ .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("ItemCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemCode");
+
+ b.Property("ItemDesc1")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc1");
+
+ b.Property("ItemDesc2")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc2");
+
+ b.Property("ItemName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemName");
+
+ b.Property("JobNumber")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LocationArea")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationArea");
+
+ b.Property("LocationCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationCode");
+
+ b.Property("LocationErpCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationErpCode");
+
+ b.Property("LocationGroup")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationGroup");
+
+ b.Property("Lot")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Lot");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Number");
+
+ b.Property("PackingCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ProdLine")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ProduceDate")
+ .HasColumnType("datetime2");
+
+ b.Property("ProductReceiptNumber")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ProductRecycleNumber")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ProductionPlanNumber")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Qty")
+ .HasPrecision(18, 6)
+ .HasColumnType("decimal(18,6)")
+ .HasColumnName("Qty");
+
+ b.Property("Remark")
+ .HasMaxLength(3072)
+ .HasColumnType("nvarchar(3072)")
+ .HasColumnName("Remark");
+
+ b.Property("Shift")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("SupplierBatch")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("SupplierBatch");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Uom")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Uom");
+
+ b.Property("WarehouseCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("WarehouseCode");
+
+ b.Property("Worker")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Workshop")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Number")
+ .IsUnique();
+
+ b.ToTable("Store_BackFlushNote", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.BackFlushNoteDetail", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ArriveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("BomVersion")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ContainerCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ContainerCode");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("ExpireDate")
+ .HasColumnType("datetime2");
+
+ b.Property("IsOffLine")
+ .HasColumnType("bit");
+
+ b.Property("ItemCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemCode");
+
+ b.Property("ItemDesc1")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc1");
+
+ b.Property("ItemDesc2")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc2");
+
+ b.Property("ItemName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemName");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LocationArea")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationArea");
+
+ b.Property("LocationCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationCode");
+
+ b.Property("LocationErpCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationErpCode");
+
+ b.Property("LocationGroup")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationGroup");
+
+ b.Property("Lot")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Lot");
+
+ b.Property("MasterID")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Number");
+
+ b.Property("PackingCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("PackingCode");
+
+ b.Property("ProduceDate")
+ .HasColumnType("datetime2");
+
+ b.Property("Qty")
+ .HasPrecision(18, 6)
+ .HasColumnType("decimal(18,6)")
+ .HasColumnName("Qty");
+
+ 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("SupplierBatch")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("SupplierBatch");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Uom")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Uom");
+
+ b.Property("WarehouseCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("WarehouseCode");
+
+ b.HasKey("Id");
+
+ b.HasIndex("MasterID");
+
+ b.HasIndex("Number", "ItemCode", "Lot")
+ .IsUnique()
+ .HasFilter("[Lot] IS NOT NULL");
+
+ b.ToTable("Store_BackFlushNoteDetail", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.CheckJob", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("AcceptTime")
+ .HasColumnType("datetime2");
+
+ b.Property("AcceptUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("AcceptUserName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("CompleteTime")
+ .HasColumnType("datetime2");
+
+ b.Property("CompleteUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CompleteUserName")
+ .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("DeliverNoteNumber")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsAutoComplete")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false);
+
+ b.Property("JobDescription")
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)");
+
+ b.Property("JobStatus")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("JobType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Priority")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int")
+ .HasDefaultValue(0);
+
+ b.Property("PriorityIncrement")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int")
+ .HasDefaultValue(0);
+
+ b.Property("Remark")
+ .HasMaxLength(3072)
+ .HasColumnType("nvarchar(3072)")
+ .HasColumnName("Remark");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("UpStreamJobNumber")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("WarehouseCode")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("WorkGroupCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Worker")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Number")
+ .IsUnique();
+
+ b.ToTable("Job_CheckJob", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.CheckJobDetail", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ArriveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("ContainerCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ContainerCode");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("CustomerItemCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ExpireDate")
+ .HasColumnType("datetime2");
+
+ b.Property("ItemCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemCode");
+
+ b.Property("ItemDesc1")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc1");
+
+ b.Property("ItemDesc2")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc2");
+
+ b.Property("ItemName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemName");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LocationArea")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationArea");
+
+ b.Property("LocationCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationCode");
+
+ b.Property("LocationErpCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationErpCode");
+
+ b.Property("LocationGroup")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("LocationGroup");
+
+ b.Property("Lot")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Lot");
+
+ b.Property("MasterID")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Order")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("PackingCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("PackingCode");
+
+ b.Property("ProduceDate")
+ .HasColumnType("datetime2");
+
+ b.Property("Qty")
+ .HasPrecision(18, 6)
+ .HasColumnType("decimal(18,6)")
+ .HasColumnName("Qty");
+
+ 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("SupplierBatch")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("SupplierBatch");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Uom")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Uom");
+
+ b.Property("WarehouseCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("WarehouseCode");
+
+ b.HasKey("Id");
+
+ b.HasIndex("MasterID");
+
+ b.ToTable("Job_CheckJobDetail", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.ContainerBindNote", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActiveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("BindTime")
+ .HasColumnType("datetime2");
+
+ b.Property("BindType")
+ .IsRequired()
+ .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("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")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Number");
+
+ b.Property("Remark")
+ .HasMaxLength(3072)
+ .HasColumnType("nvarchar(3072)")
+ .HasColumnName("Remark");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Worker")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Number")
+ .IsUnique();
+
+ b.ToTable("Store_ContainerBindNote", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.ContainerBindNoteDetail", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ArriveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("ContainerCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ContainerCode");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("ExpireDate")
+ .HasColumnType("datetime2");
+
+ b.Property("ItemCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemCode");
+
+ b.Property("ItemDesc1")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc1");
+
+ b.Property("ItemDesc2")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc2");
+
+ b.Property("ItemName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemName");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Lot")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Lot");
+
+ b.Property("MasterID")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Number");
+
+ b.Property("PackingCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("PackingCode");
+
+ b.Property("ProduceDate")
+ .HasColumnType("datetime2");
+
+ b.Property("Qty")
+ .HasPrecision(18, 6)
+ .HasColumnType("decimal(18,6)")
+ .HasColumnName("Qty");
+
+ b.Property("Remark")
+ .HasMaxLength(3072)
+ .HasColumnType("nvarchar(3072)")
+ .HasColumnName("Remark");
+
+ b.Property("StdPackQty")
+ .HasColumnType("decimal(18,6)");
+
+ b.Property("SupplierBatch")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("SupplierBatch");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Uom")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Uom");
+
+ b.HasKey("Id");
+
+ b.HasIndex("MasterID");
+
+ b.HasIndex("Number", "PackingCode")
+ .IsUnique();
+
+ b.ToTable("Store_ContainerBindNoteDetail", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.ContainerJob", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("AcceptTime")
+ .HasColumnType("datetime2");
+
+ b.Property("AcceptUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("AcceptUserName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("CompleteTime")
+ .HasColumnType("datetime2");
+
+ b.Property("CompleteUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CompleteUserName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ContainerRequestNumber")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ContainerType")
+ .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("IsAutoComplete")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false);
+
+ b.Property("JobDescription")
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)");
+
+ b.Property("JobStatus")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("JobType")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Priority")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int")
+ .HasDefaultValue(0);
+
+ b.Property("PriorityIncrement")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int")
+ .HasDefaultValue(0);
+
+ b.Property("Remark")
+ .HasMaxLength(3072)
+ .HasColumnType("nvarchar(3072)")
+ .HasColumnName("Remark");
+
+ b.Property("RequestLocationCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("SpecificationsType")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("UpStreamJobNumber")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("WarehouseCode")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("WorkGroupCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Worker")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Number")
+ .IsUnique();
+
+ b.ToTable("Job_ContainerJob", (string)null);
+ });
+
+ modelBuilder.Entity("Win_in.Sfs.Wms.Store.Domain.ContainerJobDetail", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("FromLocationCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("HandledArriveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("HandledContainerCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledContainerCode");
+
+ b.Property("HandledExpireDate")
+ .HasColumnType("datetime2");
+
+ b.Property("HandledFromLocationArea")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledFromLocationArea");
+
+ b.Property("HandledFromLocationCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledFromLocationCode");
+
+ b.Property("HandledFromLocationErpCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledFromLocationErpCode");
+
+ b.Property("HandledFromLocationGroup")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledFromLocationGroup");
+
+ b.Property("HandledFromWarehouseCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledFromWarehouseCode");
+
+ b.Property("HandledLot")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledLot");
+
+ b.Property("HandledPackingCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledPackingCode");
+
+ b.Property("HandledProduceDate")
+ .HasColumnType("datetime2");
+
+ b.Property("HandledQty")
+ .HasColumnType("decimal(18,6)");
+
+ b.Property("HandledSupplierBatch")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("HandledSupplierBatch");
+
+ b.Property("ItemCode")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemCode");
+
+ b.Property("ItemDesc1")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc1");
+
+ b.Property("ItemDesc2")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemDesc2");
+
+ b.Property("ItemName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("ItemName");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("MasterID")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("RecommendArriveDate")
+ .HasColumnType("datetime2");
+
+ b.Property("RecommendContainerCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendContainerCode");
+
+ b.Property("RecommendExpireDate")
+ .HasColumnType("datetime2");
+
+ b.Property("RecommendFromLocationArea")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendFromLocationArea");
+
+ b.Property("RecommendFromLocationCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendFromLocationCode");
+
+ b.Property("RecommendFromLocationErpCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendFromLocationErpCode");
+
+ b.Property("RecommendFromLocationGroup")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendFromLocationGroup");
+
+ b.Property("RecommendFromWarehouseCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendFromWarehouseCode");
+
+ b.Property("RecommendLot")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendLot");
+
+ b.Property("RecommendPackingCode")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("RecommendPackingCode");
+
+ b.Property("RecommendProduceDate")
+ .HasColumnType("datetime2");
+
+ b.Property("RecommendQty")
+ .HasColumnType("decimal(18,6)");
+
+ b.Property