public ProductoGenerico(string id, string nombre, string descripcion, string color, double precio, double stockActual, TipoProductoG tipo, UnidadDeMedida unidad, int activo) { this.id = id; this.nombre = nombre; this.descripcion = descripcion; this.color = color; this.precio = precio; this.stockActual = stockActual; this.tipo = tipo; this.unidad = unidad; Activo = activo; }
public Producto(string id, string nombre, string descripcion, string color, double precio, double stockActual, TipoProductoG tipo, UnidadDeMedida unidad, int activo, char talla) : base(id, nombre, descripcion, color, precio, stockActual, tipo, unidad, activo) { this.talla = talla; }