61 lines
1.5 KiB
C#
61 lines
1.5 KiB
C#
using MediatR;
|
|
using TakeoutSaaS.Application.App.Finance.Invoice.Dto;
|
|
|
|
namespace TakeoutSaaS.Application.App.Finance.Invoice.Commands;
|
|
|
|
/// <summary>
|
|
/// 保存发票设置命令。
|
|
/// </summary>
|
|
public sealed class SaveFinanceInvoiceSettingCommand : IRequest<FinanceInvoiceSettingDto>
|
|
{
|
|
/// <summary>
|
|
/// 企业名称。
|
|
/// </summary>
|
|
public string CompanyName { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 纳税人识别号。
|
|
/// </summary>
|
|
public string TaxpayerNumber { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 注册地址。
|
|
/// </summary>
|
|
public string? RegisteredAddress { get; init; }
|
|
|
|
/// <summary>
|
|
/// 注册电话。
|
|
/// </summary>
|
|
public string? RegisteredPhone { get; init; }
|
|
|
|
/// <summary>
|
|
/// 开户银行。
|
|
/// </summary>
|
|
public string? BankName { get; init; }
|
|
|
|
/// <summary>
|
|
/// 银行账号。
|
|
/// </summary>
|
|
public string? BankAccount { get; init; }
|
|
|
|
/// <summary>
|
|
/// 是否启用电子普通发票。
|
|
/// </summary>
|
|
public bool EnableElectronicNormalInvoice { get; init; }
|
|
|
|
/// <summary>
|
|
/// 是否启用电子专用发票。
|
|
/// </summary>
|
|
public bool EnableElectronicSpecialInvoice { get; init; }
|
|
|
|
/// <summary>
|
|
/// 是否启用自动开票。
|
|
/// </summary>
|
|
public bool EnableAutoIssue { get; init; }
|
|
|
|
/// <summary>
|
|
/// 自动开票单张最大金额。
|
|
/// </summary>
|
|
public decimal AutoIssueMaxAmount { get; init; }
|
|
}
|