Skip to content

Instantly share code, notes, and snippets.

Created March 6, 2020 20:53
What would you like to do?
namespace App;
use Illuminate\Database\Eloquent\Model;
class Venta extends Model
public function productos()
return $this->hasMany("App\ProductoVendido", "id_venta");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment