primer form de informe listo

This commit is contained in:
fedpo
2024-12-02 20:36:33 +00:00
parent c17323ebe4
commit aeeae3c9b8
8 changed files with 118 additions and 32 deletions

View File

@@ -1,10 +1,26 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades.DTO
{
public record DtoProductoInforme(int Id, string Nombre, int CantidadVendida, int StockRemanente);
public class DtoProductoInforme
{
public int Id { get; set; }
public string Nombre { get; set; }
public int CantidadVendida { get; set; }
public int StockRemanente { get; set; }
public DtoProductoInforme(int Id, string Nombre, int CantidadVendida, int StockRemanente)
{
this.CantidadVendida = CantidadVendida;
this.Id = Id;
this.Nombre = Nombre;
this.StockRemanente = StockRemanente;
}
}
}