create invoice component
This commit is contained in:
35
BimAI.Application/DTOModels/InvoiceDto.cs
Normal file
35
BimAI.Application/DTOModels/InvoiceDto.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user