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.

244 lines
5.5 KiB
C#

using System.Runtime.Serialization;
using DS.Module.Core;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Settlement.Dtos
{
/// <summary>
/// 用于结算的按业务展示的费用组
/// </summary>
public class SettlementBiz
{
/// <summary>
/// 业务Id
/// </summary>
public long BusinessId { get; set; }
/// <summary>
/// 业务类型
/// </summary>
public BusinessType BusinessType { get; set; }
/// <summary>
/// 委托编号
/// </summary>
public string CustomerNo { get; set; }
/// <summary>
/// 主提单号
/// </summary>
public string? MBLNO { get; set; }
/// <summary>
/// 分提单号
/// </summary>
public string? HBLNO { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public DateTime? ETD { get; set; }
/// <summary>
/// 结费单位
/// </summary>
public string CustomerName { get; set; }
/// <summary>
/// 结费单位Id
/// </summary>
public long CustomerId { get; set; }
/// <summary>
/// 委托单位
/// </summary>
public string? ClientName { get; set; }
/// <summary>
/// 业务日期
/// </summary>
public DateTime? BusinessDate { get; set; }
/// <summary>
/// 入库单号
/// </summary>
public string? GodownEntryNo { get; set; }
/// <summary>
/// 所属分部ID
/// </summary>
public long? SaleDeptId { get; set; }
/// <summary>
/// 所属分部
/// </summary>
public string? SaleDeptName { get; set; }
/// <summary>
/// 对帐编号
/// </summary>
public string? DebitNo { get; set; }
/// <summary>
/// 会计期间
/// </summary>
public string? AccountDate { get; set; }
/// <summary>
/// 船名
/// </summary>
public string? Vessel { get; set; }
/// <summary>
/// 航次
/// </summary>
public string? Voyage { get; set; }
/// <summary>
/// 核算单位
/// </summary>
public string? SaleOrg { get; set; }
/// <summary>
/// 核算单位Id
/// </summary>
public long? SaleOrgId { get; set; }
/// <summary>
/// 经营单位
/// </summary>
public string? Enterprise { get; set; }
/// <summary>
/// 报关单号
/// </summary>
public string? CustomNo { get; set; }
/// <summary>
/// 揽货人
/// </summary>
public string? Sale { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string? BookingNo { get; set; }
/// <summary>
/// 操作员ID
/// </summary>
[IgnoreDataMember]
public long OperatorId { get; set; }
/// <summary>
/// 操作
/// </summary>
public string Operator { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[IgnoreDataMember]
public long CreateBy { get; set; }
/// <summary>
/// 创建人/录入人
/// </summary>
public string CreateByName { get; set; }
/// <summary>
/// 起运港
/// </summary>
public string? LoadPort { get; set; }
/// <summary>
/// 目的港
/// </summary>
public string? DischargePort { get; set; }
/// <summary>
/// 更改单
/// </summary>
public string? ChangeOrder { get; set; }
/// <summary>
/// RMB未付
/// </summary>
public decimal UnpaidRMB { get; set; }
/// <summary>
/// USD未付
/// </summary>
public decimal UnpaidUSD { get; set; }
/// <summary>
/// 其他未付
/// </summary>
public decimal UnpaidOther { get; set; }
/// <summary>
/// RMB未收
/// </summary>
public decimal UnchargedRMB { get; set; }
/// <summary>
/// USD未收
/// </summary>
public decimal UnchargedUSD { get; set; }
/// <summary>
/// 其他未收
/// </summary>
public decimal UnchargedOther { get; set; }
/// <summary>
/// RMB付未开票
/// </summary>
public decimal UnpaidInvoiceRMB { get; set; }
/// <summary>
/// USD付未开票
/// </summary>
public decimal UnpaidInvoiceUSD { get; set; }
}
/// <summary>
/// 按业务分组的费用
/// </summary>
public class FeeDto : SettlementBiz
{
public long Id { get; set; }
/// <summary>
/// 收付类型(收、付) 1应收 2 应付
/// </summary>
public FeeType FeeType { get; set; }
/// <summary>
/// 费用Id
/// </summary>
public long FeeId { get; set; }
/// <summary>
/// 费用代码
/// </summary>
public string FeeCode { get; set; }
/// <summary>
/// 费用名称
/// </summary>
public string FeeName { get; set; }
/// <summary>
/// 币别
/// </summary>
public string Currency { get; set; }
/// <summary>
/// 金额
/// </summary>
public decimal Amount { get; set; }
}
}