Files
BimAI/BimAI.Application/DTOModels/InvoiceDto.cs
2025-11-29 17:02:20 +01:00

37 lines
1.3 KiB
C#

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 DateTime? SellDateFrom { get; set; }
public DateTime? SellDateTo { get; set; }
public int Page { get; set; } = 1;
public int PageSize { get; set; } = 20;
}