using System.Runtime.Serialization;
using DS.Module.Core;
using DS.Module.Core.Enums;
using DS.WMS.Core.Op.Entity;
using Masuit.Tools.Systems;
namespace DS.WMS.Core.Settlement.Dtos
{
///
/// 付费申请结算明细DTO
///
public class SettlementDetailDto
{
///
/// 申请明细ID
///
public IEnumerable Ids { get; set; }
///
/// 申请单ID
///
public long ApplicationId { get; set; }
///
/// 申请单号
///
public string ApplicationNO { get; set; }
///
/// 状态
///
public PaymentApplicationStatus Status { get; set; }
///
/// 状态文本
///
public string StatusText => Status.GetDescription();
///
/// 结算金额
///
public decimal SettlementAmount { get; set; }
///
/// 原始币别
///
public string OriginalCurrency { get; set; }
///
/// 原始金额
///
public decimal OriginalAmount { get; set; }
///
/// RMB申请金额
///
public decimal? RMBApplyAmount { get; set; }
///
/// USD申请金额
///
public decimal? USDApplyAmount { get; set; }
///
/// 申请日期
///
public DateTime? CreateTime { get; set; }
[IgnoreDataMember]
public long? CreateBy { get; set; }
///
/// 申请人
///
public string? CreateByName { get; set; }
///
/// 发票号
///
public string? InvoiceNO { get; set; }
///
/// 申请支付日期
///
public DateTime? PaymentDate { get; set; }
///
/// 备注
///
public string? Note { get; set; }
}
///
/// 付费自由结算明细DTO
///
public class FreeSettlementDetailDto
{
///
/// ID
///
public long Id { get; set; }
///
/// 费用记录ID
///
public long RecordId { get; set; }
///
/// 业务ID
///
public long BusinessId { get; set; }
///
/// 业务类型
///
public BusinessType BusinessType { get; set; }
///
/// 主提单号
///
public string? MBLNO { get; set; }
///
/// 分提单号
///
public string? HBLNO { get; set; }
///
/// 委托编号
///
public string? CustomerNo { get; set; }
///
/// 委托单位
///
public string? ClientName { get; set; }
///
/// 开船日期
///
public DateTime? ETD { get; set; }
///
/// 业务来源
///
public string? SourceName { get; set; }
///
/// 揽货人
///
public string? Sale { get; set; }
///
/// 会计期间
///
public string? AccountDate { get; set; }
///
/// 船名
///
public string? Vessel { get; set; }
///
/// 航次
///
public string? Voyage { get; set; }
///
/// 船公司
///
public string? Carrier { get; set; }
///
/// 经营单位
///
public string? Enterprise { get; set; }
///
/// 报关单号
///
public string? CustomNo { get; set; }
///
/// 客户/费用对象名称
///
public string? CustomerName { get; set; }
///
/// 费用名称
///
public string? FeeName { get; set; }
///
/// 费用类型
///
public FeeType FeeType { get; set; }
///
/// 结算金额
///
public decimal ApplyAmount { get; set; }
///
/// 币别
///
public string Currency { get; set; }
///
/// 折算汇率
///
public decimal? ExchangeRate { get; set; }
///
/// 原始汇率
///
public decimal? OriginalRate { get; set; }
///
/// 原始币别
///
public string OriginalCurrency { get; set; }
///
/// 原始金额
///
public decimal OriginalAmount { get; set; }
///
/// 更改单
///
public string? ChangeOrder { get; set; }
///
/// 备注
///
public string? Note { get; set; }
}
}