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.

294 lines
7.6 KiB
C#

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