line-gestao-api/Dtos/ControleRecebidosDtos.cs

50 lines
1.6 KiB
C#

using System;
namespace line_gestao_api.Dtos
{
public class ControleRecebidoListDto
{
public Guid Id { get; set; }
public int Ano { get; set; }
public int Item { get; set; }
public string? NotaFiscal { get; set; }
public string? Chip { get; set; }
public string? Serial { get; set; }
public string? ConteudoDaNf { get; set; }
public string? NumeroDaLinha { get; set; }
public decimal? ValorUnit { get; set; }
public decimal? ValorDaNf { get; set; }
public DateTime? DataDaNf { get; set; }
public DateTime? DataDoRecebimento { get; set; }
public int? Quantidade { get; set; }
public bool IsResumo { get; set; }
}
public class ControleRecebidoDetailDto : ControleRecebidoListDto
{
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}
public class CreateControleRecebidoDto
{
public int? Ano { get; set; }
public int? Item { get; set; }
public string? NotaFiscal { get; set; }
public string? Chip { get; set; }
public string? Serial { get; set; }
public string? ConteudoDaNf { get; set; }
public string? NumeroDaLinha { get; set; }
public decimal? ValorUnit { get; set; }
public decimal? ValorDaNf { get; set; }
public DateTime? DataDaNf { get; set; }
public DateTime? DataDoRecebimento { get; set; }
public int? Quantidade { get; set; }
public bool? IsResumo { get; set; }
}
public class UpdateControleRecebidoRequest : CreateControleRecebidoDto
{
}
}