public Producto(string nombre, double precio, int categoria, string material, int existencias, int id) { productoDesc = new Descripcion(nombre, precio, categoria, material); productoInv = new Inventario(existencias); this.id = id; }
public Producto(string nombre, double precio, int categoria, string material, int numeroExistencias, int id) { descripcion = new Descripcion(nombre, precio, categoria, material); existencia = new Existencia(numeroExistencias); this.id = id; }