ProductList
This commit is contained in:
22
Bimix.Application/DTOModels/ProductDto.cs
Normal file
22
Bimix.Application/DTOModels/ProductDto.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Bimix.Application.DTOModels;
|
||||
|
||||
public class ProductDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Code { get; set; } = string.Empty;
|
||||
public string Ean { get; set; } = string.Empty;
|
||||
public string StockAddresses { get; set; } = string.Empty;
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
|
||||
public class ProductFilterRequest
|
||||
{
|
||||
public string? Search { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? Code { get; set; }
|
||||
public string? Ean { get; set; }
|
||||
public int Page { get; set; } = 1;
|
||||
public int PageSize { get; set; } = 20;
|
||||
}
|
||||
Reference in New Issue
Block a user