Files
w4rpservices/app/Models/Contracts/AcceptedBid.php

31 lines
516 B
PHP

<?php
namespace App\Models\Contracts;
use Illuminate\Database\Eloquent\Model;
class AcceptedBid extends Model
{
// Table Name
public $table = 'accepted_bids';
//Timestamps
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'contract_id',
'bid_id',
'bid_amount',
'notes',
];
public function Contract() {
return $this->belongsTo(Contract::class);
}
}