|
|
|
|
using DS.Module.Core.Enums;
|
|
|
|
|
using Masuit.Tools.Systems;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Application.Dtos
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票申请单
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class InvoiceApplicationDto : ApplicationDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public InvoiceApplicationStatus Status { get; set; }
|
|
|
|
|
|
|
|
|
|
public string StatusText => Status.GetDescription();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票抬头
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string InvoiceHeader { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 纳税人识别号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TaxID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 税率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal Rate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 申请金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ApplyAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 剩余金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal RestAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 申请金额大写
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? AmountUppercase { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属机构(公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long? OrgId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户地址电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? CustomerAddTel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public InvoiceCategory Category { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CategoryText => Category.GetDescription();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 代开客户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? AutualCustomerName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 其他币别金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal OtherCurrencyAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发票单据号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? InvoiceBillNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开票币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string InvoiceCurrency { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 金额描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? AmountDesc { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 推送方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public PushMode PushMode { get; set; }
|
|
|
|
|
|
|
|
|
|
public string PushModeText => PushMode.GetDescription();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手机号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? CellPhoneNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Email { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开票备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? InvoiceRemark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long CreateBy { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CreateByName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 申请开票日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ApplyDate => CreateTime.Date;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 原币金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> OriginalAmountList { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<InvoiceApplicationDetailDto> Details { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已审核(仅用于查询)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool? IsAudited { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|