22 lines
684 B
C#
22 lines
684 B
C#
|
|
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;
|
||
|
|
}
|