using System.Runtime.Serialization;
using DS.Module.Core;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Application.Dtos
{
///
/// 费用明细
///
public class FeeDetailDto
{
///
/// 明细ID
///
public long Id { get; set; }
///
/// 申请单ID
///
public long ApplicationId { get; set; }
///
/// 引用的明细ID(申请明细ID)
///
public long? DetailId { get; set; }
///
/// 引用的ID(申请ID)
///
public long? RefId { get; set; }
///
/// 费用记录ID
///
public long RecordId { get; set; }
///
/// 业务类型
///
public long BusinessId { get; set; }
///
/// 业务类型
///
public BusinessType BusinessType { get; set; }
///
/// 费用对象ID
///
public long? CustomerId { get; set; }
///
/// 费用对象名称
///
public string? CustomerName { get; set; }
///
/// 费用名称
///
public long FeeId { get; set; }
///
/// 费用名称
///
public string? FeeName { get; set; }
///
/// 费用类型
///
public FeeType FeeType { get; set; }
///
/// 总金额
///
public decimal Amount { get; set; }
///
/// 申请/结算/开票金额
///
public decimal ApplyAmount { get; set; }
///
/// 已处理金额
///
public decimal ProcessedAmount { get; set; }
///
/// 原始金额
///
public decimal OriginalAmount { get; set; }
///
/// 已处理原始金额
///
public decimal OriginalProcessedAmount { get; set; }
///
/// 币别
///
public string Currency { get; set; }
///
/// 原始币别
///
public string OriginalCurrency { get; set; }
///
/// 原始汇率
///
public decimal? OriginalRate { get; set; }
///
/// 折算汇率
///
public decimal? ExchangeRate { get; set; }
///
/// 销项税率
///
public decimal AccTaxRate { get; set; }
///
/// 已申请金额
///
public decimal OrderAmount { get; set; }
///
/// 已结算金额
///
public decimal SettlementAmount { get; set; }
///
/// 已开票金额
///
public decimal InvoiceAmount { get; set; }
///
/// 申请金额已结算
///
public decimal OrderSettlementAmount { get; set; }
///
/// 申请发票金额已开票
///
public decimal OrderInvSettlementAmount { get; set; }
///
/// 剩余金额
///
public decimal? RestAmount { get; set; }
///
/// 备注
///
public string? Note { get; set; }
}
///
/// 申请单明细
///
public class ApplicationDetailDto : FeeDetailDto
{
///
/// 主提单号
///
public string? MBLNO { get; set; }
///
/// 分提单号
///
public string? HBLNO { get; set; }
///
/// 委托编号
///
public string? CustomerNo { get; set; }
///
/// 委托单位
///
public string? ClientName { get; set; }
///
/// 业务锁定
///
public bool? IsBusinessLocking { get; set; }
///
/// 费用锁定
///
public bool? IsFeeLocking { get; set; }
///
/// 抵达日期
///
public DateTime? ETA { get; set; }
///
/// 开船日期
///
public DateTime? ETD { get; set; }
///
/// 业务来源
///
public string? SourceName { get; set; }
///
/// 揽货人
///
public string? SaleName { get; set; }
///
/// 集装箱
///
public string? CntrTotal { get; set; }
///
/// 会计期间
///
public string? AccountDate { get; set; }
///
/// 所属分部
///
[IgnoreDataMember]
public long? SaleDeptId { get; set; }
///
/// 所属分部
///
public string? SaleDeptName { get; set; }
///
/// 操作
///
public string? Operator { get; set; }
///
/// 船名
///
public string? Vessel { get; set; }
///
/// 航次
///
public string? Voyage { get; set; }
///
/// 船公司
///
public string? Carrier { get; set; }
///
/// 订舱代理
///
public string? Forwarder { get; set; }
///
/// 订舱编号
///
public string? BookingNo { get; set; }
public string? LoadPort { get; set; }
}
///
/// 费用申请单明细
///
public class PaymentApplicationDetailDto : ApplicationDetailDto
{
///
/// 更改单
///
public string? ChangeOrder { get; set; }
///
/// 未收合计
///
public decimal? OutstandingAmount { get; set; }
///
/// 发票号
///
public string? InvoiceNO { get; set; }
}
///
/// 发票申请单明细
///
public class InvoiceApplicationDetailDto : ApplicationDetailDto
{
///
/// 录入方式
///
public string? InputMethod { get; set; }
///
/// 审核日期
///
public DateTime? AuditTime { get; set; }
}
///
/// 发票费用明细
///
public class InvoiceDetailDto : FeeDetailDto
{
}
}