using DS.Module.Core; using Masuit.Tools.Systems; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Check.Dtos { /// /// 客户对账查询业务对应费用记录 /// public class CheckBillFeeRecordRes { /// /// 主键Id /// public long Id { get; set; } /// /// 业务Id /// public long BusinessId { get; set; } /// /// 收付类型(收、付) 1应收 2 应付 /// public FeeType FeeType { get; set; } public string FeeTypeText { get { return FeeType.GetDescription(); } } /// /// 费用名称 /// public string FeeName { get; set; } /// /// 金额 /// public decimal? Amount { get; set; } /// /// 币别 /// public string Currency { get; set; } /// /// Desc:结算金额 /// public decimal? SettlementAmount { get; set; } = 0; /// /// 单价 /// public decimal? UnitPrice { get; set; } /// /// 汇率 /// public decimal? ExchangeRate { get; set; } /// /// Desc:未结算金额 /// public decimal? NoSettlementAmount { get { return Amount.HasValue ? Amount - SettlementAmount.Value : null; } } /// /// 备注 /// public string Remark { get; set; } /// /// 不含税金额 /// public decimal NoTaxAmount { get; set; } /// /// 对帐编号 /// public string DebitNo { get; set; } /// /// 是否对帐 /// public bool IsDebit { get; set; } = false; } }