AuctionProductBid.php 286 B

1234567891011121314151617
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class AuctionProductBid extends Model
  5. {
  6. public function product(){
  7. return $this->belongsTo(Product::class);
  8. }
  9. public function user()
  10. {
  11. return $this->belongsTo(User::class);
  12. }
  13. }