From ab2f8f27b151455972aefd282b3503775da8d871 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com>
Date: Fri, 7 Jul 2023 11:48:35 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9F=BA=E7=B1=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...SettleAccount.Application.Contracts.csproj | 1 +
.../SettleAccount.Domain/Bases/EntityBase.cs | 170 ++++++++++++++++++
2 files changed, 171 insertions(+)
create mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
index 3f026584..9c561c2e 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
@@ -27,6 +27,7 @@
+
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs
new file mode 100644
index 00000000..1b2083b7
--- /dev/null
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs
@@ -0,0 +1,170 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Security.Policy;
+using System.Text;
+using System.Threading.Tasks;
+using Win.Sfs.SettleAccount.Entities.SettleAccountDomain;
+using static System.Runtime.CompilerServices.RuntimeHelpers;
+
+namespace Win.Sfs.SettleAccount.Bases
+{
+ ///
+ /// 所有业务单据基类
+ ///
+ public interface ISBASE
+ {
+ ///
+ /// 客户零件号
+ ///
+ public string LU { set; get; }
+ ///
+ /// 生产号、交付索引号、发货单号(ASN单号)
+ ///
+ public string PN { set; get; }
+ ///
+ /// Key键值(LU+PN)
+ ///
+ public string KeyCode { set; get; }
+ ///
+ /// 发货数量、结算数量、扣减数量
+ ///
+ public string Qty { set; get; }
+
+ }
+ public interface ISA_BASE : ISBASE
+ {
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 单价
+ ///
+ public decimal Price { set; get; }
+ ///
+ /// 结算单
+ ///
+ public string BillNum { set; get; }
+ ///
+ /// 结算日期
+ ///
+ public string SettleDate { set; get; }
+
+ }
+
+ public interface ISA_CAN_BASE : ISBASE
+ {
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 单价
+ ///
+ public decimal Price { set; get; }
+ ///
+ /// 可出库结算单
+ ///
+ public string BillNum { set; get; }
+ ///
+ /// 结算日期
+ ///
+ public string SettleDate { set; get; }
+ ///
+ /// 结算分组号
+ ///
+ public string InvGroupNum { set; get; }
+
+ }
+ public interface ISA_NOT_BASE : ISBASE
+ {
+ ///
+ /// 单价
+ ///
+ public decimal Price { set; get; }
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 原结算单号
+ ///
+ public string SettleBillNum { set; get; }
+ ///
+ /// 结算日期
+ ///
+ public DateTime SettleDate { set; get;}
+ ///
+ /// 结算分组号
+ ///
+ public string InvGroupNum { set; get; }
+
+ }
+
+ public interface IRE_BASE : ISBASE
+ {
+ /// 发货时间
+ ///
+ public DateTime ShippingDate { set; get; }
+ ///
+ /// 发运单号
+ ///
+ public string WmsBillNum { set; get; }
+
+
+
+
+ }
+ public interface ISE_BASE : ISBASE
+ {
+ ///
+ /// 期间
+ ///
+ public int Version { set; get; }
+ ///
+ /// 发货时间
+ ///
+ public DateTime ShippingDate { set; get; }
+ ///
+ /// 发运单号
+ ///
+ public string WmsBillNum { set; get; }
+
+ }
+ public interface IPD_BASE : ISBASE
+ {
+ public string Version { set; get; }
+ public string BillNum { set; get; }
+ public string Qty { set; get; }
+ public string Price { set; get; }
+ public string InvGroupNum { set; get; }
+ public string SettleDate { set; get; }
+ public string GroupNum { set; get; }
+
+ }
+ ///
+ /// 基类检查设置
+ ///
+ public class BASE_CONF
+ {
+ ///
+ /// 是否检查客户零件表
+ ///
+ public bool IsRelationShip { set; get; }
+ ///
+ /// 是否检查物料主数据
+ ///
+ public bool IsMaterial { set; get; }
+ ///
+ /// 是否检查BOM
+ ///
+ public bool IsBom { set; get; }
+
+ }
+
+
+
+
+
+}