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