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.

136 lines
3.1 KiB
C#

using DS.Module.Core.Extensions;
namespace DS.WMS.Core.Application.Dtos
{
/// <summary>
/// 申请单
/// </summary>
public class ApplicationDto
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 申请单编号
/// </summary>
public string ApplicationNO { get; set; }
/// <summary>
/// 客户名称/结算单位ID
/// </summary>
public long? CustomerId { get; set; }
/// <summary>
/// 客户名称/结算单位
/// </summary>
public string? CustomerName { get; set; }
/// <summary>
/// RMB客户银行ID
/// </summary>
public long? CustomerBankId { get; set; }
/// <summary>
/// RMB银行名称
/// </summary>
public string? CustomerBankName { get; set; }
/// <summary>
/// RMB银行账号
/// </summary>
public string? CustomerAccount { get; set; }
/// <summary>
/// 币别
/// </summary>
public string? Currency { get; set; }
/// <summary>
/// 审核人
/// </summary>
public long? AuditerId { get; set; }
/// <summary>
/// 审核人名称
/// </summary>
public string? AuditerName { get; set; }
/// <summary>
/// 审核时间
/// </summary>
public DateTime? AuditTime { get; set; }
///// <summary>
///// 审核备注
///// </summary>
//public string? AuditRemark { get; set; }
/// <summary>
/// 是否已打印
/// </summary>
public bool IsPrinted { get; set; }
/// <summary>
/// 打印次数
/// </summary>
public int PrintTimes { get; set; }
///// <summary>
///// 打印人
///// </summary>
//public long? PrinterId { get; set; }
///// <summary>
///// 打印人名称
///// </summary>
//public string? PrinterName { get; set; }
///// <summary>
///// 打印时间
///// </summary>
//public DateTime? PrintTime { get; set; }
/// <summary>
/// 驳回原因
/// </summary>
public string? Reason { get; set; }
/// <summary>
/// 所属分部
/// </summary>
public long? SaleDeptId { get; set; }
/// <summary>
/// 所属分部
/// </summary>
public string? SaleDeptName { get; set; }
/// <summary>
/// 是否已开票
/// </summary>
public bool IsInvoiced => !InvoiceNO.IsNullOrEmpty();
/// <summary>
/// 发票号
/// </summary>
public string? InvoiceNO { get; set; }
/// <summary>
/// 发票日期
/// </summary>
public DateTime? InvoiceDate { get; set; }
/// <summary>
/// 开票金额
/// </summary>
public decimal? InvoiceAmount { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Note { get; set; }
}
}