create invoice component

This commit is contained in:
zzdrojewskipaw
2025-11-27 23:52:32 +01:00
parent 2b7ed3e451
commit 437d6d8f42
14 changed files with 624 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
namespace BimAI.Application.DTOModels;
public class InvoiceDto
{
public Guid Id { get; set; }
public string DocumentNo { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty;
public DateTime RegisterDate { get; set; }
public DateTime SellDate { get; set; }
public string ClientName { get; set; } = string.Empty;
public string? ClientId { get; set; }
public string? ClientNip { get; set; }
public string? ClientAddress { get; set; }
public string Currency { get; set; } = string.Empty;
public decimal TotalNetto { get; set; }
public decimal TotalBrutto { get; set; }
public decimal TotalVat { get; set; }
public string Source { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}
public class InvoiceFilterRequest
{
public string? Search { get; set; }
public string? DocumentNo { get; set; }
public string? ClientName { get; set; }
public string? Type { get; set; }
public string? Source { get; set; }
public DateTime? RegisterDateFrom { get; set; }
public DateTime? RegisterDateTo { get; set; }
public int Page { get; set; } = 1;
public int PageSize { get; set; } = 20;
}