Files
BimAI/BimAI.Application/DTOModels/InvoiceDto.cs

35 lines
1.2 KiB
C#
Raw Normal View History

2025-11-27 23:52:32 +01:00
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;
}