Browse Source

更新基类

pull/1/head
学 赵 1 year ago
parent
commit
ab2f8f27b1
  1. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj
  2. 170
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Bases/EntityBase.cs

1
code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/SettleAccount.Application.Contracts.csproj

@ -27,6 +27,7 @@
<ItemGroup> <ItemGroup>
<Folder Include="Entities\HQ\" /> <Folder Include="Entities\HQ\" />
<Folder Include="Base\" />
</ItemGroup> </ItemGroup>
</Project> </Project>

170
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
{
/// <summary>
/// 所有业务单据基类
/// </summary>
public interface ISBASE
{
/// <summary>
/// 客户零件号
/// </summary>
public string LU { set; get; }
/// <summary>
/// 生产号、交付索引号、发货单号(ASN单号)
/// </summary>
public string PN { set; get; }
/// <summary>
/// Key键值(LU+PN)
/// </summary>
public string KeyCode { set; get; }
/// <summary>
/// 发货数量、结算数量、扣减数量
/// </summary>
public string Qty { set; get; }
}
public interface ISA_BASE : ISBASE
{
/// <summary>
/// 期间
/// </summary>
public int Version { set; get; }
/// <summary>
/// 单价
/// </summary>
public decimal Price { set; get; }
/// <summary>
/// 结算单
/// </summary>
public string BillNum { set; get; }
/// <summary>
/// 结算日期
/// </summary>
public string SettleDate { set; get; }
}
public interface ISA_CAN_BASE : ISBASE
{
/// <summary>
/// 期间
/// </summary>
public int Version { set; get; }
/// <summary>
/// 单价
/// </summary>
public decimal Price { set; get; }
/// <summary>
/// 可出库结算单
/// </summary>
public string BillNum { set; get; }
/// <summary>
/// 结算日期
/// </summary>
public string SettleDate { set; get; }
/// <summary>
/// 结算分组号
/// </summary>
public string InvGroupNum { set; get; }
}
public interface ISA_NOT_BASE : ISBASE
{
/// <summary>
/// 单价
/// </summary>
public decimal Price { set; get; }
/// <summary>
/// 期间
/// </summary>
public int Version { set; get; }
/// <summary>
/// 原结算单号
/// </summary>
public string SettleBillNum { set; get; }
/// <summary>
/// 结算日期
/// </summary>
public DateTime SettleDate { set; get;}
/// <summary>
/// 结算分组号
/// </summary>
public string InvGroupNum { set; get; }
}
public interface IRE_BASE : ISBASE
{
/// 发货时间
/// </summary>
public DateTime ShippingDate { set; get; }
/// <summary>
/// 发运单号
/// </summary>
public string WmsBillNum { set; get; }
}
public interface ISE_BASE : ISBASE
{
/// <summary>
/// 期间
/// </summary>
public int Version { set; get; }
/// <summary>
/// 发货时间
/// </summary>
public DateTime ShippingDate { set; get; }
/// <summary>
/// 发运单号
/// </summary>
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; }
}
/// <summary>
/// 基类检查设置
/// </summary>
public class BASE_CONF
{
/// <summary>
/// 是否检查客户零件表
/// </summary>
public bool IsRelationShip { set; get; }
/// <summary>
/// 是否检查物料主数据
/// </summary>
public bool IsMaterial { set; get; }
/// <summary>
/// 是否检查BOM
/// </summary>
public bool IsBom { set; get; }
}
}
Loading…
Cancel
Save