using DS.Module.Core;
namespace DS.WMS.Core.Fee.Dtos
{
///
/// 费用核算单
///
public class CostAccountingForm
{
//public long BusinessId { get; set; }
//public BusinessType BusinessType { get; set; }
///
/// 业务编号
///
public string BusinessNo { get; set; }
///
/// 会计期间
///
public string AccountingPeriod { get; set; }
///
/// 预计抵港时间
///
public DateTime? ETA { get; set; }
///
/// 预计出发时间
///
public DateTime? ETD { get; set; }
///
/// 船号
///
public string Voy { get; set; }
///
/// 船东提单
///
public string MBLNo { get; set; }
///
/// 承运人
///
public string Carrier { get; set; }
///
/// 装运港
///
public string POL { get; set; }
///
/// 目的港
///
public string POD { get; set; }
public string Volume { get; set; }
///
/// 放单方式
///
public string ReleaseType { get; set; }
///
/// 打印人
///
public string Creator { get; set; }
///
/// 打印时间
///
public DateTime PrintTime { get; set; }
///
/// 人民币应收合计
///
public decimal ReceivableRMB { get; set; }
///
/// 人民币应付合计
///
public decimal PayableRMB { get; set; }
///
/// 美元应收合计
///
public decimal ReceivableUSD { get; set; }
///
/// 美元应付合计
///
public decimal PayableUSD { get; set; }
///
/// 其他应收合计
///
public decimal ReceivableOther { get; set; }
///
/// 其他应付合计
///
public decimal PayableOther { get; set; }
///
/// 人民币应收总计
///
public decimal TotalReceivable { get; set; }
///
/// 人民币应付总计
///
public decimal TotalPayable { get; set; }
///
/// 利润
///
public decimal ProfitMargin => TotalReceivable - TotalPayable;
///
/// 汇率
///
public decimal ExchangeRate { get; set; }
public List Details { get; set; }
}
public class CostAccountingDetail
{
public string FeeName { get; set; }
public FeeType Type { get; set; }
public string Currency { get; set; }
//public decimal? USDAmount { get; set; }
//public decimal? RMBAmount { get; set; }
public decimal Amount { get; set; }
public string CustomerName { get; set; }
//public decimal ExchangeRate { get; set; }
public string StatusText { get; set; }
}
}