You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
3.5 KiB
C#

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