using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Check.Dtos
{
///
/// 客户对账模板打印返回
///
public class CheckBillTemplatePrintRes
{
///
///
///
public long Id { get; set; }
public string BillNo { get; set; }
///
/// 对账单名称
///
public string BillName { get; set; }
///
/// 收付类型(收、付)0 全部 1应收 2 应付
///
public int BillType { get; set; }
///
/// 对账客户Id
///
public long CustomerId { get; set; }
///
/// 对账客户名称 t_info_client CUSTNAME
///
public string CustomerName { get; set; }
///
/// Desc:账单状态 是否锁定
///
public bool? IsLocking { get; set; } = false;
///
/// Desc:是否不含税
///
public bool? IsNoTax { get; set; } = false;
///
/// RMB应收
///
public decimal? RMBDR { get; set; } = 0;
///
/// RMB应付
///
public decimal? RMBCR { get; set; } = 0;
///
/// USD应收
///
public decimal? USDDR { get; set; } = 0;
///
/// USD应付
///
public decimal? USDCR { get; set; } = 0;
///
/// RMB未收
///
public decimal? BALRMBDR { get; set; } = 0;
///
/// RMB未付
///
public decimal? BALRMBCR { get; set; } = 0;
///
/// USD未收
///
public decimal? BALUSDDR { get; set; } = 0;
///
/// USD未付
///
public decimal? BALUSDCR { get; set; } = 0;
///
/// 对账时间
///
public DateTime CreateTime { get; set; }
///
/// 对账人Id
///
public long CreateBy { get; set; }
///
/// 对账人
///
public string CreateByName { get; set; }
///
/// 备注
///
public string Note { get; set; } = "";
///
/// 业务明细列表
///
public List BillBusinessLists { get; set; }
}
public class CheckBillBusinessList {
///
/// 自增Id
///
public int Id { get; set; }
///
/// 对账Id
///
public long CheckId { get; set; }
///
/// 业务Id
///
public long BusinessId { get; set; }
///
/// 业务类型
///
public int BusinessType { get; set; }
///
/// 业务类型
///
public string BusinessTypeName { get; set; }
///
/// 委托编号 可以根据规则生成
///
public string CustomerNo { get; set; }
///
/// 委托单位Id
///
public long CustomerId { get; set; }
///
/// 委托单位 t_info_client CUSTNAME
///
public string CustomerName { get; set; }
///
/// 船名 t_code_vessel
///
public string Vessel { get; set; }
///
/// 船名Id t_code_vessel
///
public long VesselId { get; set; }
///
/// 航次
///
public string Voyno { get; set; }
///
/// 开船日期
///
public DateTime? ETD { get; set; }
///
/// 卸货港
///
public string DischargePort { get; set; }
///
/// 集装箱
///
public string CntrTotal { get; set; }
///
/// 财务日期
///
public string AccountDate { get; set; }
///
/// Desc:报关单号
///
public string CustomNo { get; set; }
///
/// 销售人
///
public string SaleName { get; set; }
///
/// 操作人员
///
public string OperatorName { get; set; }
///
/// Desc:订舱编号
///
public string OrderNo { get; set; }
///
/// 主提单号
///
public string MBLNO { get; set; }
///
/// 分提单号
///
public string HBLNO { get; set; }
///
/// Desc:服务合同号
///
public string ServiceContractNo { get; set; }
///
/// RMB应收
///
public decimal RMBDR { get; set; }
///
/// RMB应付
///
public decimal RMBCR { get; set; }
///
/// RMB未收
///
public decimal BALRMBDR { get; set; }
///
/// RMB未付
///
public decimal BALRMBCR { get; set; }
///
/// USD应收
///
public decimal USDDR { get; set; }
///
/// USD应付
///
public decimal USDCR { get; set; }
///
/// USD未收
///
public decimal BALUSDDR { get; set; }
///
/// USD未付
///
public decimal BALUSDCR { get; set; }
///
/// 其他应收
///
public decimal OtherDR { get; set; }
///
/// 其他应付
///
public decimal OtherCR { get; set; }
///
/// 其他未收
///
public decimal BALOtherDR { get; set; }
///
/// 其他未付
///
public decimal BALOtherCR { get; set; }
///
/// TTL应收
///
public decimal TTLDR { get; set; }
///
/// TTL应付
///
public decimal TTLCR { get; set; }
///
/// TTL未收
///
public decimal BALTTLDR { get; set; }
///
/// TTL未付
///
public decimal BALTTLCR { get; set; }
///
/// 开票RMB应收
///
public decimal OrderInvoiceRMBDR { get; set; }
///
/// 开票USD应收
///
public decimal OrderInvoiceUSDDR { get; set; }
///
/// 订单金额RMB应付
///
public decimal OrderAmountRMBCR { get; set; }
///
/// 订单金额USD应付
///
public decimal OrderAmountUSDCR { get; set; }
}
}