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