|
|
@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
|
|
|
using DS.WMS.Core.Op.Entity;
|
|
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Fee.Entity
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 费用申请明细
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarTable("fee_application_detail", TableDescription = "费用申请明细")]
|
|
|
|
|
|
|
|
public class FeeApplicationDetail : BaseModelV2<long>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 申请单ID
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "申请单ID")]
|
|
|
|
|
|
|
|
public long ApplicationId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 业务ID
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "业务ID")]
|
|
|
|
|
|
|
|
public long BusinessId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 业务类型
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "业务类型")]
|
|
|
|
|
|
|
|
public BusinessType BusinessType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 结算对象名称
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象名称", Length = 200)]
|
|
|
|
|
|
|
|
public string? CustomerName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 收付类型(收、付) 1应收 2 应付
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "收付类型(收、付)", DefaultValue = "1")]
|
|
|
|
|
|
|
|
public int FeeType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 费用Id
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "费用Id")]
|
|
|
|
|
|
|
|
public long FeeId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 费用名称
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "费用名称", Length = 100, IsNullable = true)]
|
|
|
|
|
|
|
|
public string? FeeName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 类别
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "类别")]
|
|
|
|
|
|
|
|
public FeeCategory Category { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 金额
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "金额")]
|
|
|
|
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 已处理金额
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "已处理金额")]
|
|
|
|
|
|
|
|
public decimal ProcessedAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 币别
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "币别", IsNullable = false, Length = 3)]
|
|
|
|
|
|
|
|
public string Currency { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 折算汇率
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "折算汇率")]
|
|
|
|
|
|
|
|
public decimal ExchangeRate { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 原始币别
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "原始币别", IsNullable = false, Length = 3)]
|
|
|
|
|
|
|
|
public string OriginalCurrency { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 金额
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "金额")]
|
|
|
|
|
|
|
|
public decimal? OriginalAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 原始已处理金额
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "原始已处理金额")]
|
|
|
|
|
|
|
|
public decimal? OriginalProcessedAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 费用明细类别
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public enum FeeCategory
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
//1-付费申请结算 2-收费自由结算 3-发票结算 4-收费申请 5-付费申请 6-发票申请 7-发票开出 8-付费自由结算 9-收费申请结算
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 付费申请结算
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("付费申请结算")]
|
|
|
|
|
|
|
|
PaidApplicationSettlement = 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 收费自由结算
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("收费自由结算")]
|
|
|
|
|
|
|
|
ChargeFreeSettlement = 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 发票结算
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("发票结算")]
|
|
|
|
|
|
|
|
InvoiceSettlement = 3,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 收费申请
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("收费申请")]
|
|
|
|
|
|
|
|
ChargeApplication = 4,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 付费申请
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("付费申请")]
|
|
|
|
|
|
|
|
PaidApplication = 5,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 发票申请
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("发票申请")]
|
|
|
|
|
|
|
|
InvoiceApplication = 6,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 发票开出
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("发票开出")]
|
|
|
|
|
|
|
|
InvoiceIssuance = 7,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 付费自由结算
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("付费自由结算")]
|
|
|
|
|
|
|
|
PaidFreeSettlement = 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 收费申请结算
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[Description("收费申请结算")]
|
|
|
|
|
|
|
|
ChargeApplicationSettlement = 9
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|